<!-- Begin VIEWER AND POPUP SIZES AND OPTIONS CODE

// CHANGE ANY OF THESE VARIABLES FOR THE IMAGE VIEWER

//  use only lowercase on options



var viewer 		= "new"	// OPTIONS: | new | popup | same | New browser or a popup
var width 		= "500"		// WIDTH OF THE SAMPLES PAGE POPUP
var height 		= "600"		// WIDTH OF THE SAMPLES PAGE POPUP
var scrollbars		= "yes"		// SHOW SCROLLBARS IN SAMPLES POPUP - yes OR no
var menu		= "no"		// SHOW MENU IN SAMPLES POPUP - yes OR no
var tool		= "no"		// SHOW TOOLBAR IN SAMPLES POPUP - yes OR no

var viewerfaq	 	= "no"		// FAQ SECTION yes/FULL SCREEN OR no/POPUP MODE
var FAQ_width 		= 600	// FAQ POPUP WEIGHT
var FAQ_height 		= 600	// FAQ POPUP HEIGHT
var faqscrollbarS 	= "1"		// TURN ON FAQ SCROLLBARS "1" FOR ON "0" FOR OFF



// COPYRIGHT 2008 © Second Sight Method
// 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 (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 (viewerfaq == "yes") {
eval("page" + id + " = window.open(URL);");
}
}





// End -->