<!-- Begin VIEWER OPTIONS CODE

// CHANGE ANY OF THESE VARIABLES FOR THE IMAGE VIEWER

//  use only lowercase on options



var viewer 		= "popup"	// OPTIONS: | new | popup | same | New browser or a popup


var width 		= "750"		// WIDTH OF THE POPUP
var height 		= "750"		// 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		= "yes"		// SHOW TOOLBAR IN POPUP - yes OR no


popwin.document.write('<script language="JavaScript" type="text/javascript">\n')
popwin.document.write('<!-- Begin\n')
popwin.document.write('var message="You may not right mouse click this page.";\n')
popwin.document.write('if (navigator.appName == \'Microsoft Internet Explorer\'){\n')
popwin.document.write('function NOclickIE(e) {\n')
popwin.document.write('if (event.button == 2 || event.button == 3) {\n')
popwin.document.write('alert(message);\n')
popwin.document.write('return false;\n')
popwin.document.write('}\n')
popwin.document.write('return true;\n')
popwin.document.write('}\n')
popwin.document.write('document.onmousedown=NOclickIE;\n')
popwin.document.write('document.onmouseup=NOclickIE;\n')
popwin.document.write('window.onmousedown=NOclickIE;\n')
popwin.document.write('window.onmouseup=NOclickIE;\n')
popwin.document.write('}\n')
popwin.document.write('else {\n')
popwin.document.write('function NOclickNN(e){\n')
popwin.document.write('if (document.layers||document.getElementById&&!document.all){\n')
popwin.document.write('if (e.which==2||e.which==3){\n')
popwin.document.write('alert(message);\n')
popwin.document.write('return false;\n')
popwin.document.write('}}}\n')
popwin.document.write('if (document.layers){\n')
popwin.document.write('document.captureEvents(Event.MOUSEDOWN);\n')
popwin.document.write('document.onmousedown=NOclickNN; }\n')
popwin.document.write('document.oncontextmenu=new Function("alert(message);return false")\n')
popwin.document.write('}\n')
popwin.document.write('//  End -->\n')
popwin.document.write('</script>\n');



// 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('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);
}
}

// END IMAGE VIEW CODE






// End -->