<!-- Begin POP-UP SIZES AND OPTIONS CODE

// CHANGE ANY OF THESE VARIABLES FOR THE SOUND POPUPS

//  use only lowercase on options



// PLAYER POPUP

var viewer_sound 	= "popup"	// OPTIONS: | new | popup | same | New browser or a popup
var width_sound 	= "750"		// WIDTH OF THE SAMPLES PAGE POPUP
var height_sound 	= "410"		// HEIGHT OF THE SAMPLES PAGE POPUP
var scrollbarS_sound	= "no"		// SHOW SCROLLBARS IN SAMPLES POPUP - yes OR no
var menu_sound		= "no"		// SHOW MENU IN SAMPLES POPUP - yes OR no
var tool_sound		= "no"		// SHOW TOOLBAR IN SAMPLES POPUP - yes OR no



// START GALLERY POPUPS

var close_button_p 	= "yes"		// GALLERY CLOSE BUTTON ON/OFF
var slideshow_button 	= "no"		// SLIDESHOW BUTTON ON/OFF
var print_button 	= "no"		// PRINT BUTTON yes/no
var zoom_button	 	= "yes"		// ZOOM BUTTON yes/no
var zoom		= ""	// ZOOM AMOUNT
var zoom2		= ""	// ZOOM BACK
var right_click_onG	= "yes"		// GALLERY RIGHT CLICK PROTECTION ON
var border_color	= "000000"	// PICTURE OUTLINE COLOR
var slideshow_width 	= 700		// SLIDESHOW POPUP WINDOW WIDTH
var slideshow_height 	= 525		// SLIDESHOW POPUP WINDOW HEIGHT
var view_width 		= 700		// GALLERY POPUP WIDTH
var view_height 	= 525		// GALLERY POPUP HEIGHT
var viewer	 	= "no"		// yes/FULL SCREEN OR no/POPUP MODE


// VIDEO WELCOME MESSAGE OPTIONS

var welcome_width	= "700"		// WELCOME POPUP WIDTH
var welcome_height	= "375"		// WELCOME POPUP HEIGHT
var scrollbar_welcome	= "no"		// WELCOME POPUP SCROLLBARS
var menu_welcome	= "yes"		// SHOW MENU IN MESSAGE POPUP
var wX_location		= "350"		// WELCOME HORIZONTAL LOCATION
var wY_location		= "0"		// WELCOME VERTICAL LOCATION
var welcome_viewer 	= "no"		// MESSAGE - yes/FULL SCREEN OR no/POPUP MODE


// OTHER OPTIONS YOU CAN CHANGE

var scrollbarS 		= "0"		// TURN ON POPUP SCROLLBARS "1" FOR ON "0" FOR OFF
var background_colors	= "3D3D3D"	// BACKROUND COLOR OF THE POPUPS CSS CONTROLS THIS
var right_click_text	= "You may not right mouse click this page"	// TEXT FOR THE RIGHT CLICK PROTECTION











// COPYRIGHT 2006 © Allwebco Design Corporation
// Unauthorized use or sale of this script is strictly prohibited by law

// YOU DO NOT NEED TO EDIT BELOW THIS LINE





// START SOUND POPUP CODE




function popUpSound(data) {
   if (viewer_sound == "popup") {
    windowHandle = window.open('sounds/player-home.htm' + '?' + data,'windowName',',scrollbars='+scrollbarS_sound+',resizable=yes,toolbar='+tool_sound+',menubar='+menu_sound+',width='+width_sound+',height='+height_sound+'');

}
else if (viewer_sound == "new") {
    windowHandle = window.open('sounds/player-home.htm' + '?' + data,'windowName');
}
else if (viewer_sound == "same") {
    window.location = ('sounds/player-home.htm' + '?' + data);
}
}



function popUpQuicktime (data) {
    window.location = ('player-quicktime.htm' + '?' + data);
}


function popUpWinMedia (data) {
    window.location = ('player-winmedia.htm' + '?' + data);
}


function popUpRealAudio (data) {
    window.location = ('player-realaudio.htm' + '?' + data);
}



// END SOUND POPUP CODE

















// START SLIDESHOW POPUP CODE

function popUpSlideshow(URL) {

day = new Date();
id = day.getTime();
   if (viewer == "no") {
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars='+scrollbarS+',location=0,statusbar=0,menubar=0,resizable=1,width='+slideshow_width+',height='+slideshow_height+'');");
}
else 
if (viewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}





// START GALLERY POPUP CODE

function popUp(URL) {
   if (viewer == "no") {
var look='toolbar=0,scrollbars='+scrollbarS+',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>')
popwin.document.write('<title>Image Close Up</title>')
   if (right_click_onG == "yes") {
popwin.document.write('<META HTTP-EQUIV="imagetoolbar" CONTENT="no">')
popwin.document.write('<script language="JavaScript" type="text/javascript">')
popwin.document.write('function noRightClick() {')
popwin.document.write('if (event.button==2) {')
popwin.document.write('alert(\''+right_click_text+'\')')
popwin.document.write('}')
popwin.document.write('}')
popwin.document.write('document.onmousedown=noRightClick')
popwin.document.write('</script>')
}
popwin.document.write('<link rel="StyleSheet" href="coolstyle.css" type="text/css"></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%"><tr><td align="center">')
popwin.document.write('<br><br><br><br>')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="0"><tr><td>')
   if (close_button_p == "yes") {
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()\'></form>')
}
   if (slideshow_button == "yes") {
popwin.document.write('</td><td>')
popwin.document.write('<form action="slideshow.htm" style="margin: 0px"><input type="submit" value="Slideshow" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups"></form>')
}
   if (print_button == "yes") {
popwin.document.write('</td><td>')
popwin.document.write('<form style="margin: 0px"><input type="button" value="Print Image" onClick=\'window.print()\' class="button-popups" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'"></form>')
}
   if (zoom_button == "yes") {
popwin.document.write('</td><td>')
browser_version= parseInt(navigator.appVersion);
browser_type = navigator.appName;
if (browser_type == "Microsoft Internet Explorer" && (browser_version >= 4) && (navigator.userAgent.indexOf("Windows") != -1)) {
popwin.document.write('<form style="margin: 0px"><input type="button" value="'+zoom+'" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups" onClick=\'show.style.zoom="'+zoom+'"\'></form>')
popwin.document.write('</td><td>')
popwin.document.write('<form style="margin: 0px"><input type="button" value="'+zoom2+'" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups" onClick=\'show.style.zoom="'+zoom2+'"\'></form>')
}}
popwin.document.write('</td></tr></table>')
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+'" name="show">')
popwin.document.write('</td></tr></table><br>')
popwin.document.write('</td></tr><tr><td valign="bottom" align="center">')


popwin.document.write('</td></tr></table>')
popwin.document.write('</body></html>')
popwin.document.close()
}



// WELCOME VIDEO POPUP CODE


function WelCome(URL) {

day = new Date();
id = 'messagepopup';
   if (welcome_viewer == "no") {
eval("page" + id + " = window.open(URL, '" + id + "', 'scrollbars='+scrollbar_welcome+',toolbar=no,resizable=yes,directories=no,menubar='+menu_welcome+',location=no,status=no,left='+wX_location+',top='+wY_location+',width=' + welcome_width + ',height=' + welcome_height + '');");
}
else 
if (welcome_viewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}



// End -->

