<!--
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}
function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}
var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		i200_over = newImage("img/nav/200-over.gif");
		i300_over = newImage("img/nav/300-over.gif");
    i400_over = newImage("img/nav/400-over.gif");
    i500_over = newImage("img/nav/500-over.gif");
		preloadFlag = true;
	}
}
function write_flash(src,w,h) {
  document.write("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\" align=\"middle\" height=\""+h+"\" width=\""+w+"\">");
  document.write("<param name=\"allowScriptAccess\" value=\"sameDomain\">");
  document.write("<param name=\"movie\" value=\""+src+"\">");
  document.write("<param name=\"quality\" value=\"high\">");
  document.write("<param name=\"bgcolor\" value=\"#EADABA\">");
  document.write("<embed src=\""+src+"\" quality=\"high\" bgcolor=\"#EADABA\" name=\"home_demo\" allowscriptaccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" align=\"middle\" height=\""+h+"\" width=\""+w+"\">");
  document.write("</object>");
}
function popUp(strURL,strType,strHeight,strWidth) {
  var strOptions="";
  if (strType=="console") strOptions="resizable,height="+strHeight+",width="+strWidth;
  if (strType=="fixed") strOptions="status,height="+strHeight+",width="+strWidth;
  if (strType=="elastic") strOptions="toolbar,menubar,scrollbars,resizable,location,height="+strHeight+",width="+strWidth;
  window.open(strURL, 'newWin', strOptions);
}
function toggle(obj) {
	var el = document.getElementById(obj);
	if ( el.style.display != 'none' ) {
		el.style.display = 'none';
	}
	else {
		el.style.display = '';
	}
}
//-->
