<!--

	/*This function will assign the corresponding style sheet to our document */

	

	if ((navigator.appName.indexOf("Microsoft") != -1) || ((navigator.appName.indexOf("Netscape") != -1) && (parseInt(navigator.appVersion.substring(navigator.appVersion.indexOf(".")-1)) > 4)) || ((navigator.appName.indexOf("Netscape") != -1) && (navigator.appVersion.indexOf("Mac") != -1) && (parseInt(navigator.appVersion.substring(navigator.appVersion.indexOf(".")-1)) > 3)  ))

  		{

    		document.write('<link rel="stylesheet" type="text/css" href="/scripts/style.css">');

  		} 

	else 

  		{

   			document.write('<link rel="stylesheet" type="text/css" href="/scripts/style-netscape.css">');

  		}

	



	/* This function should be used for all image rollover effects */



	function changeImage(imageName,newImageSource) {

		if (document.images) {

			document.images[imageName].src = newImageSource;

		}

	}

	

	/* This function is used when you want to have browsers that do not 

	have flash player installed write an image file instead */

	

	function writeFlashOrImage(FlashName,ImageName,Width,Height,Alt,FlashVersion) {

		// first, write the opening object tag  

	

		strObjectTag = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';

		strObjectTag = strObjectTag + ' width="' + Width + '" height="' + Height + '" ';

		strObjectTag = strObjectTag + 'codebase="http://active.macromedia.com/flash5/cabs/swflash.cab#version=';

		strObjectTag = strObjectTag + FlashVersion + '">';

		strMovieParam = '<param name="movie" value="' + FlashName + '">';

		document.write(strObjectTag);

		document.write(strMovieParam);

		document.write('<param name=\"play\" value=\"true\">');

		document.write('<param name=\"loop\" value=\"true\">');

		document.write('<param name=\"quality\" value=\"high\">');

	

		// if the Flash Plug-in is installed and a browser than user plug-ins is the browser, write an embed tag

		plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;

			strImageTag = '<image src="' + ImageName + '" width="' + Width + '" height="' + Height + '" ';

			strImageTag = strImageTag + ' border="0" alt="' + Alt + '">';

		if ( plugin && parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 4 )

			{

			strEmbedTag = '<embed src="' + FlashName + '" width="' + Width + '" height="' + Height + '" ';

			strEmbedTag = strEmbedTag + 'play="true" loop="true" quality="high" ';

			strEmbedTag = strEmbedTag + 'pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">';

			document.write(strEmbedTag);

			document.write('</embed>');

			}

		// otherwise, then write an image tag.

		else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0)){

			document.write(strImageTag);

			}

		

		//finally, write the closing object tag

		document.write('</object>');

	}

	

	/* Use this function to open new windows in a browser */

	

	function openNewWindow(URL,windowName,optionList) {

		/* Opens a new window based on following parameters

			URL: A full URL to the site or file you wish to open

			windowName: The name of the Window that JS assigns when creating

			optionList: (Optional)--list of options for the pop-up window

		*/

		optionListValue = optionList;

		// Assign a Default Set of Parameters if the optionList does not exist

		if ((optionListValue == '') || (optionList == null)) {

			optionListValue = 'scrollbars,location,menubar,toolbar,resizable,status,locationbar';

		}

		winOpener = window.open(URL,windowName,optionListValue);

		winOpener.focus();

	}

	

	function loadTopFrame(URL) {

		top.document.location = URL

	}



	function popupWindow(URL,windowName,optionList) {

		/* Opens a new window based on following parameters

			URL: A full URL to the site or file you wish to open

			windowName: The name of the Window that JS assigns when creating

			optionList: (Optional)--list of options for the pop-up window

		*/

		optionListValue = optionList;

		// Assign a Default Set of Parameters if the optionList does not exist

		if ((optionListValue == '') || (optionList == null)) {

			optionListValue = 'height=300,width=270,scrollbars,location=no,menubar,toolbar=no,resizable=no,status=no,locationbar=no';

		}

		winOpener = window.open(URL,windowName,optionListValue);

		winOpener.focus();

	}

	

	function loadTopFrame(URL) {

		top.document.location = URL

	}

	

//-->


