/* Function List */// newWindow(theURL,winName,features)// makeNewWindow(URL,winname,features)//od_displayImage(strId,strPath,intWidth,intHeight,strClass,strAlt)//setimage(name, source)//Navigo()//NavigoNew()//writeFlashVersionDetect(flashName,flashSource,imgSource,w,h,v,vars)//adjustLayout(elementID,idHeight,imgpath,imgname)/* start.New Window Functions */// Current Methodfunction newWindow(theURL,winName,features) {  window.open(theURL,winName,features);}// Blueprint Methodvar newWindow = nullfunction makeNewWindow(URL,winname,features) {	// window already exists, so bring it forward	newWindow = window.open(URL,"winname",features);	newWindow.focus()}/* end.New Window Functions *//* start.Detect Browser */function BrowserDetectLite() {	var ua = navigator.userAgent.toLowerCase(); 	this.ua = ua;	this.isGecko     = (ua.indexOf('gecko') != -1);	this.isMozilla   = (this.isGecko && ua.indexOf("gecko/") + 14 == ua.length);	this.isNS        = ( (this.isGecko) ? (ua.indexOf('netscape') != -1) : ( (ua.indexOf('mozilla') != -1) && (ua.indexOf('spoofer') == -1) && (ua.indexOf('compatible') == -1) && (ua.indexOf('opera') == -1) && (ua.indexOf('webtv') == -1) && (ua.indexOf('hotjava') == -1) ) );	this.isIE        = ( (ua.indexOf("msie") != -1) && (ua.indexOf("opera") == -1) && (ua.indexOf("webtv") == -1) ); 	this.isOpera     = (ua.indexOf("opera") != -1); 	this.isKonqueror = (ua.indexOf("konqueror") != -1); 	this.isIcab      = (ua.indexOf("icab") != -1); 	this.isAol       = (ua.indexOf("aol") != -1); 	this.isWebtv     = (ua.indexOf("webtv") != -1); 	this.isOmniweb   = (ua.indexOf("omniweb") != -1);	this.isDreamcast   = (ua.indexOf("dreamcast") != -1);	this.isIECompatible = ( (ua.indexOf("msie") != -1) && !this.isIE);	this.isNSCompatible = ( (ua.indexOf("mozilla") != -1) && !this.isNS && !this.isMozilla);	this.versionMinor = parseFloat(navigator.appVersion); 	if (this.isNS && this.isGecko) { this.versionMinor = parseFloat( ua.substring( ua.lastIndexOf('/') + 1 ) ); }	else if (this.isIE && this.versionMinor >= 4) { this.versionMinor = parseFloat( ua.substring( ua.indexOf('msie ') + 5 ) ); }	else if (this.isOpera) { if (ua.indexOf('opera/') != -1) { this.versionMinor = parseFloat( ua.substring( ua.indexOf('opera/') + 6 ) ); } else { this.versionMinor = parseFloat( ua.substring( ua.indexOf('opera ') + 6 ) ); } }	else if (this.isKonqueror) { this.versionMinor = parseFloat( ua.substring( ua.indexOf('konqueror/') + 10 ) ); }	else if (this.isIcab) { if (ua.indexOf('icab/') != -1) { this.versionMinor = parseFloat( ua.substring( ua.indexOf('icab/') + 6 ) ); } else { this.versionMinor = parseFloat( ua.substring( ua.indexOf('icab ') + 6 ) ); } }	else if (this.isWebtv) { this.versionMinor = parseFloat( ua.substring( ua.indexOf('webtv/') + 6 ) ); }	this.versionMajor = parseInt(this.versionMinor); 	this.geckoVersion = ( (this.isGecko) ? ua.substring( (ua.lastIndexOf('gecko/') + 6), (ua.lastIndexOf('gecko/') + 14) ) : -1 );	this.isWin   = (ua.indexOf('win') != -1);	this.isWin32 = (this.isWin && ( ua.indexOf('95') != -1 || ua.indexOf('98') != -1 || ua.indexOf('nt') != -1 || ua.indexOf('win32') != -1 || ua.indexOf('32bit') != -1) );	this.isMac   = (ua.indexOf('mac') != -1);	this.isUnix  = (ua.indexOf('unix') != -1 || ua.indexOf('linux') != -1 || ua.indexOf('sunos') != -1 || ua.indexOf('bsd') != -1 || ua.indexOf('x11') != -1)	this.isNS4x = (this.isNS && this.versionMajor == 4);	this.isNS40x = (this.isNS4x && this.versionMinor < 4.5);	this.isNS47x = (this.isNS4x && this.versionMinor >= 4.7);	this.isNS4up = (this.isNS && this.versionMinor >= 4);	this.isNS6x = (this.isNS && this.versionMajor == 6);	this.isNS6up = (this.isNS && this.versionMajor >= 6);	this.isIE4x = (this.isIE && this.versionMajor == 4);	this.isIE4up = (this.isIE && this.versionMajor >= 4);	this.isIE5x = (this.isIE && this.versionMajor == 5);	this.isIE55 = (this.isIE && this.versionMinor == 5.5);	this.isIE5up = (this.isIE && this.versionMajor >= 5);	this.isIE6x = (this.isIE && this.versionMajor == 6);	this.isIE6up = (this.isIE && this.versionMajor >= 6);	this.isIE4xMac = (this.isIE4x && this.isMac);}var browser = new BrowserDetectLite();/* end.Detect Browser *//* start.Display PNG */function OpacityObject(divId, strPath) {	this.id = divId;	this.path = strPath;	if (ns){ if (browserVersion>=5) { this.layerObject = document.getElementById(divId).style; } else {  this.layerObject = eval("document."+divId); } }	else { this.layerObject = eval(divId + ".style"); }	this.setBackground = od_object_setBackground;}function od_object_setBackground() {		if (pngAlpha) { this.layerObject.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+this.path+".png', sizingMethod='scale')"; }	else if (pngNormal) { this.layerObject.backgroundImage = 'url('+this.path+'.png)'; }	else { this.layerObject.backgroundImage = 'url('+this.path+'.gif)'; }}function od_displayImage(strId, strPath, intWidth, intHeight, strClass, strAlt) {		if (pngAlpha) {		document.write('<div style="height:'+intHeight+'px;width:'+intWidth+'px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\''+strPath+'.png\', sizingMethod=\'scale\')" id="'+strId+'" class="'+strClass+'"></div>');	} else if (pngNormal) {		document.write('<img src="'+strPath+'.png" width="'+intWidth+'" height="'+intHeight+'" name="'+strId+'" border="0" class="'+strClass+'" alt="'+strAlt+'" />');	} else {		document.write('<img src="'+strPath+'.gif" width="'+intWidth+'" height="'+intHeight+'" name="'+strId+'" border="0" class="'+strClass+'" alt="'+strAlt+'" />');	}}if ((browser.isIE55 || browser.isIE6up) && browser.isWin32) {	var pngAlpha = true;	var strExt = ".png";} else if ((browser.isGecko) || (browser.isIE5up && browser.isMac) || (browser.isOpera && browser.isWin && browser.versionMajor >= 6) || (browser.isOpera && browser.isUnix && browser.versionMajor >= 6) || (browser.isOpera && browser.isMac && browser.versionMajor >= 5) || (browser.isOmniweb && browser.versionMinor >= 3.1) || (browser.isIcab && browser.versionMinor >= 1.9) || (browser.isWebtv) || (browser.isDreamcast)) {	var pngNormal = true;	var strExt = ".png";} else {	var strExt = ".gif";}var ns = (document.all)?false:true;var browserVersion = parseFloat(navigator.appVersion );/* start.Rollover Script */function setimage(name, source){document.images[name].src = source; return true;}/* end.Rollover Script *//* start.Pulldown Navigation */// Same Windowfunction Navigo() {	var popup = eval("document.NavigotronForm.elements['Navigotron']");	var dest  = popup[popup.selectedIndex].value;	if (dest == '') popup.selectedIndex = 0;	else window.open(dest, '_top');}// New Windowfunction NavigoNew() {	var popup = eval("document.NavigotronForm.elements['Navigotron']");	var dest  = popup[popup.selectedIndex].value;	if (dest == '') popup.selectedIndex = 0;	else window.open(dest, '_blank');}/* end.Pulldown Navigation *//* start.Flash */function flashINIT(v){	MM_FlashCanPlay = 0;	MM_contentVersion = v;	var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;	if ( plugin ) {			var words = navigator.plugins["Shockwave Flash"].description.split(" ");			for (var i = 0; i < words.length; ++i)			{			if (isNaN(parseInt(words[i])))			continue;			var MM_PluginVersion = words[i]; 			}		MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;	}	else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.appVersion.indexOf("Win") != -1)) {		document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag		document.write('on error resume next \n');		document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');		document.write('</SCR' + 'IPT\> \n');	}}function writeFlashVersionDetect(flashName,flashSource,imgSource,w,h,v,vars){  flashINIT(v);  if (MM_FlashCanPlay)   {    writeFlash(flashName,flashSource,imgSource,w,h,v,vars);  }else{	document.write('<a href="http://www.macromedia.com/go/getflashplayer" target="_blank"><img src="'+ imgSource +'" width="'+ w +'" height="'+ h +'" border=0></a>');  }}function writeFlash(flashName,flashSource,imgSource,w,h,v,vars)//straight flash write no detection{		document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');		document.write('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+ v +',0,0,0" ');		document.write(' ID="'+ flashName +'" WIDTH="'+ w +'" HEIGHT="'+ h +'" ALIGN="">');		document.write(' <PARAM NAME=movie VALUE="'+ flashSource +'?'+ vars +'"> <PARAM NAME=quality VALUE=high><PARAM NAME=menu VALUE=false'); 		document.write(' <EMBED src="'+ flashSource +'?'+ vars +'" quality=high menu="false" ');		document.write(' swLiveConnect=FALSE WIDTH="'+ w +'" HEIGHT="'+ h +'" NAME="'+ flashName +'" ALIGN=""');		document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');		document.write(' </EMBED>');		document.write(' </OBJECT>');}/* end.Flash *//* start.Show or Hide Image By Layout Height */function publishImageByHeight(elementID,idHeight,imgpath,imgname) {	var layerHeight = document.getElementById(elementID).offsetHeight;	if (layerHeight >= idHeight) { setimage(imgname,imgpath); }	else {  }}/* end.Show or Hide Image By Layout Height */
