//CACHE IMAGES
	//'on' images
	outline_on = new Image();
	outline_on.src = "index_bin/images/1102_home_outline_on.gif";
	about_on = new Image();
	about_on.src = "index_bin/images/1102_home_about_on.gif";
	index_on = new Image();
	index_on.src = "index_bin/images/1102_home_index_on.gif";
	credits_on = new Image();
	credits_on.src = "index_bin/images/1102_home_credits_on.gif";
	help_on = new Image();
	help_on.src = "index_bin/images/1102_home_help_on.gif";
	fdback_on = new Image();
	fdback_on.src = "index_bin/images/1102_home_fdback_on.gif";
	transc_on = new Image();
	transc_on.src = "index_bin/images/1102_home_transc_on.gif";
	glossary_on = new Image();
	glossary_on.src = "index_bin/images/1102_home_glossary_on.gif";
	decision_on = new Image();
	decision_on.src = "index_bin/images/1102_home_decision_on.gif";
	procedure_on = new Image();
	procedure_on.src = "index_bin/images/1102_home_procedure_on.gif";
	//'off' images
	outline_off = new Image();
	outline_off.src = "index_bin/images/1102_home_outline_off.gif";
	about_off = new Image();
	about_off.src = "index_bin/images/1102_home_about_off.gif";	
	index_off = new Image();
	index_off.src = "index_bin/images/1102_home_index_off.gif";
	credits_off = new Image();
	credits_off.src = "index_bin/images/1102_home_credits_off.gif";
	help_off = new Image();
	help_off.src = "index_bin/images/1102_home_help_off.gif";
	fdback_off = new Image();
	fdback_off.src = "index_bin/images/1102_home_fdback_off.gif";
	transc_off = new Image();
	transc_off.src = "index_bin/images/1102_home_transc_off.gif";
	glossary_off = new Image();
	glossary_off.src = "index_bin/images/1102_home_glossary_off.gif";
	decision_off = new Image();
	decision_off.src = "index_bin/images/1102_home_decision_off.gif";
	procedure_off = new Image();
	procedure_off.src = "index_bin/images/1102_home_procedure_off.gif";

//ROLLOVER FUNCTION
function chgImg(imgField,newImg) {
	if(document.images) {
		document[imgField].src=eval(newImg+".src")
	}
}
//END FUNCTION

//FUNCTION FOR GLOSSARY POPUP WINDOW FROM HOMEPAGE
function openTrans1(name){
	topWin = (screen.availHeight - 400) / 2;
	leftWin = (screen.availWidth - 440) / 2;
	props = "status=no,width=425,height=400,top="+topWin+",screenY="+topWin+",left="+leftWin+",screenX="+leftWin+",resizable=yes";
	anc = name;
	trans2 = open("web/main/1102_glossary_frameset.html","trans2",props);
	trans2.focus();
	firstT = 1;
}

// FUNCTION FOR TEST PLUGIN POPUP WINDOW
function testPopUp(url){
	var testWin = window.open(url, "test", "width=450,height=350,resizable=no");
	testWin.focus();
}

// FUNCTION FOR COOKIE POPUP WINDOW
function cookiePopUp(url){
	var cookieWin = window.open(url, "cookieWin", "width=450,height=200,resizable=no");
	cookieWin.focus();
}

// FUNCTION FOR NS6 POPUP WINDOW
function ns6PopUp(url){
	var ns6Win = window.open(url, "ns6Win", "width=450,height=200,resizable=no");
	ns6Win.focus();
}

//GENERAL POPUP FUNCTION
function openWin(url,winName,w,h){
	var topWin = (screen.availHeight - h) / 2;
	var leftWin = (screen.availWidth - w) / 2;
	var props = "status=no,width="+w+",height="+h+",top="+topWin+",screenY="+topWin+",left="+leftWin+",screenX="+leftWin+",resizable=no,scrollbars=yes";
	var toolWin = window.open(url,winName,props);
	toolWin.focus();
}

//BEGIN STYLEWRITER
if(navigator.userAgent.indexOf("MSIE 5.5") != -1){
	document.write('<link rel="stylesheet" href="'+baseDir+'css/ie.css">');
}
else if(navigator.userAgent.indexOf("MSIE 5") != -1){
	document.write('<link rel="stylesheet" href="'+baseDir+'css/ie.css">');
}
else if(navigator.platform.indexOf("Mac") != -1 && navigator.userAgent.indexOf("MSIE 4") != -1){
	document.write('<link rel="stylesheet" href="'+baseDir+'css/ie_45.css">');
}
else if(navigator.platform.indexOf("Mac") != -1 && navigator.appName.indexOf("Netscape") != -1){
	document.write('<link rel="stylesheet" href="'+baseDir+'css/mac_ns.css">');
}
else if(navigator.appName.indexOf("Netscape") != -1){
	document.write('<link rel="stylesheet" href="'+baseDir+'css/ns.css">');
}
else{
	document.write('<link rel="stylesheet" href="'+baseDir+'css/ie.css">')
}
//END STYLEWRITER

//FUNCTION FOR EXTERNAL LINKS
var frameWrite = '';
function frameWriter(bottomFrame){	
	frameWrite = '';
	
	frameWrite += "<html><head>"
	frameWrite += "<script language='JavaScript'>"
	frameWrite += "var bottomUrl = '"+bottomFrame+"'"
	frameWrite += "<\/script>"
	frameWrite += "</head>"
	frameWrite += "<frameset rows=\"57,*\" framespacing=\"0\" frameborder=\"0\" border=\"0\">"
	frameWrite +=    "<frame name=\"top\" marginwidth=\"10\" marginheight=\"10\" src=\"top_frame.html\" scrolling=\"no\" framespacing=\"0\" frameborder=\"0\" border=\"0\">"
	frameWrite +=    "<frame name=\"bottom\" marginwidth=\"10\" marginheight=\"10\" src=\""+bottomFrame+"\" scrolling=\"auto\" framespacing=\"0\" frameborder=\"0\" border=\"0\">"
	frameWrite +=   "</frameset>"
	frameWrite += "</html>"
}

var bottomFrameLocation = '';

function goHere(bottomLoc){
	frameWriter(bottomLoc);
	framePage = ''+baseDir+'frame.html';
	var frmWnd = window.open(framePage, '_blank', "statusbar,status,menubar,titlebar,toolbar,location,width=760,height=400,resizable=yes,scrollbars=yes");
	frmWnd.focus();
}

//FUNCTION TO PRINT PAGE	
function printit() {
if (window.print)
 window.print();
else {
 if (navigator.platform.indexOf('Mac') != -1)
alert('This function does not work in your browser! \n Please select the Print option from the File menu.');
else if (navigator.platform.indexOf('Win') != -1)
alert('This function does not work in your browser! \n Please right click on your mouse and select the Print option.');
else alert('This function does not work in your browser!');
 }
}
// END FUNCTION TO PRINT PAGE
