<!-- Begin VIEWER AND POP-UP OPTIONS CODE

// ONLY USE lowercase FOR ALL OPTIONS




// GALLERY VIEWER OPTIONS

var viewer 		= "popup"	// 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 		= 500		// FAQ POPUP HEIGHT
var FAQ_height 		= 500		// FAQ POPUP HEIGHT
var faqscrollbarS 	= "0"		// TURN ON FAQ SCROLLBARS "1" FOR ON "0" FOR OFF
var FAQviewer	 	= "no"		// yes/ FAQ FULL SCREEN OR no/POPUP MODE


popwin.document.write('<script language="JavaScript" type="text/javascript">\n')
popwin.document.write('<!-- Begin\n')
popwin.document.write('var message="\n\nContents & Graphics Copyright© Powerful Scents 2007\nOur work is not Public Domain, and should NOT be taken from this site.";\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 2007 © Powerful Scents
// 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










// START FAQ POPUP

function popUpFAQ(URL) {
day = new Date();
id = day.getTime();
   if (FAQviewer == "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 (FAQviewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}









IEMhover = function() {
	var IEMh = document.getElementById("menunav").getElementsByTagName("LI");
	for (var i=0; i<IEMh.length; i++) {
		IEMh[i].onmouseover=function() {
			this.className+=" IEMhover";
		}
		IEMh[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" IEMhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", IEMhover);











// End -->
