function highlightaddbtnbg(newcolor) {
	if(document.layers){
		//thisbrowser="NN4";
		document.addbtnbg.bgColor=newcolor;
	}
	if(document.all){
		//thisbrowser="ie"
		document.all.addbtnbg.style.backgroundColor=newcolor;
	}
	if(!document.all && document.getElementById){
		//thisbrowser="NN6";
		document.getElementById("addbtnbg").style.backgroundColor=newcolor;
	}
}

function LinkOver(obj) {
	 obj.style.color = '#00CC00';
	 obj.style.textDecoration = 'none';
}

function LinkOut(obj) {
     obj.style.color = '#330066';
	 obj.style.textDecoration = 'underline';
}
function FooterLinkOver(obj) {
	 obj.style.color = '#000000';
	 obj.style.textDecoration = 'none';
}

function FooterLinkOut(obj) {
     obj.style.color = '#666666';
	 obj.style.textDecoration = 'underline';
}

function open_win(what_link) {
	open_win_named(what_link,"DisplayWindow");
}


function open_win_named(what_link,win_name){ 
var the_url = "http://localhost"
var the_x = 500;
var the_y = 600;
the_x -= 0;
the_y -= 0;
var how_wide = screen.availWidth;
var how_high = screen.availHeight;
if(what_link != ""){the_url=what_link;}
var the_toolbar = "no";
var the_addressbar = "no";
var the_directories = "no";
var the_statusbar = "no";
var the_menubar = "no";
var the_scrollbars = "yes";
var the_do_resize =  "yes";
var the_copy_history = "no";
top_pos = 0;
left_pos = 0;
if (window.outerWidth ){
var option = "toolbar="+the_toolbar+",location="+the_addressbar+",directories="+the_directories+",status="+the_statusbar+",menubar="+the_menubar+",scrollbars="+the_scrollbars+",resizable="+the_do_resize+",outerWidth="+the_x+",outerHeight="+the_y+",copyhistory="+the_copy_history+",left="+left_pos+",top="+top_pos;
site=open(the_url, win_name, option);
var Opera = (navigator.userAgent.indexOf('Opera') != -1);
if(Opera){
site.resizeTo(the_x,the_y);
site.moveTo(0,0);
}
}
else
{
var option = "toolbar="+the_toolbar+",location="+the_addressbar+",directories="+the_directories+",status="+the_statusbar+",menubar="+the_menubar+",scrollbars="+the_scrollbars+",resizable="+the_do_resize+",Width="+the_x+",Height="+the_y+",copyhistory="+the_copy_history+",left="+left_pos+",top="+top_pos;
site=open('', win_name, option);
site.location=the_url;
if(site.open){site.focus();return false;}
site.resizeTo(the_x,the_y);
}
} 

