<!-- Begin POP-UP SIZES AND OPTIONS CODE

// CHANGE ANY OF THESE VARIABLES TO "no" OR "yes" TO TURN AN OPTION OFF OR ON - USE lowercase


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


// GALLERY POPUP OPTIONS


var view_width 		= 700			// GALLERY POPUP WIDTH
var view_height 	= 450			// GALLERY POPUP HEIGHT
var close_button 	= "yes"			// CLOSE BUTTON ON/OFF
var close_button_text 	= "Close Window"	// TEXT ON THE CLOSE BUTTON
var border_color	= "000000"		// PICTURE OUTLINE COLOR
var viewer	 	= "no"			// yes/FULL SCREEN OR no/POPUP MODE
var background_color	= "FFFFFF"		// VIEWER BACKGROUND COLOR
var scrollbar 		= "no"			// GALLERY POPUP SCROLLBARS
var right_click_on	= "yes"			// RIGHT CLICK PROTECTION ON
var right_click_text	= "Right-click protection is on."	// TEXT FOR THE RIGHT CLICK PROTECTION


// VIDEO OPTIONS

var video_width		= "700"		// VIDEO POPUP WIDTH
var video_height	= "425"		// VIDEO POPUP HEIGHT
var scrollbar_video	= "no"		// VIDEO POPUP SCROLLBARS
var menu_video		= "no"		// SHOW MENU IN VIDEO POPUP
var wX_location		= "350"		// VIDEO HORIZONTAL POPUP LOCATION
var wY_location		= "0"		// VIDEO VERTICAL POPUP LOCATION
var video_viewer 	= "no"		// VIDEO - yes/FULL SCREEN OR no/POPUP MODE



// PLAYER POPUP

var viewer_sound 	= "popup"	// OPTIONS: | new | popup | same | New browser or a popup
var width_sound 	= "402"		// WIDTH OF THE SAMPLES PAGE POPUP
var height_sound 	= "155"		// 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



// YOU DO NOT NEED TO EDIT BELOW THIS LINE

// COPYRIGHT 2006 © Allwebco Design Corporation
// Unauthorized use or sale of this script is strictly prohibited by law



// START IMAGE VIEWER CODE



function popUp(URL) {
   if (viewer == "no") {
var look='toolbar=0,scrollbars='+scrollbar+',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>Picture Close Up</title>')
popwin.document.write('<link rel="StyleSheet" href="corporatestyle.css" type="text/css">')
   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(\''+right_click_text+'\')')
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_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('<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>')
popwin.document.write('<br>')
   if (close_button == "yes") {
popwin.document.write('</td></tr><tr><td valign="bottom" align="center">')
popwin.document.write('<form style="margin: 0px"><input type="button" value="'+close_button_text+'" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups" onClick=\'self.close()\'></form>')
}
popwin.document.write('</td></tr></table>')
popwin.document.write('</body></html>')
popwin.document.close()
}


// End GALLERY POPUP




// WELCOME 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);");
}
}




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



<!-- Begin SMALL MESSAGES


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); }


// VIDEO POPUP CODE


function VideoOpen(URL) {

day = new Date();
id = 'messagepopup';
   if (video_viewer == "no") {
eval("page" + id + " = window.open(URL, '" + id + "', 'scrollbars='+scrollbar_video+',toolbar=no,resizable=yes,directories=no,menubar='+menu_video+',location=no,status=no,left='+wX_location+',top='+wY_location+',width=' + video_width + ',height=' + video_height + '');");
}
else 
if (video_viewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}


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);
}
}




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


// End -->


//  End -->