﻿// JScript File
<!-- Begin POP-UP SIZES AND OPTIONS CODE


// ONLY USE lowercase FOR ALL OPTIONS


// CHANGE ANY OF THESE VARIABLES FOR THE GALLERY IMAGE VIEWING

var close_button 	= "yes"		// CLOSE BUTTON yes/no
var border_color	= "000000"	// PICTURE OUTLINE COLOR
var background_color	= "FFFFFF"	// VIEWER BACKGROUND COLOR
var viewer	 	= "no"		// yes/FULL SCREEN OR no/POPUP MODE



// THESE OPTIONS DO NOT WORK IN FULL SCREEN MODE
var view_width 		= 250		// GALLERY POPUP WIDTH
var view_height 	= 250		// GALLERY POPUP HEIGHT


// YOU DO NOT NEED TO EDIT BELOW THIS LINE

// COPYRIGHT 2004 © Allwebco Design Corporation
// Unauthorized use or sale of this script is strictly prohibited by law

// START IMAGE VIEWER CODE

function popPlayer(URL) {
   if (viewer == "no") {
var look='toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width='+view_width+',height='+view_height+','
popwin=window.open("","",look)
}
else 
if (viewer == "yes") {
popwin=window.open("","")
}
popwin.document.open()
popwin.document.write('<html><head><title>Media Player</title>')
popwin.document.write('<link rel=StyleSheet href="coolstyle.css" type="text/css" media="screen">')
popwin.document.write('</head>')
popwin.document.write('<body bgcolor="#'+background_color+'" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginheight="0" marginwidth="0">')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" height="100%"><tr><td align="center">')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="1" bordercolor="#' + border_color + '" style="border-collapse: collapse"><tr><td>')
popwin.document.write('<object id="mediaPlayer" height="250" width="250"') 
popwin.document.write('classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"') 
popwin.document.write('visible="true">')
popwin.document.write('<param name="fileName" value="'+URL+'"/>')
popwin.document.write('<param name="quality" value="high"/>')
popwin.document.write('<param name="autoStart" value="false"/>')
popwin.document.write('<param name="showControls" value="1"/>')
popwin.document.write('</object>')
popwin.document.write('</td></tr></table>')
popwin.document.write('<br>')
popwin.document.write("<div id=\"ZOOM\">");
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="0"><tr><td>')

if (close_button == "yes") {
popwin.document.write('</td><td>')
popwin.document.write('<form style="margin: 0px"><input type="button" value="Close" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups" onClick=\'self.close()\'>&nbsp;</form>')
}
   

   
popwin.document.write('</td></tr></table>')
popwin.document.write("</div>");

popwin.document.write('</td></tr></table>')
popwin.document.write('</body></html>')
popwin.document.close()
}






// START FAQ POPUP


function popUpFAQ(URL) {
day = new Date();
id = day.getTime();

   if (viewer == "no") {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width='+FAQ_width+',height='+FAQ_height+'');");
}
else 
if (viewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}








//  End -->
