var act = "/cgi-bin/action.pl";
// ---------

var w = screen.height;
if(w < 900) { var prw_w_CH33A = "544"; var prw_h_CH33A = "620"; var prw_w_CH33B = "547"; var prw_h_CH33B = "620"; var prw_w_CH50 = "374"; var prw_h_CH50 = "620"; var prw_w_CH100 = "548"; var prw_h_CH100 = "620"; var prw_w_CH150 = "508"; var prw_h_CH150 = "620"; var prw_w_CH300 = "424"; var prw_h_CH300 = "620"; }
if(w == 900) { var prw_w_CH33A = "697"; var prw_h_CH33A = "700"; var prw_w_CH33B = "697"; var prw_h_CH33B = "700"; var prw_w_CH50 = "428"; var prw_h_CH50 = "700"; var prw_w_CH100 = "689"; var prw_h_CH100 = "710"; var prw_w_CH150 = "614"; var prw_h_CH150 = "735"; var prw_w_CH300 = "470"; var prw_h_CH300 = "680"; }
if(w > 900) { var prw_w_CH33A = "697"; var prw_h_CH33A = "670"; var prw_w_CH33B = "704"; var prw_h_CH33B = "670"; var prw_w_CH50 = "482"; var prw_h_CH50 = "810"; var prw_w_CH100 = "689"; var prw_h_CH100 = "755"; var prw_w_CH150 = "614"; var prw_h_CH150 = "765"; var prw_w_CH300 = "521"; var prw_h_CH300 = "800"; }

$("#CH33A-trigger").hoverIntent({ sensitivity: 180, interval: 1200, over: CH33Ago, timeout: 100, out: CH33Aout });
$("#CH33B-trigger").hoverIntent({ sensitivity: 180, interval: 1200, over: CH33Bgo, timeout: 100, out: CH33Bout });
$("#CH50-trigger").hoverIntent({ sensitivity: 180, interval: 1200, over: CH50go, timeout: 100, out: CH50out });
$("#CH100-trigger").hoverIntent({ sensitivity: 180, interval: 1200, over: CH100go, timeout: 100, out: CH100out });
$("#CH150-trigger").hoverIntent({ sensitivity: 180, interval: 1200, over: CH150go, timeout: 100, out: CH150out });
$("#CH300-trigger").hoverIntent({ sensitivity: 180, interval: 1200, over: CH300go, timeout: 100, out: CH300out });

function CH33Ago() { $.colorbox({initialWidth: "0px", initialHeight: "0px", scrolling:false, transition: "fade", speed: 600, opacity: 0.8, close: "", innerWidth: prw_w_CH33A, innerHeight: prw_h_CH33A, href:"/cgi-bin/content.pl?page=/Orthodox-Prayer-Ropes/preview&language=en&source=CH33A&resolution=" + screen.width + 'x' + screen.height}); var nocache_random=Math.floor(Math.random()*100000); $.get(act + "?nocache=" + nocache_random + "&source=thumb&ID=CH33A"); } function CH33Aout() { }
function CH33Bgo() { $.colorbox({initialWidth: "0px", initialHeight: "0px", scrolling:false, transition: "fade", speed: 600, opacity: 0.8, close: "", innerWidth: prw_w_CH33B, innerHeight: prw_h_CH33B, href:"/cgi-bin/content.pl?page=/Orthodox-Prayer-Ropes/preview&language=en&source=CH33B&resolution=" + screen.width + 'x' + screen.height}); var nocache_random=Math.floor(Math.random()*100000); $.get(act + "?nocache=" + nocache_random + "&source=thumb&ID=CH33B"); } function CH33Bout() { }
function CH50go() {  $.colorbox({initialWidth: "0px", initialHeight: "0px", scrolling:false, transition: "fade", speed: 600, opacity: 0.8, close: "", innerWidth: prw_w_CH50,  innerHeight: prw_h_CH50,  href:"/cgi-bin/content.pl?page=/Orthodox-Prayer-Ropes/preview&language=en&source=CH50&resolution=" + screen.width + 'x' + screen.height}); var nocache_random=Math.floor(Math.random()*100000); $.get(act + "?nocache=" + nocache_random + "&source=thumb&ID=CH50"); }  function CH50out()  { }
function CH100go() { $.colorbox({initialWidth: "0px", initialHeight: "0px", scrolling:false, transition: "fade", speed: 600, opacity: 0.8, close: "", innerWidth: prw_w_CH100, innerHeight: prw_h_CH100, href:"/cgi-bin/content.pl?page=/Orthodox-Prayer-Ropes/preview&language=en&source=CH100&resolution=" + screen.width + 'x' + screen.height}); var nocache_random=Math.floor(Math.random()*100000); $.get(act + "?nocache=" + nocache_random + "&source=thumb&ID=CH100"); } function CH100out() { }
function CH150go() { $.colorbox({initialWidth: "0px", initialHeight: "0px", scrolling:false, transition: "fade", speed: 600, opacity: 0.8, close: "", innerWidth: prw_w_CH150, innerHeight: prw_h_CH150, href:"/cgi-bin/content.pl?page=/Orthodox-Prayer-Ropes/preview&language=en&source=CH150&resolution=" + screen.width + 'x' + screen.height}); var nocache_random=Math.floor(Math.random()*100000); $.get(act + "?nocache=" + nocache_random + "&source=thumb&ID=CH150"); } function CH150out() { }
function CH300go() { $.colorbox({initialWidth: "0px", initialHeight: "0px", scrolling:false, transition: "fade", speed: 600, opacity: 0.8, close: "", innerWidth: prw_w_CH300, innerHeight: prw_h_CH300, href:"/cgi-bin/content.pl?page=/Orthodox-Prayer-Ropes/preview&language=en&source=CH300&resolution=" + screen.width + 'x' + screen.height}); var nocache_random=Math.floor(Math.random()*100000); $.get(act + "?nocache=" + nocache_random + "&source=thumb&ID=CH300"); } function CH300out() { }
