var agt		= navigator.userAgent.toLowerCase();
var versInt	= parseInt(navigator.appVersion);
var is_aol	= (agt.indexOf("aol") != -1);



     function img_on(imgName) {
         if (nbrowser){
		imgOn = eval(imgName + "on.src"); document [imgName].src = imgOn;return true;
          }}	 

     function img_off(imgName) {
         if (nbrowser){
		imgOff = eval(imgName + "off.src"); document [imgName].src = imgOff; return true;
          }}


function colsb_goTo( url ) {
	window.location.href = url;
}


function scalePane(myLink,windowName,width,openerUrl)
{
if(! window.focus)return;

var x=0;
var y=20;
var height=530;



	if (navigator.appVersion.length > 0 && navigator.appVersion.charAt(0) > '3' && navigator.appVersion.charAt(0) <= '9') {
		height = (screen.height - 110);
		x = 15;
		if (screen.width < width){
			width = screen.width - 20;
			x = 0;
		}	
	}

var newparams =  "status=0,scrollbars=1,resizable=1,toolbar=no,menubar=no,width=" + width + ",height=" + height + ",screenX=" + y + ",top=" + y + ",screenY=" + x + ",left=" + x ;
		var host = location.hostname;
	var popupWin = window.open( myLink, windowName, newparams );
	
	if ( popupWin && popupWin.opener ) {
		if ( openerUrl )
		{
			popupWin.opener.location = openerUrl;
			popupWin.focus();
		}
		popupWin.opener.top.name = "opener";
	}


}

function openWindow(myLink,windowName,width, height,openerUrl)
	{
	if(! window.focus)return;
	var newparams =  "status=0,scrollbars=no,resizable=1,toolbar=no,menubar=no,width=" + width + ",height=" + height;
		var host = location.hostname;
	var popupWin = window.open( myLink, windowName, newparams );
	
	if ( popupWin && popupWin.opener ) {
		if ( openerUrl )
		{
			popupWin.opener.location = openerUrl;
			popupWin.focus();
		}
		popupWin.opener.top.name = "opener";
	}
}




// used to open popup windows from the dateline
function colsb_openMap( location )
{
	colsb_openPopup( location, '620x430', "width=620,height=430,scrollbars=no,resizable=no" );
}


// this is for opening pop-up windows
function colsb_openPopup( url, name, widgets, openerUrl )
{
	var host = location.hostname;
	var popupWin = window.open( url, name, widgets );
	
	if ( popupWin && popupWin.opener ) {
		if ( openerUrl )
		{
			popupWin.opener.location = openerUrl;
			popupWin.focus();
		}
		popupWin.opener.top.name = "opener";
	}
}




// end

/*************************************************************************
  This code is from Dynamic Web Coding at dyn- web.com
  Copyright 2003-5 by Sharon Paine 
  See Terms of Use at /ww w.dyn- web.com/bus/terms.html
  regarding conditions under which you may use this code.
  This notice must be retained in the code as is!
*************************************************************************/

function doTooltip(e, msg) {
  if ( typeof Tooltip == "undefined" || !Tooltip.ready ) return;
  Tooltip.show(e, msg);
}

function hideTip() {
  if ( typeof Tooltip == "undefined" || !Tooltip.ready ) return;
  Tooltip.hide();
}



