<!-- Begin VIEWER AND POPUP SIZES AND OPTIONS CODE

// CHANGE ANY OF THESE VARIABLES FOR THE IMAGE VIEWER

//  use only lowercase on options



var viewer 		= "same"	// OPTIONS: | new | popup | same | New browser or a popup
var width 		= "750"		// WIDTH OF THE POPUP
var height 		= "625"		// WIDTH OF THE POPUP
var scrollbars		= "yes"		// SHOW SCROLLBARS IN POPUP - yes OR no
var menu		= "no"		// SHOW MENU IN POPUP - yes OR no
var tool		= "no"		// SHOW TOOLBAR IN POPUP - yes OR no

var rotate_delay 	= 3000; 	// AUTOPLAY SPEED - in milliseconds (5000 = 5 secs)

var right_click_on	= "yes"		// RIGHT CLICK PROTECTION ON
var block_imagebar	= "yes"		// BLOCK WINDOWS IMAGE TOOL BAR
var hide_status		= "no"		// HIDE LINK IN STATUS BAR

var status_text 	= "Welcome"	// TEXT IN THE STATUS BAR
var right_click_text	= "You may not right mouse click this page."	// RIGHT CLICK TEXT


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

// YOU DO NOT NEED TO EDIT BELOW THIS LINE


// START IMAGE VIEW CODE

function ViewImage(data) {
   if (viewer == "popup") {
    windowHandle = window.open('viewer-slideshow.htm' + '?' + data,'windowName',',scrollbars='+scrollbars+',resizable=yes,toolbar='+tool+',menubar='+menu+',width='+width+',height='+height+'');

}
else if (viewer == "new") {
    windowHandle = window.open('viewer-slideshow.htm' + '?' + data,'windowName');
}
else if (viewer == "same") {
    window.location = ('viewer-slideshow.htm' + '?' + data);
}
}

// END IMAGE VIEW CODE


// SLIDESHOW IMAGE CHANGER CODE


theImage = location.search.substring(1);

function ShowImage() {
   document.images.show.src = theImage;
}

function superSize() {
   theImage = theImage.replace('_M','_F');
   document.images.show.src = theImage;
}

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

}



// BLOCK IMAGE TOOLBAR


   if (block_imagebar == "yes") {
document.write('<META HTTP-EQUIV="imagetoolbar" CONTENT="no">')
}



// RIGHT CLICK PROTECTION


if (right_click_on == "yes") {
var message=right_click_text;
if (navigator.appName == 'Microsoft Internet Explorer'){
function NOclickIE(e) {
if (event.button == 2 || event.button == 3) {
alert(message);
return false;
}
return true;
}
document.onmousedown=NOclickIE;
document.onmouseup=NOclickIE;
window.onmousedown=NOclickIE;
window.onmouseup=NOclickIE;
}
else {
function NOclickNN(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}}}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=NOclickNN; }
document.oncontextmenu=new Function("alert(message);return false")
}
}



// End -->