<!-- 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"		// WIDTH 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 	= "yes"		// SLIDESHOW BUTTON ON/OFF
var print_button 	= "yes"		// GALLERY PRINT BUTTON ON/OFF
var popwidth		= "150"		// GALLERY POPUP BUTTON WIDTHS
var right_click_onG	= "yes"		// GALLERY RIGHT CLICK PROTECTION ON
var border_color	= "000000"	// PICTURE OUTLINE COLOR
var border_width	= "1"		// PICTURE OUTLINE WIDTH
var slideshow_width 	= 700		// SLIDESHOW POPUP WINDOW WIDTH
var slideshow_height 	= 510		// SLIDESHOW POPUP WINDOW HEIGHT
var view_width 		= 700		// GALLERY POPUP WIDTH
var view_height 	= 510		// GALLERY POPUP HEIGHT
var viewer	 	= "no"		// yes/FULL SCREEN OR no/POPUP MODE (GALLERY)



// OTHER OPTIONS YOU CAN CHANGE

var scrollbarS 		= "0"		// GALLERY POPUP SCROLLBARS "1" FOR ON "0" FOR OFF
var background_colors	= "FFFFFF"	// BACKROUND COLOR OF THE POPUPS
var right_click_text	= "You may not right mouse click this page"	// TEXT FOR THE RIGHT CLICK PROTECTION
var background_image	= "picts/background-popups.jpg"			// BACKROUND IMAGE IN MUSIC POPUPS





// 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






// TARGET POPUP LINK SCRIPT FOR LINKS IN THE player-home.htm


function openerpage(mainwindow, closeme, closeonly)
{
if (! (window.focus && window.opener))return true;
window.opener.focus();
if (! closeonly)window.opener.location.href=mainwindow.href;
if (closeme)window.close();
return false;
}










// 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><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">')
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="corporatestyle.css" type="text/css" media="screen"></head>')
popwin.document.write('</head>')
popwin.document.write('<body bgcolor="#'+background_colors+'" background="'+background_image+'" 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 cellspacing="0" cellpadding="0" border="0"><tr><td align="center">')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="'+border_width+'" bordercolor="#'+border_color+'" style="border-collapse: collapse"><tr><td>')
popwin.document.write('<img src="'+URL+'">')
popwin.document.write('</td></tr></table><br>')
popwin.document.write('</td></tr><tr><td valign="top" align="center" height="50">')
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()\' style="width:'+popwidth+'">&nbsp;</form>')
}
   if (print_button == "yes") {
popwin.document.write('</td><td>')
popwin.document.write('<form style="margin: 0px"><input type="button" onClick=\'window.print()\' value="Print" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups" style="width:'+popwidth+'">&nbsp;</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" style="width:'+popwidth+'"></form>')
}
popwin.document.write('</td></tr></table>')
popwin.document.write('</td></tr></table>')
popwin.document.write('</td></tr></table>')
popwin.document.write('</body></html>')
popwin.document.close()
}











// Begin SMALL MESSAGES CODE


document.write('<div Class="divstyle" id="info" style=\'display:none;\'>')
document.write('<div id="imagetitle" class="pstyletitle" align="center"></div>')
document.write('</div>')


var IE = document.all?true:false

if (!IE) document.captureEvents(Event.MOUSEMOVE)

document.onmousemove = getMouseXY;

var tempX = 0
var tempY = 0

  
function getMouseXY(e) {
  if (IE) { // grab the x-y pos.s if browser is IE
    tempX = event.clientX + document.body.scrollLeft
    tempY = event.clientY + document.body.scrollTop
  } else {  // grab the x-y pos.s if browser is NS
    tempX = e.pageX
    tempY = e.pageY
  }  
  // catch possible negative values in NS4
  if (tempX < 0){tempX = 0}
  if (tempY < 0){tempY = 0}  
  // show the position values in the form named Show
  // in the text fields named MouseX and MouseY
obj_info = document.getElementById("info")
obj_info.style.top = tempY + 10;
obj_info.style.left = tempX + 10;
  return true
}

function alert_msg(titletext){
obj_info = document.getElementById("info")
obj_info.style.display = '';
obj_imagetitle = document.getElementById("imagetitle");
obj_imagetitle.innerHTML = titletext;

}

function away()
{
obj_info = document.getElementById("info")
obj_info.style.display = 'none';
}


function goToURL() { history.go(-1); }



// End -->
