﻿<!-- Begin POP-UP SIZES AND OPTIONS CODE


// ONLY USE lowercase FOR ALL OPTIONS


// CHANGE ANY OF THESE VARIABLES TO "no" OR "yes" TO TURN AN OPTION OFF OR ON


var close_button 	= "yes"		// GALLERY CLOSE BUTTON ON/OFF
right_click_on		= "no"		// RIGHT CLICK PROTECTION ON


// OTHER OPTIONS YOU CAN CHANGE


border_color		= "000000"	// PICTURE OUTLINE COLOR
var background_colors	= "311028"	// BACKROUND COLOR OF THE GALLERY POPUP

var view_width 		= 650		// GALLERY POPUP WIDTH
var view_height 	= 575		// GALLERY POPUP HEIGHT was 475

var Logo_width 		= 350		// Logo POPUP HEIGHT
var Logo_height		= 300		// Logo POPUP HEIGHT

var DEMO_width 		= 650		// DEMO POPUP HEIGHT
var DEMO_height		= 600		// DEMO POPUP HEIGHT

var FAQ_width 		= 400		// FAQ POPUP HEIGHT
var FAQ_height 		= 500		// FAQ POPUP HEIGHT

var scrollbarS 		= "0"		// TURN ON POPUP SCROLLBARS "1" FOR ON "0" FOR OFF
var demoscrollbarS 	= "0"		// TURN ON DEMO SCROLLBARS "1" FOR ON "0" FOR OFF
var faqscrollbarS 	= "0"		// TURN ON FAQ SCROLLBARS "1" FOR ON "0" FOR OFF

var flashcolor		= "311028"	// FLASH BACKGROUND COLOR
var color		    = "311028"	// HEADER BACKGROUND COLOR
var flashheight		= "50"		// HEIGHT OF THE FLASH (IN PIXELS) (and adjust the menu.js)
var flashwidth		= "330"		// WIDTH OF THE FLASH (IN PIXELS) (and adjust the menu.js) *** was 330

var color		= "999999"	// HEADER BACKGROUND COLOR
var flashheight		= "50"		// HEIGHT OF THE FLASH (IN PIXELS)
var flashwidth		= "200"		// WIDTH OF THE FLASH (IN PIXELS) ***** was 485


// YOU DO NOT NEED TO EDIT BELOW THIS LINE

// START POPUP CODE


function popUp(URL) {
var look='toolbar=0,scrollbars=' + scrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+view_width+',height='+view_height+','
popwin=window.open("","",look)
popwin.document.open()
popwin.document.write('<html><head><title>Close Up</title>')
popwin.document.write('<link rel=StyleSheet href="corporatestyle.css" type="text/css" media="screen">')
   if (right_click_on == "yes") {
popwin.document.write('<META HTTP-EQUIV="imagetoolbar" CONTENT="no">')
popwin.document.write('<script language="JavaScript">')
popwin.document.write('function noRightClick() {')
popwin.document.write('if (event.button==2) {')
popwin.document.write('alert(\'You may not right mouse click this page.\')')
popwin.document.write('}')
popwin.document.write('}')
popwin.document.write('document.onmousedown=noRightClick')
popwin.document.write('</script>')
}
popwin.document.write('</head>')
popwin.document.write('<body bgcolor="#'+background_colors+'" 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('<br>')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="1" bordercolor="#' + border_color + '" style="border-collapse:collapse"><tr><td>')
popwin.document.write('<img src="'+URL+'">')
popwin.document.write('</td></tr></table>')
   if (close_button == "yes") {
popwin.document.write('</td></tr><tr><td valign="bottom" align="center">')
popwin.document.write('<br><form style="margin: 0px"><input type="button" value="Close" onClick=\'self.close()\' onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups"></form>')
}
popwin.document.write('</td></tr></table>')
popwin.document.write('</body>')
popwin.document.close()
}


function popUpLogo(IMAGE, CUSTOMER, URL) {
var look='toolbar=0,scrollbars=' + scrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+Logo_width+',height='+Logo_height+','
popwin=window.open("","",look)
popwin.document.open()
popwin.document.write('<html><head><title>Became Customer</title>')
popwin.document.write('<link rel=StyleSheet href="css/common-style.css" type="text/css" media="screen">')
popwin.document.write('<link rel="StyleSheet" href="css/gray.css" type="text/css">')
popwin.document.write('</head>')
popwin.document.write('<body bgcolor="#000000" 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%">')
popwin.document.write('<tr><td td bgcolor="#FFFFFF" align="left" valign="top">')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" bgcolor="#'+color+'"><tr><td>');
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" bgcolor="#'+color+'" class="faqline"><tr><td class="headercolor">');
popwin.document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="'+flashwidth+'" HEIGHT="'+flashheight+'" id="new2">');
popwin.document.write('<PARAM NAME="movie" VALUE="new2.swf">');
popwin.document.write('<PARAM NAME="quality" VALUE="high">');
popwin.document.write('<PARAM NAME="wmode" VALUE="transparent">');
popwin.document.write('<PARAM NAME=bgcolor VALUE=#'+color+'>');
popwin.document.write('<EMBED src="new2.swf" quality="high" wmode="transparent" bgcolor=#'+color+' WIDTH="'+flashwidth+'" HEIGHT="'+flashheight+'" NAME="faqlogo" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT><br>');
popwin.document.write('</tr></td></table>');


/*popwin.document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="'+flashwidth+'" HEIGHT="'+flashheight+'" id="new2" ALIGN="">');
popwin.document.write('<PARAM NAME=movie VALUE="new2.swf">');
popwin.document.write('<PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#'+flashcolor+'>');
popwin.document.write('<EMBED src="new2.swf" quality=high bgcolor=#'+flashcolor+'  WIDTH="'+flashwidth+'" HEIGHT="'+flashheight+'" NAME="faqlogo" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
popwin.document.write('</EMBED>');
popwin.document.write('</OBJECT><br>');*/

popwin.document.write('</td></tr><tr><td bgcolor="#FFFFFF" colspan="2" height="1" align="right" >');
popwin.document.write('<img src="picts/spacer.gif" HEIGHT="1" WIDTH="10"><br>');
popwin.document.write('</tr></td></table>');
popwin.document.write('<br>')
popwin.document.write('<center>')
popwin.document.write('<TABLE cellspacing="0" cellpadding="3" border="0" width="100%" valign="top">')
popwin.document.write('<tr>')
popwin.document.write('<td bgcolor="#FFFFFF" align="center">')
popwin.document.write('<br>')
popwin.document.write('<img src="'+IMAGE+'">')
popwin.document.write('<br>')
popwin.document.write('Became a Valued Customer '+CUSTOMER+'')
popwin.document.write('</td></tr></table>')
popwin.document.write('<br>')
popwin.document.write('<a target="_blank" href="http://www.'+URL+'">Click here for their website')
   if (close_button == "yes") {
popwin.document.write('</td></tr><tr><td td bgcolor="#FFFFFF" valign="bottom" align="center">')
popwin.document.write('<br><form style="margin: 0px"><input type="button" value="Close" onClick=\'self.close()\' onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups"></form>')
}
popwin.document.write('</td></tr></table>')
popwin.document.write('</body>')
popwin.document.close()
}



// START FAQ POPUP

function popUpFAQ(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=' + faqscrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+FAQ_width+',height='+FAQ_height+'');");
}


// START DEMO POPUP

function popUpDEMO(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=' + demoscrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+DEMO_width+',height='+DEMO_height+'');");
}



//  End -->
