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





// WELCOME MESSAGE OPTIONS





var welcome_width	= "700"		// WELCOME POPUP WIDTH

var welcome_height	= "375"		// WELCOME POPUP HEIGHT

var scrollbar_welcome	= "no"		// WELCOME POPUP SCROLLBARS

var menu_welcome	= "yes"		// SHOW MENU IN MESSAGE POPUP

var wX_location		= "350"		// WELCOME HORIZONTAL LOCATION

var wY_location		= "0"		// WELCOME VERTICAL LOCATION

var welcome_viewer 	= "no"		// MESSAGE - yes/FULL SCREEN OR no/POPUP MODE





var right_click_on	= "no"		// RIGHT CLICK PROTECTION ON

var block_imagebar	= "no"		// BLOCK WINDOWS IMAGE TOOL BAR



var right_click_text	= "This image is copyrighted."	// RIGHT CLICK TEXT















// YOU DO NOT NEED TO EDIT BELOW THIS LINE



// COPYRIGHT 2008 © Allwebco Design Corporation

// Unauthorized use or sale of this script is strictly prohibited by law









// BEGIN GALLERY IMAGE 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;

}

















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

}

}

















// WELCOME POPUP CODE





function WelCome(URL) {



day = new Date();

id = 'messagepopup';

   if (welcome_viewer == "no") {

eval("page" + id + " = window.open(URL, '" + id + "', 'scrollbars='+scrollbar_welcome+',toolbar=no,resizable=yes,directories=no,menubar='+menu_welcome+',location=no,status=no,left='+wX_location+',top='+wY_location+',width=' + welcome_width + ',height=' + welcome_height + '');");

}

else 

if (welcome_viewer == "yes") {

eval("page" + id + " = window.open(URL);");

}

}

















// Begin SMALL MESSAGES





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