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


// ONLY USE lowercase FOR ALL OPTIONS


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



right_click_on		= "yes"		// RIGHT CLICK PROTECTION ON
var hide_status		= "no"		// HIDE LINK IN STATUS BAR
var status_text 	= "Welcome"	// TEXT IN THE STATUS BAR

var newwin2


// OTHER OPTIONS YOU CAN CHANGE



// YOU DO NOT NEED TO EDIT BELOW THIS LINE

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


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




// MOUSEOVER STATUS

   if (hide_status == "yes") {

function hidestatus(){
window.status=status_text
return true
}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)

document.onmouseover=hidestatus
document.onmouseout=hidestatus

}


// RIGHT CLICK PROTECTION


   if (right_click_on == "yes") {
document.write('<META HTTP-EQUIV="imagetoolbar" CONTENT="no">')
document.write('<script language="JavaScript">')
document.write('function noRightClick() {')
document.write('if (event.button==2) {')
document.write('alert(\'You may not right mouse click this page.\')')
document.write('}')
document.write('}')
document.write('document.onmousedown=noRightClick')
document.write('</script>')
}


//pop-up music - no longer requires a parameter
function popmusic() 
{
var popup_width = 330
var popup_height = 290
day = new Date();
id = day.getTime();
eval("newwin2 = window.open('music.htm', '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,left = 100,top = 100,width='+popup_width+',height='+popup_height+'');");
}

//pop-up music
//function popmusic(URL) {
//var popup_width = 330
//var popup_height = 290
//day = new Date();
//id = day.getTime();
//eval("newwin2 = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,left = 100,top = //100,width='+popup_width+',height='+popup_height+'');");
//}

//stop pop-up music
function stopmusic() {
newwin2.close();
}

//eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,left = 100,top = //100,width='+popup_width+',height='+popup_height+'');");


//window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,left = 100,top = //100,width='+popup_width+',height='+popup_height+'');

//  End -->
