<!-- Begin POP-UP SIZES AND OPTIONS CODE


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



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(Copyright meMelDesign.com)\')')
document.write('}')
document.write('}')
document.write('document.onmousedown=noRightClick')
document.write('</script>')
}



//  End -->
