<!-- 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




// 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


// START POPUP CODE





function popUp(URL) {




   if (viewer == "no") {
var look='toolbar=0,scrollbars=' + scrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+view_width+',height='+view_height+','
popwin=window.open("","",look)
}
else 
if (viewer == "yes") {
popwin=window.open()
}
popwin.document.open()
popwin.document.write('<html><head><title>Close Up</title>')
popwin.document.write('<link rel=StyleSheet href="coolstylestyle.css" type="text/css" media="screen">');
   if (right_click_on == "yes") {
popwin.document.write('<META HTTP-EQUIV="imagetoolbar" CONTENT="no">')
popwin.document.write('<script language="JavaScript">')
popwin.document.write('function noRightClick() {')
popwin.document.write('if (event.button==2) {')
popwin.document.write('alert(\''+right_click_text+'\')')
popwin.document.write('}')
popwin.document.write('}')
popwin.document.write('document.onmousedown=noRightClick')
popwin.document.write('</script>')
}
popwin.document.write('</head>')
popwin.document.write('<body bgcolor="#'+backgroundcolors+'" leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0 marginheight=0 marginwidth=0>')
popwin.document.write('<TABLE cellpadding=0 cellspacing=0 border=0 width="100%" height="100%" ><tr><td align="center">')
popwin.document.write('<br>')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="1" bordercolor="' + border_color + '" style="border-collapse:collapse"><tr><td>')
popwin.document.write('<img src="'+URL+'">')
popwin.document.write('</td></tr></table>')
popwin.document.write('</td></tr><tr><td valign="bottom" align="center">')
   if (close_button == "yes") {
popwin.document.write('<br><a href="javascript:self.close()"><img src="picts/close.gif" border="0" alt="Close Window" onmouseover="this.className=\'rolloveron\'" onmouseout="this.className=\'rollover\'" class="rollover"></a><br><br>')
}
   if (small_logo == "yes") {
popwin.document.write('<div id="small_logo">');
popwin.document.write('<img src="picts/small_logo.gif"><br>');
popwin.document.write('</div>');
}
popwin.document.write('</td></tr></table>')
popwin.document.write('</body>')
popwin.document.close()
}







// 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>')
}



//  End -->



















<!-- 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


var close_button 	= "on"		// GALLERY CLOSE BUTTON ON/OFF
var viewer	 	= "no"		// yes/FULL SCREEN OR no/POPUP MODE
var hide_status		= "yes"		// HIDE LINK STATUS FOR ENTIRE WEBSITE
var view_width 		= 1024		// GALLERY POPUP WIDTH
var view_height 	= 768		// GALLERY POPUP HEIGHT
var small_logo 		= "no"		// SHOW THE SMALL POP UP LOGO

// OTHER OPTIONS YOU CAN CHANGE


var border_color	= "FFFFFF"	// PICTURE OUTLINE COLOR
var backgroundcolors	= "FFFFFF"	// BACKROUND COLOR OF THE GALLERY POPUP
var status_text 	= ""	// TEXT IN THE STATUS BAR
var scrollbarS 		= "0"		// TURN ON POPUP SCROLLBARS "1" FOR ON "0" FOR OFF
var right_click_on	= "yes"		// RIGHT CLICK PROTECTION ON
var right_click_text	= "You may not right mouse click this page"	// TEXT FOR THE RIGHT CLICK PROTECTION








// COPYRIGHT 2004 © 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 POPUP CODE





function popUp(URL) {




   if (viewer == "no") {
var look='toolbar=0,scrollbars=' + scrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+view_width+',height='+view_height+','
popwin=window.open("","",look)
}
else 
if (viewer == "yes") {
popwin=window.open()
}
popwin.document.open()
popwin.document.write('<html><head><title>Close Up</title>')
popwin.document.write('<link rel=StyleSheet href="coolstylestyle.css" type="text/css" media="screen">');
   if (right_click_on == "yes") {
popwin.document.write('<META HTTP-EQUIV="imagetoolbar" CONTENT="no">')
popwin.document.write('<script language="JavaScript">')
popwin.document.write('function noRightClick() {')
popwin.document.write('if (event.button==2) {')
popwin.document.write('alert(\''+right_click_text+'\')')
popwin.document.write('}')
popwin.document.write('}')
popwin.document.write('document.onmousedown=noRightClick')
popwin.document.write('</script>')
}
popwin.document.write('</head>')
popwin.document.write('<body bgcolor="#'+backgroundcolors+'" leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0 marginheight=0 marginwidth=0>')
popwin.document.write('<TABLE cellpadding=0 cellspacing=0 border=0 width="100%" height="100%" ><tr><td align="center">')
popwin.document.write('<br>')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="1" bordercolor="' + border_color + '" style="border-collapse:collapse"><tr><td>')
popwin.document.write('<img src="'+URL+'">')
popwin.document.write('</td></tr></table>')
popwin.document.write('</td></tr><tr><td valign="bottom" align="center">')
   if (close_button == "yes") {
popwin.document.write('<br><a href="javascript:self.close()"><img src="picts/close.gif" border="0" alt="Close Window" onmouseover="this.className=\'rolloveron\'" onmouseout="this.className=\'rollover\'" class="rollover"></a><br><br>')
}
   if (small_logo == "yes") {
popwin.document.write('<div id="small_logo">');
popwin.document.write('<img src="picts/small_logo.gif"><br>');
popwin.document.write('</div>');
}
popwin.document.write('</td></tr></table>')
popwin.document.write('</body>')
popwin.document.close()
}




