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

// CHANGE ANY OF THESE VARIABLES FOR THE SOUND POPUPS

//  use only lowercase on options



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





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





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




// Begin SMALL MESSAGES CODE - puesto el 19 de enero2007


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

// End -->