<!-- Begin VIEWER 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 		= "800"		// WIDTH OF THE POPUP
var height 		= "625"		// HEIGHT 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


// FAQ POPUP OPTIONS

var FAQ_width 		= 400		// FAQ POPUP HEIGHT
var FAQ_height 		= 500		// FAQ POPUP HEIGHT
var faqscrollbarS 	= "0"		// TURN ON FAQ SCROLLBARS "1" FOR ON "0" FOR OFF
var viewerFAQ	 	= "no"		// yes/FULL SCREEN FAQ OR no/POPUP MODE
var right_click_on      = "yes"         //yes=prevent right-mouse click



// COPYRIGHT 2007 © 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('image-viewer.htm' + '?' + data,'windowName',',scrollbars='+scrollbars+',resizable=yes,toolbar='+tool+',menubar='+menu+',width='+width+',height='+height+'');

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


// 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 IMAGE VIEW CODE

// START FAQ POPUP


function popUpFAQ(URL) {
day = new Date();
id = day.getTime();
   if (viewerFAQ == "no") {
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=' + faqscrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+FAQ_width+',height='+FAQ_height+'');");
}
else 
if (viewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}



// End -->
