<!--
//browser detect
isNav=false;
isW3C=false;
isExp=false;
isOpera=false;
isNOT=false;
isMac=false;
// browser detection
browser=navigator.appName;
version=navigator.appVersion;
Vmajor=parseInt(navigator.appVersion);
Vminor=parseFloat(navigator.appVersion);

if (browser=="Netscape") {
	if (Vmajor==4)
	{
		isNav=true; pre='layers.'; suf='';
		window.captureEvents(Event.RESIZE);	// handle the resize bug on NN
	}
	else if (Vmajor==5)	isW3C=true;
	else isNOT=true;
}
else if (browser=="Microsoft Internet Explorer") {
	
	if ( version.indexOf('MSIE 5.0; Macintosh;') != -1 )  {
		isExp=true;
		pre='all.';
		suf='.style';
	}
	// IE 4 to 5.5 return 4 as the version
	else if ( (Vmajor==4) ) {
		isExp=true;
		pre='all.';
		suf='.style';
	}
	else isNOT=true;
}
else if (browser=="Opera") {
	if (Vmajor==4) isOpera=true;
	else isNOT=true;
}

if (version.indexOf('Mac') != -1) isMac=true;

if (isNav) {
	document.captureEvents(Event.RESIZE);
	window.onresize=resizeH;
}
// swap image
function swapImage(imgName,theSrc,theLayer) {
	if (!theLayer) theLayer=''; else theLayer+='document.';
	// the above takes care of layers in NN 4, unused in IE
	if (isNav) {
		eval("document." +theLayer+ "images."+imgName+".src='"+theSrc+"'");
	} else {
		eval("document.images."+imgName+".src='"+theSrc+"'");
	}
}
//centered pop up window
function popWinC(URL,name,w,h){
	var winPosX = (screen.width - w)*0.5;
	var winPosY = 0;
	props = 'height='+h+',width='+w+',top='+winPosY+',left='+winPosX;
	var popUp=window.open(URL,name,props);
	popUp.focus();
}
// preload images array
var imageArray=new Array()
function loadImages(){
	for (i=0;i<loadImages.arguments.length;i++){
	imageArray[i]=new Image()
	imagesArray[i].src=loadImages.arguments[i]
	}
}
// example of code within head of page 
//loadImages('images/menu/clc/about_0.gif','images/menu/clc/clc_info_0.gif')















//-->