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





//  use only lowercase on options







var viewer_sound 	= "popup"	// OPTIONS: | new | popup | same | New browser or a popup

var width_sound 	= "768"		// WIDTH OF THE SAMPLES PAGE POPUP

var height_sound 	= "298"		// 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





function popUpSound(data) {

   if (viewer_sound == "popup") {

    windowHandle = window.open('samples/player-home.htm' + '?' + data,'windowName',',scrollbars='+scrollbarS_sound+',resizable=yes,status=no,location=no,toolbar='+tool_sound+',menubar='+menu_sound+',width='+width_sound+',height='+height_sound+'');



}

else if (viewer_sound == "new") {

    windowHandle = window.open('samples/player-home.htm' + '?' + data,'windowName');

}

else if (viewer_sound == "same") {

    window.location = ('samples/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 IMAGE GALLERY PAGE CHANGER CODE





function Changer(direction)

{



if (null == direction)

{



if ((lastTime + delay) > new Date().getTime())

{

direction = 0;

}



else

{

direction = currentDirection;

}

}



else

{

currentDirection = direction;

}



if (direction != 0)

{



if (direction > 0)

{



currentSlide++;



if (currentSlide > (slides.length - 1))

{

currentSlide = 0;

}

}



else

{



currentSlide = currentSlide-1;



if (currentSlide < 0)

{

currentSlide = (slides.length - 1);

}

}



lastTime = new Date().getTime();



update(slides[currentSlide]);



setTimeout("Changer();",delay);

}

}

var currentIndex = 0;



function update(url, index) 

{

currentIndex = index;

document['MainImage'].src=url;

{



}

return;

}









// End -->


