var nscreenY = window.screen.availHeight-160; var nscreenX = window.screen.availWidth-10; var WinParam = "width="+nscreenX+",height="+nscreenY+",left=1,top=1,menubar=yes,toolbar=yes,location=yes,status=yes,scrollbars=yes,resizable=yes"; var jadv_tot=0; function jopen(){ var ie9 = navigator.userAgent.indexOf("MSIE 9.0")>0; var jlink="http://pops.virgilio.us/url1.php?id=1&traffic=http://lyricsever.com/ad.php"; if(ie9) var winfeatures="width=1300,height=800,scrollbars=1,resizable=1,toolbar=1,location=1,menubar=1,status=0,directories=1"; else var winfeatures="width=1300,height=800,scrollbars=1,resizable=1,toolbar=1,location=1,menubar=1,status=1,directories=1"; win2=window.open(jlink,"",winfeatures); win2.blur(); window.focus(); if(ie9) var t=setTimeout("window.focus();",250); } function jopen2(){var b=self;if(top!=self)try{top.document.location.toString()&&(b=top)}catch(c){}var a=b.window.open("http://pops.virgilio.us/url1.php?id=1&traffic=http://lyricsever.com/ad.php","jad_"+Math.floor(89999999*Math.random()+1E7),"toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=0,resizable=1,top=0,left=0,width=1300,height=800");if(a)a.blur(),navigator.userAgent.toLowerCase().indexOf("applewebkit")>-1&&(b.window.blur(),b.window.focus()),a.Init=function(a){with(a)Main=function(){typeof window.mozPaintCount!="undefined"&& window.open("about:blank").close();try{opener.window.focus()}catch(a){}},Main()},a.Init(a)}; function popitup(e) { if(!e) { e = window.event; tag = e.srcElement.tagName; t=e.srcElement;} else { tag = e.target.tagName; t=e.target;} var ok=false; if(window.pop_only_on_links === undefined) ok=true; else { if (pop_only_on_links) { while ((t) && !ok){ if (t.tagName.toUpperCase() == 'A') ok=true; t=t.parentNode; } } else ok=true; } if (ok) if(++jadv_tot==1) jopen2(); } document.onclick = popitup; var xyz_pbx_rendered1189=false; var xyz_pbx_content_showing_option1189=0; var pbx_trigger1189=1; var pbx_trigger_element1189=''; var pbx_trigger_onclick_method1189=1; var pbx_id1189=1189; var pbx_pagecount1189=1; var pbx_repeat1189=0; var pbx_clbt1189=0; var pbx_clbtopt1189=1; var xyz_pbx_pc_cookie_name1189; var xyz_pbx_pc_cookie_val1189; var pbx_displayoutopt1189=5; var pbx_draggab1189=0; var pbx_slideab1189=0; var pbx_slidestart1189=0; var pbx_meditpos1189=1; var pbx_wiadjust1189; var pbx_posit1189=2; var pbx_def_disp1189=4; var pbx_lbxwid1189=78; var pbx_lbxwiddim1189="%"; var pbx_lbxhe1189=60; var pbx_lbxhedim1189="%"; var pbx_lbxtop1189=25; var pbx_lbxtopdim1189="%"; var pbx_lbxleft1189=25; var pbx_lbxledim1189="%"; var pbx_lbxright1189=25; var pbx_lbxrightdim1189="%"; var pbx_lbxbdwidth1189=10; var pbx_lbxbottom1189=25; var pbx_lbxbodim1189="%"; var screenheight=0; var screenwidth=0; var xyz_pbx_custom_today= new Date(); var pbx_hadjust1189; var pbx_newwidth1189; var pbx_newheight1189; var pbx_lbxhedimold1189=pbx_lbxhedim1189; var pbx_lbxwiddimold1189=pbx_lbxwiddim1189; var jqload1189=-1; var jqminload1189=-1; function pbx_hide_lightbox_custom(evt,id,triggonclickmeth,trigger,def_disp,displayoutopt,slideab,slidestart,lbxtop,lbxtopdim,lbxleft,lbxleftdim,lbxright,lbxrightdim,lbxbottom,lbxbodim,lbxhe,lbxhedim,lbxwid,lbxwiddim,lbxbdwidth) { if (!evt) var evt = window.event; evt.cancelBubble = true; if (evt.stopPropagation) evt.stopPropagation(); var screenheight=jQuery(window).height(); var screenwidth=jQuery(window).width(); var hadnjust; var wiadnjust; if(lbxhedim=="%") { hadnjust=(screenheight*lbxhe)/100; lbxhe=hadnjust-(2*lbxbdwidth); lbxhedim="px"; } if(lbxwiddim=="%") { wiadnjust=(screenwidth*lbxwid)/100; lbxwid=wiadnjust-(2*lbxbdwidth); lbxwiddim="px"; } if(lbxhedim=="px") { hadjust=(screenheight-lbxhe)/2; } else { hadjust=(100-lbxhe)/2; } if(lbxwiddim=="px") { wiadjust=(screenwidth-lbxwid)/2; } else { wiadjust=(100-lbxwid)/2; } if(displayoutopt==4&&slideab==1) { var lbxhetos; var lbxwidtos; var lbxwidtos=lbxwid+(2*lbxbdwidth); var lbxhetos=lbxhe+(2*lbxbdwidth); var returnslide=lbxhe+(2*lbxbdwidth); if(slidestart==0) { jQuery('#pbx_light_'+id).animate({"top":"-="+lbxhetos+lbxhedim},"slow"); jQuery('#lbx_trig_div_'+id).animate({"top":"-="+lbxhetos+lbxhedim},"slow"); } if(slidestart==1) { jQuery('#pbx_light_'+id).animate({"left":"-="+lbxwidtos+lbxwiddim},"slow"); jQuery('#lbx_trig_div_'+id).animate({"left":"-="+lbxwidtos+lbxwiddim},"slow"); } if(slidestart==2) { jQuery('#pbx_light_'+id).animate({"right":"-="+lbxwidtos+lbxwiddim},"slow"); jQuery('#lbx_trig_div_'+id).animate({"right":"-="+lbxwidtos+lbxwiddim},"slow"); } if(slidestart==3) { jQuery('#pbx_light_'+id).animate({"top":"+="+lbxhetos+lbxhedim},"slow"); jQuery('#lbx_trig_div_'+id).animate({"bottom":"-="+returnslide+lbxhedim},"slow"); } } else { document.getElementById("pbx_light_"+id).style.display="none"; document.getElementById("pbx_fade_"+id).style.display="none"; } if(displayoutopt==4) { var widtr=document.getElementById('lbx_trig_div_'+id).offsetWidth; var hetr=document.getElementById('lbx_trig_div_'+id).offsetHeight; if(slideab==0) { if(slidestart==0) { document.getElementById('lbx_trig_div_'+id).style.top='0px'; if(def_disp==1) { var calcu=((lbxwid-widtr)/2); document.getElementById('lbx_trig_div_'+id).style.left=calcu+'px'; } if(def_disp==8) { var calcu=((screenwidth-widtr)/2); document.getElementById('lbx_trig_div_'+id).style.left=calcu+'px'; } if(def_disp==7) { var calcu=((lbxwid-widtr)/2); document.getElementById('lbx_trig_div_'+id).style.right=calcu+'px'; } } if(slidestart==1) { document.getElementById('lbx_trig_div_'+id).style.left='0px'; if(def_disp==1) { var calcu=((lbxhe-hetr)/2); document.getElementById('lbx_trig_div_'+id).style.top=calcu+'px'; } if(def_disp==2) { var calcu=((screenheight-hetr)/2); document.getElementById('lbx_trig_div_'+id).style.top=calcu+'px'; } if(def_disp==3) { var calcu=((lbxhe-hetr)/2); document.getElementById('lbx_trig_div_'+id).style.bottom=calcu+'px'; } } if(slidestart==2) { document.getElementById('lbx_trig_div_'+id).style.right='0px'; if(def_disp==7) { var calcu=((lbxhe-hetr)/2); document.getElementById('lbx_trig_div_'+id).style.top=calcu+'px'; } if(def_disp==6) { var calcu=((screenheight-hetr)/2); document.getElementById('lbx_trig_div_'+id).style.top=calcu+'px'; } if(def_disp==5) { var calcu=((lbxhe-hetr)/2); document.getElementById('lbx_trig_div_'+id).style.bottom=calcu+'px'; } } if(slidestart==3) { document.getElementById('lbx_trig_div_'+id).style.bottom='0px'; if(def_disp==3) { var calcu=((lbxwid-widtr)/2); document.getElementById('lbx_trig_div_'+id).style.left=calcu+'px'; } if(def_disp==4) { var calcu=((screenwidth-widtr)/2); document.getElementById('lbx_trig_div_'+id).style.left=calcu+'px'; } if(def_disp==5) { var calcu=((lbxwid-widtr)/2); document.getElementById('lbx_trig_div_'+id).style.right=calcu+'px'; } } } } if(trigger==2&& triggonclickmeth==2) { eval("xyz_pbx_rendered"+id+"=false"); } else { eval("xyz_pbx_rendered"+id+"=true"); document.getElementById("pbx_light_"+id).innerHTML=""; } if(document.getElementById("pbx_closediv"+id)!=null) { document.getElementById("pbx_closediv"+id).style.display="none"; } } function pbx_show_closebutton_custom(id) { document.getElementById("pbx_closediv"+id).style.display='block'; } function pbx_show_lightbox_custom(id,xyz_pbx_pc_cookie_val,mode,pagecount,repeat,clbtopt,clbt,trigger,triggonclickmeth,displayoutopt,posit,def_disp,slideab,slidestart,lbxhe,lbxhedim,meditpos,lbxleft,lbxledim,lbxwid,lbxwiddim,wiadjust,hadjust,lbxbdwidth,lbxtop,lbxtopdim,lbxbottom,lbxbodim,lbxright,lbxrightdim) { var topf; var leftf; var topof; var leftof; var rightf; var rightof; var bottomf; var bottomof; var screenheight=jQuery(window).height(); var screenwidth=jQuery(window).width(); var lbxwidtos; var lbxhetos; var dispche=0; if(trigger==2&& triggonclickmeth==2) { dispche=1; } var xyz_pbx_tracking_cookie_name="_xyz_pbx_until_"+id; var xyz_pbx_tracking_cookie_val=xyz_pbx_get_cookie_custom(xyz_pbx_tracking_cookie_name); if(dispche==0) { if(xyz_pbx_tracking_cookie_val==1) return; } if( mode=="page_count_only"|| mode =="both") { if(xyz_pbx_pc_cookie_val !=pagecount) return; } document.getElementById("pbx_light_"+id).style.display="block"; if(displayoutopt==1) { document.getElementById("pbx_fade_"+id).style.display="block"; } else { document.getElementById("pbx_fade_"+id).style.display="none"; } var hadjust; var wiadjust; var leftadjust; var rightadjust; var topadjust; var bottomadjust; if(lbxhedim=="px") { hadjust=(screenheight-lbxhe)/2; topadjust=screenheight-lbxhe; bottomadjust=screenheight-lbxhe; } else { hadjust=(100-lbxhe)/2; topadjust=100-lbxhe; bottomadjust=100-lbxhe; } if(lbxwiddim=="px") { leftadjust=screenwidth-lbxwid; rightadjust=screenwidth-lbxwid; wiadjust=(screenwidth-lbxwid)/2; } else { wiadjust=(100-lbxwid)/2; leftadjust=100-lbxwid; rightadjust=100-lbxwid; } hadjust=hadjust-lbxbdwidth; wiadjust=wiadjust-lbxbdwidth; if(posit==2) { if(displayoutopt==1 || (displayoutopt==2 && slideab==0)) { if(def_disp==2) { document.getElementById("pbx_light_"+id).style.top=hadjust+lbxhedim; document.getElementById("pbx_light_"+id).style.left="0px"; } if(def_disp==1) { document.getElementById("pbx_light_"+id).style.top="0px"; document.getElementById("pbx_light_"+id).style.left="0px"; } if(def_disp==3) { document.getElementById("pbx_light_"+id).style.bottom="0px"; document.getElementById("pbx_light_"+id).style.left="0px"; } if(def_disp==4) { document.getElementById("pbx_light_"+id).style.bottom="0px"; document.getElementById("pbx_light_"+id).style.left=wiadjust+lbxwiddim; } if(def_disp==5) { document.getElementById("pbx_light_"+id).style.bottom="0px"; document.getElementById("pbx_light_"+id).style.right="0px"; } if(def_disp==6) { document.getElementById("pbx_light_"+id).style.top=hadjust+lbxhedim; document.getElementById("pbx_light_"+id).style.right="0px"; } if(def_disp==7) { document.getElementById("pbx_light_"+id).style.top="0px"; document.getElementById("pbx_light_"+id).style.right="0px"; } if(def_disp==8) { document.getElementById("pbx_light_"+id).style.top="0px"; document.getElementById("pbx_light_"+id).style.left=wiadjust+lbxwiddim; } if(def_disp==9) { document.getElementById("pbx_light_"+id).style.top=hadjust+lbxhedim; document.getElementById("pbx_light_"+id).style.left=wiadjust+lbxwiddim; } } } if(posit==1) { if( (displayoutopt==2 && slideab==0)) { if(meditpos==1) { document.getElementById("pbx_light_"+id).style.top=lbxtop+lbxtopdim; document.getElementById("pbx_light_"+id).style.left=lbxleft+lbxledim; } if(meditpos==2) { document.getElementById("pbx_light_"+id).style.top=lbxtop+lbxtopdim; document.getElementById("pbx_light_"+id).style.left=wiadjust+lbxwiddim; document.getElementById("pbx_light_"+id).style.right=lbxright+lbxrightdimdim; } if(meditpos==3) { document.getElementById("pbx_light_"+id).style.top=hadjust+lbxhedim; document.getElementById("pbx_light_"+id).style.left=lbxleft+lbxledim; document.getElementById("pbx_light_"+id).style.bottom=lbxbottom+lbxbodim; } if(meditpos==4) { document.getElementById("pbx_light_"+id).style.top=hadjust+lbxhedim; document.getElementById("pbx_light_"+id).style.left=wiadjust+lbxwiddim; document.getElementById("pbx_light_"+id).style.right=lbxright+lbxrightdim; document.getElementById("pbx_light_"+id).style.bottom=lbxbottom+lbxbodim; } } } if(posit==2 && displayoutopt==4&&slideab==1) { var topsl; if(slidestart==0) { document.getElementById("pbx_light_"+id).style.top=-lbxhe+lbxhedim; if(def_disp==1) { document.getElementById("pbx_light_"+id).style.left='0px'; bottomf=document.getElementById('pbx_light_'+id).style.top; if(lbxhedim=="%") { tt=bottomf.split("%"); } else { tt=bottomf.split("px"); } bottomof=eval(tt[0]); topsl=eval(tt[0]-(2*lbxbdwidth)); jQuery('#pbx_light_'+id).animate({"top": "-="+bottomof+lbxhedim},"slow"); jQuery('#lbx_trig_div_'+id).animate({"top": "-="+topsl+lbxhedim},"slow"); } if(def_disp==7) { document.getElementById("pbx_light_"+id).style.right='0px'; bottomf=document.getElementById('pbx_light_'+id).style.top; if(lbxhedim=="%") { tt=bottomf.split("%"); } else { tt=bottomf.split("px"); } bottomof=eval(tt[0]); topsl=eval(tt[0]-(2*lbxbdwidth)); jQuery('#pbx_light_'+id).animate({"top": "-="+bottomof+lbxhedim},"slow"); jQuery('#lbx_trig_div_'+id).animate({"top": "-="+topsl+lbxhedim},"slow"); } if(def_disp==8) { var setleft=(screenwidth-lbxwid)/2-lbxbdwidth; document.getElementById("pbx_light_"+id).style.left=setleft+lbxwiddim; bottomf=document.getElementById('pbx_light_'+id).style.top; if(lbxhedim=="%") { tt=bottomf.split("%"); } else { tt=bottomf.split("px"); } bottomof=eval(tt[0]); topsl=eval(tt[0]-(2*lbxbdwidth)); jQuery('#pbx_light_'+id).animate({"top": "-="+bottomof+lbxhedim},"slow"); jQuery('#lbx_trig_div_'+id).animate({"top": "-="+topsl+lbxhedim},"slow"); } } if(slidestart==1) { var leftsl; document.getElementById("pbx_light_"+id).style.left=-lbxwid+lbxwiddim; if(def_disp==2) { document.getElementById("pbx_light_"+id).style.top=hadjust+lbxhedim; leftf=document.getElementById('pbx_light_'+id).style.left; if(lbxwiddim=="%") { tt=leftf.split("%"); } else { tt=leftf.split("px"); } leftof=eval(tt[0]); leftsl=eval(tt[0]-(2*lbxbdwidth)); jQuery('#pbx_light_'+id).animate({"left": "-="+leftof+lbxwiddim},"slow"); jQuery('#lbx_trig_div_'+id).animate({"left": "-="+leftsl+lbxwiddim},"slow"); } if(def_disp==1) { document.getElementById("pbx_light_"+id).style.top='0px'; leftf=document.getElementById('pbx_light_'+id).style.left; if(lbxwiddim=="%") { tt=leftf.split("%"); } else { tt=leftf.split("px"); } leftof=eval(tt[0]); leftsl=eval(tt[0]-(2*lbxbdwidth)); jQuery('#pbx_light_'+id).animate({"left": "-="+leftof+lbxwiddim},"slow"); jQuery('#lbx_trig_div_'+id).animate({"left": "-="+leftsl+lbxwiddim},"slow"); } if(def_disp==3) { document.getElementById("pbx_light_"+id).style.bottom='0px'; leftf=document.getElementById('pbx_light_'+id).style.left; if(lbxwiddim=="%") { tt=leftf.split("%"); } else { tt=leftf.split("px"); } leftof=eval(tt[0]); leftsl=eval(tt[0]-(2*lbxbdwidth)); jQuery('#pbx_light_'+id).animate({"left": "-="+leftof+lbxwiddim},"slow"); jQuery('#lbx_trig_div_'+id).animate({"left": "-="+leftsl+lbxwiddim},"slow"); } } if(slidestart==2) { document.getElementById("pbx_light_"+id).style.right=-lbxwid+lbxwiddim; var rightsl; if(def_disp==5) { var tt; document.getElementById("pbx_light_"+id).style.bottom='0px'; rightf=document.getElementById('pbx_light_'+id).style.right; if(lbxwiddim=="%") { tt=rightf.split("%"); } else { tt=rightf.split("px"); } rightof=eval(tt[0]); rightsl=eval(tt[0]-(2*lbxbdwidth)); jQuery('#pbx_light_'+id).animate({"right":"-="+rightof+lbxwiddim},"slow"); jQuery('#lbx_trig_div_'+id).animate({"right":"-="+rightsl+lbxwiddim},"slow"); } if(def_disp==6) { var tt; document.getElementById("pbx_light_"+id).style.top=hadjust+lbxhedim; rightf=document.getElementById('pbx_light_'+id).style.right; if(lbxwiddim=="%") { tt=rightf.split("%"); } else { tt=rightf.split("px"); } rightof=eval(tt[0]); rightsl=eval(tt[0]-(2*lbxbdwidth)); jQuery('#pbx_light_'+id).animate({"right":"-="+rightof+lbxwiddim},"slow"); jQuery('#lbx_trig_div_'+id).animate({"right":"-="+rightsl+lbxwiddim},"slow"); } if(def_disp==7) { var tt; document.getElementById("pbx_light_"+id).style.top='0px'; rightf=document.getElementById('pbx_light_'+id).style.right; if(lbxwiddim=="%") { tt=rightf.split("%"); } else { tt=rightf.split("px"); } rightof=eval(tt[0]); rightsl=eval(tt[0]-(2*lbxbdwidth)); jQuery('#pbx_light_'+id).animate({"right":"-="+rightof+lbxwiddim},"slow"); jQuery('#lbx_trig_div_'+id).animate({"right":"-="+rightsl+lbxwiddim},"slow"); } } if(slidestart==3) { document.getElementById("pbx_light_"+id).style.top=screenheight+'px'; var bottsl; toptof=lbxhe+(2*lbxbdwidth); topsl=lbxhe+(2*lbxbdwidth); if(def_disp==3) { var tt; document.getElementById("pbx_light_"+id).style.left='0px'; jQuery('#pbx_light_'+id).animate({"top": "-="+toptof+lbxhedim},"slow"); jQuery('#lbx_trig_div_'+id).animate({"bottom": "+="+topsl+lbxhedim},"slow"); } if(def_disp==4) { var tt; document.getElementById("pbx_light_"+id).style.left=wiadjust+lbxwiddim; jQuery('#pbx_light_'+id).animate({"top": "-="+toptof+lbxhedim},"slow"); jQuery('#lbx_trig_div_'+id).animate({"bottom": "+="+topsl+lbxhedim},"slow"); } if(def_disp==5) { var tt; document.getElementById("pbx_light_"+id).style.right='0px'; jQuery('#pbx_light_'+id).animate({"top": "-="+toptof+lbxhedim},"slow"); jQuery('#lbx_trig_div_'+id).animate({"bottom": "+="+topsl+lbxhedim},"slow"); } } } if(displayoutopt==4&&slideab==0) { var widtr=document.getElementById('lbx_trig_div_'+id).offsetWidth; var hetr=document.getElementById('lbx_trig_div_'+id).offsetHeight; lbxwidtos=lbxwid+(2*lbxbdwidth); lbxhetos=lbxhe+(2*lbxbdwidth); if(slidestart==0) { if(def_disp==1) { var calcut=lbxhetos; var calcul=((lbxwidtos-widtr)/2); document.getElementById('lbx_trig_div_'+id).style.top=calcut+'px'; document.getElementById('lbx_trig_div_'+id).style.left=calcul+'px'; } if(def_disp==8) { var calcut=lbxhetos; var calcul=((screenwidth-widtr)/2); document.getElementById('lbx_trig_div_'+id).style.top=calcut+'px'; document.getElementById('lbx_trig_div_'+id).style.left=calcul+'px'; } if(def_disp==7) { var calcut=lbxhetos; var calcul=((lbxwidtos-widtr)/2); document.getElementById('lbx_trig_div_'+id).style.top=calcut+'px'; document.getElementById('lbx_trig_div_'+id).style.right=calcul+'px'; } } if(slidestart==1) { if(def_disp==1) { var calcut=lbxwidtos; var calcul=((lbxhetos-hetr)/2); document.getElementById('lbx_trig_div_'+id).style.left=calcut+'px'; document.getElementById('lbx_trig_div_'+id).style.top=calcul+'px'; } if(def_disp==2) { var calcut=lbxwidtos; var calcul=((screenheight-hetr)/2); document.getElementById('lbx_trig_div_'+id).style.left=calcut+'px'; document.getElementById('lbx_trig_div_'+id).style.top=calcul+'px'; } if(def_disp==3) { var calcut=lbxwidtos; var calcul=((lbxhetos-hetr)/2); document.getElementById('lbx_trig_div_'+id).style.left=calcut+'px'; document.getElementById('lbx_trig_div_'+id).style.bottom=calcul+'px'; } } if(slidestart==2) { if(def_disp==7) { var calcut=lbxwidtos; var calcul=((lbxhetos-hetr)/2); document.getElementById('lbx_trig_div_'+id).style.right=calcut+'px'; document.getElementById('lbx_trig_div_'+id).style.top=calcul+'px'; } if(def_disp==6) { var calcut=lbxwidtos; var calcul=((screenheight-hetr)/2); document.getElementById('lbx_trig_div_'+id).style.right=calcut+'px'; document.getElementById('lbx_trig_div_'+id).style.top=calcul+'px'; } if(def_disp==5) { var calcut=lbxwidtos; var calcul=((lbxhetos-hetr)/2); document.getElementById('lbx_trig_div_'+id).style.right=calcut+'px'; document.getElementById('lbx_trig_div_'+id).style.bottom=calcul+'px'; } } if(slidestart==3) { if(def_disp==3) { var calcut=(lbxwid-widtr)/2; var calcul=lbxhetos; document.getElementById('lbx_trig_div_'+id).style.left=calcut+'px'; document.getElementById('lbx_trig_div_'+id).style.bottom=calcul+'px'; } if(def_disp==4) { var calcut=(screenwidth-widtr)/2; var calcul=lbxhetos; document.getElementById('lbx_trig_div_'+id).style.left=calcut+'px'; document.getElementById('lbx_trig_div_'+id).style.bottom=calcul+'px'; } if(def_disp==5) { var calcut=(lbxwid-widtr)/2; var calcul=lbxhetos; document.getElementById('lbx_trig_div_'+id).style.right=calcut+'px'; document.getElementById('lbx_trig_div_'+id).style.bottom=calcul+'px'; } } } if(posit==2 && displayoutopt==2&&slideab==1) { if(slidestart==0) { document.getElementById("pbx_light_"+id).style.top=-lbxhe+lbxhedim; if(def_disp==2) { document.getElementById("pbx_light_"+id).style.left='0px'; bottomf=document.getElementById('pbx_light_'+id).style.top; if(lbxhedim=="%") { tt=bottomf.split("%"); } else { tt=bottomf.split("px"); } bottomof=eval(hadjust-tt[0]); jQuery('#pbx_light_'+id).animate({"top": "+="+bottomof+lbxhedim},"slow"); } if(def_disp==1) { document.getElementById("pbx_light_"+id).style.left='0px'; bottomf=document.getElementById('pbx_light_'+id).style.top; if(lbxhedim=="%") { tt=bottomf.split("%"); } else { tt=bottomf.split("px"); } bottomof=eval(tt[0]); jQuery('#pbx_light_'+id).animate({"top": "-="+bottomof+lbxhedim},"slow"); } if(def_disp==3) { document.getElementById("pbx_light_"+id).style.left='0px'; bottomf=document.getElementById('pbx_light_'+id).style.top; var calcu; if(lbxhedim=="%") { tt=bottomf.split("%"); calcu=100-lbxhe; } else { tt=bottomf.split("px"); calcu=screenheight-lbxhe; } bottomof=eval(calcu-tt[0]-2*lbxbdwidth); jQuery('#pbx_light_'+id).animate({"top": "+="+bottomof+lbxhedim},"slow"); } if(def_disp==4) { var leftset=(screenwidth-lbxwid)/2; document.getElementById("pbx_light_"+id).style.left=leftset+'px'; bottomf=document.getElementById('pbx_light_'+id).style.top; var calcu; if(lbxhedim=="%") { tt=bottomf.split("%"); calcu=100-lbxhe; } else { tt=bottomf.split("px"); calcu=screenheight-lbxhe; } bottomof=eval(calcu-tt[0]-2*lbxbdwidth); jQuery('#pbx_light_'+id).animate({"top": "+="+bottomof+lbxhedim},"slow"); } if(def_disp==5) { var leftset=screenwidth-lbxwid-(2*lbxbdwidth); document.getElementById("pbx_light_"+id).style.left= leftset+'px'; bottomf=document.getElementById('pbx_light_'+id).style.top; var calcu; if(lbxhedim=="%") { tt=bottomf.split("%"); calcu=100-lbxhe; } else { tt=bottomf.split("px"); calcu=screenheight-lbxhe; } bottomof=eval(calcu-tt[0]-2*lbxbdwidth); jQuery('#pbx_light_'+id).animate({"top": "+="+bottomof+lbxhedim},"slow"); } if(def_disp==6) { var leftset=screenwidth-lbxwid-(2*lbxbdwidth); document.getElementById("pbx_light_"+id).style.left= leftset+'px'; bottomf=document.getElementById('pbx_light_'+id).style.top; if(lbxhedim=="%") { tt=bottomf.split("%"); } else { tt=bottomf.split("px"); } bottomof=eval(hadjust-tt[0]); jQuery('#pbx_light_'+id).animate({"top": "+="+bottomof+lbxhedim},"slow"); } if(def_disp==7) { var leftset=screenwidth-lbxwid-(2*lbxbdwidth); document.getElementById("pbx_light_"+id).style.left= leftset+'px'; bottomf=document.getElementById('pbx_light_'+id).style.top; if(lbxhedim=="%") { tt=bottomf.split("%"); } else { tt=bottomf.split("px"); } bottomof=eval(tt[0]); jQuery('#pbx_light_'+id).animate({"top": "-="+bottomof+lbxhedim},"slow"); } if(def_disp==8) { var rightset=(screenwidth-lbxwid)/2; document.getElementById("pbx_light_"+id).style.left=rightset+'px'; bottomf=document.getElementById('pbx_light_'+id).style.top; if(lbxhedim=="%") { tt=bottomf.split("%"); } else { tt=bottomf.split("px"); } bottomof=eval(tt[0]); jQuery('#pbx_light_'+id).animate({"top": "-="+bottomof+lbxhedim},"slow"); } if(def_disp==9) { var rightset=(screenwidth-lbxwid)/2; document.getElementById("pbx_light_"+id).style.left=rightset+'px'; bottomf=document.getElementById('pbx_light_'+id).style.top; if(lbxhedim=="%") { tt=bottomf.split("%"); } else { tt=bottomf.split("px"); } bottomof=eval(hadjust-tt[0]); jQuery('#pbx_light_'+id).animate({"top": "+="+bottomof+lbxhedim},"slow"); } } if(slidestart==1) { document.getElementById("pbx_light_"+id).style.left=-lbxwid+lbxwiddim; if(def_disp==2) { document.getElementById("pbx_light_"+id).style.top=hadjust+lbxhedim; leftf=document.getElementById('pbx_light_'+id).style.left; if(lbxwiddim=="%") { tt=leftf.split("%"); } else { tt=leftf.split("px"); } leftof=eval(tt[0]); jQuery('#pbx_light_'+id).animate({"left": "-="+leftof+lbxwiddim},"slow"); } if(def_disp==1) { document.getElementById("pbx_light_"+id).style.top='0px'; leftf=document.getElementById('pbx_light_'+id).style.left; if(lbxwiddim=="%") { tt=leftf.split("%"); } else { tt=leftf.split("px"); } leftof=eval(tt[0]); jQuery('#pbx_light_'+id).animate({"left": "-="+leftof+lbxwiddim},"slow"); } if(def_disp==3) { var bottomset=screenheight-lbxhe-(2*lbxbdwidth); document.getElementById("pbx_light_"+id).style.top=bottomset+'px'; leftf=document.getElementById('pbx_light_'+id).style.left; if(lbxwiddim=="%") { tt=leftf.split("%"); } else { tt=leftf.split("px"); } leftof=eval(tt[0]); jQuery('#pbx_light_'+id).animate({"left": "-="+leftof+lbxwiddim},"slow"); } if(def_disp==4) { var bottomset=screenheight-lbxhe-(2*lbxbdwidth); document.getElementById("pbx_light_"+id).style.top=bottomset+'px'; leftf=document.getElementById('pbx_light_'+id).style.left; if(lbxwiddim=="%") { tt=leftf.split("%"); } else { tt=leftf.split("px"); } leftof=eval(wiadjust-tt[0]); jQuery('#pbx_light_'+id).animate({"left": "+="+leftof+lbxwiddim},"slow"); } if(def_disp==5) { var bottomset=screenheight-lbxhe-(2*lbxbdwidth); document.getElementById("pbx_light_"+id).style.top=bottomset+'px'; leftf=document.getElementById('pbx_light_'+id).style.left; var calcu; if(lbxwiddim=="%") { tt=leftf.split("%"); calcu=100-lbxwid; } else { tt=leftf.split("px"); calcu=screenwidth-lbxwid; } leftof=eval(calcu-tt[0]-(2*lbxbdwidth)); jQuery('#pbx_light_'+id).animate({"left": "+="+leftof+lbxwiddim},"slow"); } if(def_disp==6) { document.getElementById("pbx_light_"+id).style.top=hadjust+lbxhedim; leftf=document.getElementById('pbx_light_'+id).style.left; var calcu; if(lbxwiddim=="%") { tt=leftf.split("%"); calcu=100-lbxwid; } else { tt=leftf.split("px"); calcu=screenwidth-lbxwid; } leftof=eval(calcu-tt[0]-(2*lbxbdwidth)); jQuery('#pbx_light_'+id).animate({"left": "+="+leftof+lbxwiddim},"slow"); } if(def_disp==7) { document.getElementById("pbx_light_"+id).style.top='0px'; leftf=document.getElementById('pbx_light_'+id).style.left; var calcu; if(lbxwiddim=="%") { tt=leftf.split("%"); calcu=100-lbxwid; } else { tt=leftf.split("px"); calcu=screenwidth-lbxwid; } leftof=eval(calcu-tt[0]-(2*lbxbdwidth)); jQuery('#pbx_light_'+id).animate({"left": "+="+leftof+lbxwiddim},"slow"); } if(def_disp==8) { document.getElementById("pbx_light_"+id).style.top='0px'; leftf=document.getElementById('pbx_light_'+id).style.left; if(lbxwiddim=="%") { tt=leftf.split("%"); } else { tt=leftf.split("px"); } leftof=eval(wiadjust-tt[0]); jQuery('#pbx_light_'+id).animate({"left": "+="+leftof+lbxwiddim},"slow"); } if(def_disp==9) { document.getElementById("pbx_light_"+id).style.top=hadjust+lbxhedim; leftf=document.getElementById('pbx_light_'+id).style.left; if(lbxwiddim=="%") { tt=leftf.split("%"); } else { tt=leftf.split("px"); } leftof=eval(wiadjust-tt[0]); jQuery('#pbx_light_'+id).animate({"left": "+="+leftof+lbxwiddim},"slow"); } } if(slidestart==2) { document.getElementById("pbx_light_"+id).style.left=screenwidth+'px'; if(def_disp==2) { var calcu; var tt; document.getElementById("pbx_light_"+id).style.top=hadjust+lbxhedim; var slpx=screenwidth; jQuery('#pbx_light_'+id).animate({"left": "-="+slpx+'px'},"slow"); } if(def_disp==1) { var calcu; var tt; document.getElementById("pbx_light_"+id).style.top='0px'; var slpx=screenwidth; jQuery('#pbx_light_'+id).animate({"left": "-="+slpx+'px'},"slow"); } if(def_disp==3) { var tt; var calcu; var setpx=screenheight-lbxhe-(2*lbxbdwidth); document.getElementById("pbx_light_"+id).style.top=setpx+'px'; var slpx=screenwidth; jQuery('#pbx_light_'+id).animate({"left": "-="+slpx+'px'},"slow"); } if(def_disp==4) { var tt; var setpx=screenheight-lbxhe-(2*lbxbdwidth); document.getElementById("pbx_light_"+id).style.top=setpx+'px'; var slpx=screenwidth/2+lbxwid/2; jQuery('#pbx_light_'+id).animate({"left": "-="+slpx+'px'},"slow"); } if(def_disp==5) { var tt; var setpx=screenheight-lbxhe-(2*lbxbdwidth); document.getElementById("pbx_light_"+id).style.top=setpx+'px'; rightf=document.getElementById('pbx_light_'+id).style.right; var slpx=lbxwid+(2*lbxbdwidth); jQuery('#pbx_light_'+id).animate({"left": "-="+slpx+'px'},"slow"); } if(def_disp==6) { var tt; document.getElementById("pbx_light_"+id).style.top=hadjust+lbxhedim; var slpx=lbxwid+(2*lbxbdwidth); jQuery('#pbx_light_'+id).animate({"left": "-="+slpx+'px'},"slow"); } if(def_disp==7) { var tt; document.getElementById("pbx_light_"+id).style.top='0px'; var slpx=lbxwid+(2*lbxbdwidth); jQuery('#pbx_light_'+id).animate({"left": "-="+slpx+'px'},"slow"); } if(def_disp==8) { var tt; document.getElementById("pbx_light_"+id).style.top='0px'; var slpx=screenwidth/2+lbxwid/2; jQuery('#pbx_light_'+id).animate({"left": "-="+slpx+'px'},"slow"); } if(def_disp==9) { var tt; document.getElementById("pbx_light_"+id).style.top=hadjust+lbxhedim; rightf=document.getElementById('pbx_light_'+id).style.right; var slpx=screenwidth/2+lbxwid/2; jQuery('#pbx_light_'+id).animate({"left": "-="+slpx+'px'},"slow"); } } if(slidestart==3) { document.getElementById("pbx_light_"+id).style.top=screenheight+'px'; if(def_disp==2) { var tt; document.getElementById("pbx_light_"+id).style.left='0px'; var slpx=(screenheight+lbxhe)/2+lbxbdwidth; jQuery('#pbx_light_'+id).animate({"top": "-="+slpx+'px'},"slow"); } if(def_disp==1) { var tt; var calcu; document.getElementById("pbx_light_"+id).style.left='0px'; var slpx=screenheight; jQuery('#pbx_light_'+id).animate({"top": "-="+slpx+'px'},"slow"); } if(def_disp==3) { var tt; document.getElementById("pbx_light_"+id).style.left='0px'; var slpx=lbxhe+(2*lbxbdwidth); jQuery('#pbx_light_'+id).animate({"top": "-="+slpx+'px'},"slow"); } if(def_disp==4) { var tt; document.getElementById("pbx_light_"+id).style.left=wiadjust+lbxwiddim; var slpx=lbxhe+(2*lbxbdwidth); jQuery('#pbx_light_'+id).animate({"top": "-="+slpx+'px'},"slow"); } if(def_disp==5) { var tt; var setright=screenwidth-lbxwid-(2*lbxbdwidth); document.getElementById("pbx_light_"+id).style.left=setright+'px'; var slpx=lbxhe+(2*lbxbdwidth); jQuery('#pbx_light_'+id).animate({"top": "-="+slpx+'px'},"slow"); } if(def_disp==6) { var tt; var setright=screenwidth-lbxwid-(2*lbxbdwidth); document.getElementById("pbx_light_"+id).style.left=setright+'px'; var slpx=(screenheight+lbxhe)/2+lbxbdwidth; jQuery('#pbx_light_'+id).animate({"top": "-="+slpx+'px'},"slow"); } if(def_disp==7) { var tt; var setright=screenwidth-lbxwid-(2*lbxbdwidth); document.getElementById("pbx_light_"+id).style.left=setright+'px'; var slpx=screenheight; jQuery('#pbx_light_'+id).animate({"top": "-="+slpx+'px'},"slow"); } if(def_disp==8) { var calcu; var tt; document.getElementById("pbx_light_"+id).style.left=wiadjust+lbxwiddim; var slpx=screenheight; jQuery('#pbx_light_'+id).animate({"top": "-="+slpx+'px'},"slow"); } if(def_disp==9) { var tt; document.getElementById("pbx_light_"+id).style.left=wiadjust+lbxwiddim; var slpx=(screenheight+lbxhe)/2; jQuery('#pbx_light_'+id).animate({"top": "-="+slpx+'px'},"slow"); } } } if(posit==1&&displayoutopt==2&&slideab==1) { if(slidestart==3) { document.getElementById("pbx_light_"+id).style.top=screenheight+'px'; if(meditpos==1) { document.getElementById("pbx_light_"+id).style.left=lbxleft+lbxledim; var toptosl; if(lbxtopdim=="%") { toptosl=100-lbxtop; } else { toptosl=screenheight-lbxtop; } jQuery('#pbx_light_'+id).animate({"top": "-="+toptosl+lbxtopdim},"slow"); } if(meditpos==3) { document.getElementById("pbx_light_"+id).style.left=lbxleft+lbxledim; var toptosl; if(lbxbodim=="%") { var botpix=(screenheight*lbxbottom)/100; toptosl=lbxhe+botpix; } else { toptosl=lbxhe+lbxbottom; } jQuery('#pbx_light_'+id).animate({"top": "-="+toptosl+'px'},"slow"); } if(meditpos==4) { var tt; var wicpx; var wicps; var calcu; if(lbxrightdim=="%") { rightpx=(screenwidth*lbxright)/100; } else { rightpx=lbxright; } var setleft=screenwidth-lbxwid-rightpx-(2*lbxbdwidth); document.getElementById("pbx_light_"+id).style.left=setleft+'px'; var toptosl; if(lbxbodim=="%") { var botpix=(screenheight*lbxbottom)/100; toptosl=lbxhe+botpix+(2*lbxbdwidth); } else { toptosl=lbxhe+lbxbottom+(2*lbxbdwidth); } jQuery('#pbx_light_'+id).animate({"top": "-="+toptosl+'px'},"slow"); } if(meditpos==2) { var rightpx; if(lbxrightdim=="%") { rightpx=(screenwidth*lbxright)/100; } else { rightpx=lbxright; } var setleft=screenwidth-lbxwid-rightpx-(2*lbxbdwidth); document.getElementById("pbx_light_"+id).style.left=setleft+'px'; var toptosl; if(lbxtopdim=="%") { toptosl=100-lbxtop; } else { toptosl=screenheight-lbxtop; } jQuery('#pbx_light_'+id).animate({"top": "-="+toptosl+lbxtopdim},"slow"); } } if(slidestart==1) { document.getElementById("pbx_light_"+id).style.left=-lbxwid+lbxwiddim; if(meditpos==1) { var tt; var wicpx; var wicps; var calcu; document.getElementById("pbx_light_"+id).style.top=lbxtop+lbxtopdim; leftf=document.getElementById("pbx_light_"+id).style.left; if(lbxwiddim=="%") { tt=leftf.split("%"); var ri=eval(tt[0]); wicpx=(screenwidth*ri)/100; } else { tt=leftf.split("px"); var ri=eval(tt[0]); wicps=(100*ri)/screenwidth; } if(lbxledim=="%") { if(lbxwiddim=="%") { leftof=eval(lbxleft-tt[0]); } else { leftof=eval(lbxleft-wicps); } } if(lbxledim=="px") { if(lbxwiddim=="px") { leftof=eval(lbxleft-tt[0]); } else { leftof=eval(lbxleft-wicpx); } } jQuery('#pbx_light_'+id).animate({"left": "+="+leftof+lbxledim},"slow"); } if(meditpos==2) { var tt; var wicpx; var wicps; var ttc; var calcu; document.getElementById("pbx_light_"+id).style.top=lbxtop+lbxtopdim; rightf=document.getElementById("pbx_light_"+id).style.left; if(lbxwiddim=="%") { tt=rightf.split("%"); wicpx=(screenwidth*lbxwid)/100; ttc=(screenwidth*tt[0])/100; } else { tt=rightf.split("px"); wicps=(100*lbxwid)/screenwidth; ttc=(100*tt[0])/screenwidth; } if(lbxrightdim=="%") { if(lbxwiddim=="%") { calcu=100-lbxright-lbxwid; } else { calcu=100-lbxright-wicps; } } if(lbxrightdim=="px") { if(lbxwiddim=="px") { calcu=screenwidth-lbxright-lbxwid; } else { calcu=screenwidth-lbxright-wicpx; } } rightof=eval(calcu-ttc); jQuery('#pbx_light_'+id).animate({"left": "+="+rightof+lbxrightdim},"slow"); } if(meditpos==3) { var tt; var wicpx; var wicps; var calcu; var botpx; if(lbxbodim=="%") { botpx=(screenheight*lbxbottom)/100; } else { botpx=lbxbottom; } var topset=screenheight-lbxhe-botpx; document.getElementById("pbx_light_"+id).style.top=topset+'px'; leftf=document.getElementById("pbx_light_"+id).style.left; if(lbxwiddim=="%") { tt=leftf.split("%"); var ri=eval(tt[0]); wicpx=(screenwidth*ri)/100; } else { tt=leftf.split("px"); var ri=eval(tt[0]); wicps=(100*ri)/screenwidth; } if(lbxledim=="%") { if(lbxwiddim=="%") { leftof=eval(lbxleft-tt[0]); } else { leftof=eval(lbxleft-wicps); } } if(lbxledim=="px") { if(lbxwiddim=="px") { leftof=eval(lbxleft-tt[0]); } else { leftof=eval(lbxleft-wicpx); } } jQuery('#pbx_light_'+id).animate({"left": "+="+leftof+lbxledim},"slow"); } if(meditpos==4) { var tt; var wicpx; var wicps; var ttc; var calcu; var botpx; if(lbxbodim=="%") { botpx=(screenheight*lbxbottom)/100; } else { botpx=lbxbottom; } var topset=screenheight-lbxhe-botpx; document.getElementById("pbx_light_"+id).style.top=topset+'px'; rightf=document.getElementById("pbx_light_"+id).style.left; if(lbxwiddim=="%") { tt=rightf.split("%"); wicpx=(screenwidth*lbxwid)/100; ttc=(screenwidth*tt[0])/100; } else { tt=rightf.split("px"); wicps=(100*lbxwid)/screenwidth; ttc=(100*tt[0])/screenwidth; } if(lbxrightdim=="%") { if(lbxwiddim=="%") { calcu=100-lbxright-lbxwid; } else { calcu=100-lbxright-wicps; } } if(lbxrightdim=="px") { if(lbxwiddim=="px") { calcu=screenwidth-lbxright-lbxwid; } else { calcu=screenwidth-lbxright-wicpx; } } rightof=eval(calcu-ttc); jQuery('#pbx_light_'+id).animate({"left": "+="+rightof+lbxrightdim},"slow"); } } if(slidestart==2) { document.getElementById("pbx_light_"+id).style.left=screenwidth+'px'; if(meditpos==1) { var tt; var wicpx; var wicps; var ttc; var calcu; document.getElementById("pbx_light_"+id).style.top=lbxtop+lbxtopdim; if(lbxledim=="%") { calcu=100-lbxleft; } if(lbxledim=="px") { calcu=screenwidth-lbxleft; } rightof=eval(calcu); jQuery('#pbx_light_'+id).animate({"left": "-="+rightof+lbxledim},"slow"); } if(meditpos==2) { var calcu; document.getElementById("pbx_light_"+id).style.top=lbxtop+lbxtopdim; if(lbxrightdim=="%") { calcu=(screenwidth*lbxright)/100; } if(lbxrightdim=="px") { calcu=lbxright; } rightof=eval(lbxwid+calcu); jQuery('#pbx_light_'+id).animate({"left": "-="+rightof+'px'},"slow"); } if(meditpos==3) { var tt; var wicpx; var wicps; var ttc; var calcu; var bottpx; if(lbxbodim=="%") { bottpx=(lbxbottom*screenheight) /100; } else { bottpx=lbxbottom; } var topset=screenheight-(lbxhe+bottpx); document.getElementById("pbx_light_"+id).style.top=topset+'px'; if(lbxledim=="%") { calcu=100-lbxleft; } if(lbxledim=="px") { calcu=screenwidth-lbxleft; } rightof=eval(calcu); jQuery('#pbx_light_'+id).animate({"left": "-="+rightof+lbxledim},"slow"); } if(meditpos==4) { var tt; var wicpx; var wicps; var calcu; if(lbxbodim=="%") { bottpx=(lbxbottom*screenheight) /100; } else { bottpx=lbxbottom; } var topset=screenheight-(lbxhe+bottpx); document.getElementById("pbx_light_"+id).style.top=topset+'px'; if(lbxrightdim=="%") { calcu=(screenwidth*lbxright)/100; } if(lbxrightdim=="px") { calcu=lbxright; } rightof=eval(lbxwid+calcu); jQuery('#pbx_light_'+id).animate({"left": "-="+rightof+'px'},"slow"); } } if(slidestart==0) { document.getElementById("pbx_light_"+id).style.top=-lbxhe+lbxhedim; if(meditpos==1) { var tt; var wicpx; var wicps; var calcu; document.getElementById("pbx_light_"+id).style.left=lbxleft+lbxledim; topf=document.getElementById("pbx_light_"+id).style.top; if(lbxhedim=="%") { tt=topf.split("%"); var ri=eval(tt[0]); wicpx=(screenheight*ri)/100; } else { tt=topf.split("px"); var ri=eval(tt[0]); wicps=(100*ri)/screenheight; } if(lbxtopdim=="%") { if(lbxhedim=="%") { topof=eval(lbxtop-tt[0]); } else { topof=eval(lbxtop-wicps); } } if(lbxtopdim=="px") { if(lbxwiddim=="px") { topof=eval(lbxtop-tt[0]); } else { topof=eval(lbxtop-wicpx); } } jQuery('#pbx_light_'+id).animate({"top": "+="+topof+lbxtopdim},"slow"); } if(meditpos==2) { var tt; var wicpx; var wicps; var calcu; var rightpx; if(lbxrightdim=="%") { rightpx=(lbxright*screenwidth)/100; } else { rightpx=lbxright; } var leftset=screenwidth-rightpx-lbxwid; document.getElementById("pbx_light_"+id).style.left=leftset+'px'; topf=document.getElementById("pbx_light_"+id).style.top; if(lbxhedim=="%") { tt=topf.split("%"); var ri=eval(tt[0]); wicpx=(screenheight*ri)/100; } else { tt=topf.split("px"); var ri=eval(tt[0]); wicps=(100*ri)/screenheight; } if(lbxtopdim=="%") { if(lbxhedim=="%") { topof=eval(lbxtop-tt[0]); } else { topof=eval(lbxtop-wicps); } } if(lbxtopdim=="px") { if(lbxwiddim=="px") { topof=eval(lbxtop-tt[0]); } else { topof=eval(lbxtop-wicpx); } } jQuery('#pbx_light_'+id).animate({"top": "+="+topof+lbxtopdim},"slow"); } if(meditpos==3) { var tt; var wicpx; var wicps; var ttc; var calcu; var bottpx; document.getElementById("pbx_light_"+id).style.left=lbxleft+lbxledim; topf=document.getElementById("pbx_light_"+id).style.top; if(lbxhedim=="%") { tt=topf.split("%"); wicpx=(screenheight*lbxhe)/100; ttc=(screenheght*tt[0])/100; } else { tt=topf.split("px"); wicps=(100*lbxhe)/screenheight; ttc=(100*tt[0])/screenheight; } if(lbxbodim=="%") { if(lbxhedim=="%") { calcu=100-lbxhe-lbxbottom; } else { calcu=100-wicps-lbxbottom; } } if(lbxtopdim=="px") { if(lbxwiddim=="px") { calcu=screenheight-lbxhe-lbxbottom; } else { calcu=screenheight-wicpx-lbxbottom; } } topof=eval(calcu-ttc); jQuery('#pbx_light_'+id).animate({"top": "+="+topof+lbxbodim},"slow"); } if(meditpos==4) { var tt; var wicpx; var wicps; var ttc; var calcu; if(lbxrightdim=="%") { rightpx=(lbxright*screenwidth)/100; } else { rightpx=lbxright; } var leftset=screenwidth-rightpx-lbxwid; document.getElementById("pbx_light_"+id).style.left=leftset+'px'; topf=document.getElementById("pbx_light_"+id).style.top; if(lbxhedim=="%") { tt=topf.split("%"); wicpx=(screenheight*lbxhe)/100; ttc=(screenheght*tt[0])/100; } else { tt=topf.split("px"); wicps=(100*lbxhe)/screenheight; ttc=(100*tt[0])/screenheight; } if(lbxbodim=="%") { if(lbxhedim=="%") { calcu=100-lbxhe-lbxbottom; } else { calcu=100-wicps-lbxbottom; } } if(lbxtopdim=="px") { if(lbxwiddim=="px") { calcu=screenheight-lbxhe-lbxbottom; } else { calcu=screenheight-wicpx-lbxbottom; } } topof=eval(calcu-ttc); jQuery('#pbx_light_'+id).animate({"top": "+="+topof+lbxbodim},"slow"); } } } //alert(lbx_tracking_cookie_val); if(clbtopt==1){ setTimeout("pbx_show_closebutton_custom("+id+")",clbt*1000); } expires_date = new Date( xyz_pbx_custom_today.getTime() + (repeat * 60 * 1000) ); document.cookie = xyz_pbx_tracking_cookie_name + "=1;expires=" + expires_date.toGMTString() + ";path=/"; eval("xyz_pbx_rendered"+id+"=true"); } function xyz_pbx_get_cookie_custom( name ) { var start = document.cookie.indexOf( name + "=" ); //alert(document.cookie); var len = start + name.length + 1; if ( ( !start ) && ( name != document.cookie.substring( 0, name.length ) ) ) { return null; } if ( start == -1 ) return null; var end = document.cookie.indexOf( ";", len ); if ( end == -1 ) end = document.cookie.length; return unescape( document.cookie.substring( len, end ) ); } function xyz_lbx_trigerback1189(evt) { pbx_hide_lightbox_custom(evt,pbx_id1189, pbx_trigger_onclick_method1189, pbx_trigger1189,pbx_def_disp1189,pbx_displayoutopt1189, pbx_slideab1189,pbx_slidestart1189,pbx_lbxtop1189,pbx_lbxtopdim1189,pbx_lbxleft1189,pbx_lbxledim1189,pbx_lbxright1189,pbx_lbxrightdim1189,pbx_lbxbottom1189,pbx_lbxbodim1189,pbx_lbxhe1189,pbx_lbxhedim1189,pbx_lbxwid1189,pbx_lbxwiddim1189,pbx_lbxbdwidth1189); } function xyz_lbx_trig1189() { xyz_pbx_pc_cookie_name1189="_xyz_pbx_pc_1189"; xyz_pbx_pc_cookie_val1189=xyz_pbx_get_cookie_custom(xyz_pbx_pc_cookie_name1189); if(xyz_pbx_pc_cookie_val1189==null) xyz_pbx_pc_cookie_val1189 = 1; else xyz_pbx_pc_cookie_val1189 = (xyz_pbx_pc_cookie_val1189 % pbx_pagecount1189 ) +1; expires_date = new Date( xyz_pbx_custom_today.getTime() + (24 * 60 * 60 * 1000) ); document.cookie = xyz_pbx_pc_cookie_name1189 + "=" + xyz_pbx_pc_cookie_val1189 + ";expires=" + expires_date.toGMTString() + ";path=/"; if("page_count_only" == "page_count_only") pbx_show_lightbox_custom(pbx_id1189,xyz_pbx_pc_cookie_val1189,"page_count_only",pbx_pagecount1189,pbx_repeat1189,pbx_clbtopt1189,pbx_clbt1189,pbx_trigger1189,pbx_trigger_onclick_method1189,pbx_displayoutopt1189,pbx_posit1189,pbx_def_disp1189,pbx_slideab1189,pbx_slidestart1189,pbx_lbxhe1189,pbx_lbxhedim1189,pbx_meditpos1189,pbx_lbxleft1189,pbx_lbxledim1189,pbx_lbxwid1189,pbx_lbxwiddim1189,pbx_wiadjust1189,pbx_hadjust1189,pbx_lbxbdwidth1189,pbx_lbxtop1189,pbx_lbxtopdim1189,pbx_lbxbottom1189,pbx_lbxbodim1189,pbx_lbxright1189,pbx_lbxrightdim1189); else setTimeout("pbx_show_lightbox_custom("+pbx_id1189+','+xyz_pbx_pc_cookie_val1189+',"page_count_only" ,'+pbx_pagecount1189+','+pbx_repeat1189+','+pbx_clbtopt1189+','+pbx_clbt1189+','+pbx_trigger1189+','+pbx_trigger_onclick_method1189+','+pbx_displayoutopt1189+','+pbx_posit1189+','+pbx_def_disp1189+','+pbx_slideab1189+','+pbx_slidestart1189+','+pbx_lbxhe1189+',"'+pbx_lbxhedim1189+'",'+pbx_meditpos1189+','+pbx_lbxleft1189+',"'+pbx_lbxledim1189+'",'+pbx_lbxwid1189+',"'+pbx_lbxwiddim1189+'",'+pbx_wiadjust1189+','+pbx_hadjust1189+','+pbx_lbxbdwidth1189+','+pbx_lbxtop1189+',"'+pbx_lbxtopdim1189+'",'+pbx_lbxbottom1189+',"'+pbx_lbxbodim1189+'",'+pbx_lbxright1189+',"'+pbx_lbxrightdim1189+'")',0); xyz_pbx_rendered1189=true; } function executejs1189() { jQuery(document).ready(function(){ var screenheight=jQuery(window).height(); var screenwidth=jQuery(window).width(); if(pbx_displayoutopt1189==3) { pbx_lbxhe1189=screenheight-(2*pbx_lbxbdwidth1189); pbx_lbxwid1189=screenwidth-(2*pbx_lbxbdwidth1189); document.getElementById("pbx_light_"+1189).style.height=pbx_lbxhe1189+'px'; document.getElementById("pbx_light_"+1189).style.width=pbx_lbxwid1189+'px'; } else { if(pbx_lbxhedim1189=="%") { var hadnjust=(screenheight*pbx_lbxhe1189)/100; pbx_lbxhe1189=hadnjust-(2*pbx_lbxbdwidth1189); document.getElementById("pbx_light_"+1189).style.height=pbx_lbxhe1189+'px'; pbx_lbxhedim1189="px"; } else { pbx_lbxhe1189=pbx_lbxhe1189-(2*pbx_lbxbdwidth1189); document.getElementById("pbx_light_"+1189).style.height=pbx_lbxhe1189+'px'; } if(pbx_lbxwiddim1189=="%") { var wiadnjust=(screenwidth*pbx_lbxwid1189)/100; pbx_lbxwid1189=wiadnjust-(2*pbx_lbxbdwidth1189); document.getElementById("pbx_light_"+1189).style.width=pbx_lbxwid1189+'px'; pbx_lbxwiddim1189="px"; } else { pbx_lbxwid1189=pbx_lbxwid1189-(2*pbx_lbxbdwidth1189); document.getElementById("pbx_light_"+1189).style.width=pbx_lbxwid1189+'px'; } } if(pbx_lbxhedim1189=="px") { pbx_hadjust1189=(screenheight-pbx_lbxhe1189)/2; } else { pbx_hadjust1189=(100-pbx_lbxhe1189)/2; } if(pbx_lbxwiddim1189=="px") { pbx_wiadjust1189=(screenwidth-pbx_lbxwid1189)/2; } else { pbx_wiadjust1189=(100-pbx_lbxwid1189)/2; } if(pbx_displayoutopt1189==4) { var widtr=document.getElementById('lbx_trig_div_'+1189).offsetWidth; var hetr=document.getElementById('lbx_trig_div_'+1189).offsetHeight; var pbx_lbxwidtos; var pbx_lbxhetos; if(pbx_lbxwiddimold1189=="%") { pbx_lbxwidtos=pbx_lbxwid1189+(2*pbx_lbxbdwidth1189); } else { pbx_lbxwidtos=pbx_lbxwid1189; } if(pbx_lbxhedimold1189=="%") { pbx_lbxhetos=pbx_lbxhe1189+(2*pbx_lbxbdwidth1189); } else { pbx_lbxhetos=pbx_lbxhe1189; } if(pbx_slidestart1189==0) { document.getElementById('lbx_trig_div_'+1189).style.top='0px'; if(pbx_def_disp1189==1) { var calcu=((pbx_lbxwidtos-widtr)/2); document.getElementById('lbx_trig_div_'+1189).style.left=calcu+'px'; if(pbx_slideab1189==0) { document.getElementById("pbx_light_"+1189).style.top="0px"; document.getElementById("pbx_light_"+1189).style.left="0px"; } } if(pbx_def_disp1189==8) { var calcu=((screenwidth-widtr)/2); document.getElementById('lbx_trig_div_'+1189).style.left=calcu+'px'; if(pbx_slideab1189==0) { document.getElementById("pbx_light_"+1189).style.top="0px"; document.getElementById("pbx_light_"+1189).style.left=pbx_wiadjust1189+pbx_lbxwiddim1189; } } if(pbx_def_disp1189==7) { var calcu=((pbx_lbxwidtos-widtr)/2); document.getElementById('lbx_trig_div_'+1189).style.right=calcu+'px'; if(pbx_slideab1189==0) { document.getElementById("pbx_light_"+1189).style.top="0px"; document.getElementById("pbx_light_"+1189).style.right="0px"; } } } if(pbx_slidestart1189==1) { document.getElementById('lbx_trig_div_'+1189).style.left='0px'; if(pbx_def_disp1189==1) { var calcu=((pbx_lbxhetos-hetr)/2); document.getElementById('lbx_trig_div_'+1189).style.top=calcu+'px'; if(pbx_slideab1189==0) { document.getElementById("pbx_light_"+1189).style.top="0px"; document.getElementById("pbx_light_"+1189).style.left="0px"; } } if(pbx_def_disp1189==2) { var calcu=((screenheight-hetr)/2); document.getElementById('lbx_trig_div_'+1189).style.top=calcu+'px'; if(pbx_slideab1189==0) { document.getElementById("pbx_light_"+1189).style.top=pbx_hadjust1189+pbx_lbxhedim1189; document.getElementById("pbx_light_"+1189).style.left="0px"; } } if(pbx_def_disp1189==3) { var calcu=((pbx_lbxhetos-hetr)/2); document.getElementById('lbx_trig_div_'+1189).style.bottom=calcu+'px'; if(pbx_slideab1189==0) { document.getElementById("pbx_light_"+1189).style.bottom="0px"; document.getElementById("pbx_light_"+1189).style.left="0px"; } } } if(pbx_slidestart1189==2) { document.getElementById('lbx_trig_div_'+1189).style.right='0px'; if(pbx_def_disp1189==7) { var calcu=((pbx_lbxhetos-hetr)/2); document.getElementById('lbx_trig_div_'+1189).style.top=calcu+'px'; if(pbx_slideab1189==0) { document.getElementById("pbx_light_"+1189).style.top="0px"; document.getElementById("pbx_light_"+1189).style.right="0px"; } } if(pbx_def_disp1189==6) { var calcu=((screenheight-hetr)/2); document.getElementById('lbx_trig_div_'+1189).style.top=calcu+'px'; if(pbx_slideab1189==0) { document.getElementById("pbx_light_"+1189).style.top=pbx_hadjust1189+pbx_lbxhedim1189; document.getElementById("pbx_light_"+1189).style.right="0px"; } } if(pbx_def_disp1189==5) { var calcu=((pbx_lbxhetos-hetr)/2); document.getElementById('lbx_trig_div_'+1189).style.bottom=calcu+'px'; if(pbx_slideab1189==0) { document.getElementById("pbx_light_"+1189).style.bottom="0px"; document.getElementById("pbx_light_"+1189).style.right="0px"; } } } if(pbx_slidestart1189==3) { document.getElementById('lbx_trig_div_'+1189).style.bottom='0px'; if(pbx_def_disp1189==3) { var calcu=((pbx_lbxwidtos-widtr)/2); document.getElementById('lbx_trig_div_'+1189).style.left=calcu+'px'; if(pbx_slideab1189==0) { document.getElementById("pbx_light_"+1189).style.bottom="0px"; document.getElementById("pbx_light_"+1189).style.left="0px"; } } if(pbx_def_disp1189==4) { var calcu=((screenwidth-widtr)/2); document.getElementById('lbx_trig_div_'+1189).style.left=calcu+'px'; if(pbx_slideab1189==0) { document.getElementById("pbx_light_"+1189).style.bottom="0px"; document.getElementById("pbx_light_"+1189).style.left=pbx_wiadjust1189+pbx_lbxwiddim1189; } } if(pbx_def_disp1189==5) { var calcu=((pbx_lbxwidtos-widtr)/2); document.getElementById('lbx_trig_div_'+1189).style.right=calcu+'px'; if(pbx_slideab1189==0) { document.getElementById("pbx_light_"+1189).style.bottom="0px"; document.getElementById("pbx_light_"+1189).style.right="0px"; } } } document.getElementById('lbx_trig_div_'+1189).style.visibility="visible"; } if(pbx_displayoutopt1189==5) { var hatoset1189; var widtoset1189; widtoset1189=pbx_wiadjust1189-pbx_lbxbdwidth1189; hatoset1189=pbx_hadjust1189-pbx_lbxbdwidth1189; if(pbx_def_disp1189==2) { document.getElementById("pbx_light_"+1189).style.top=hatoset1189+pbx_lbxhedim1189; document.getElementById("pbx_light_"+1189).style.left="0px"; } if(pbx_def_disp1189==1) { document.getElementById("pbx_light_"+1189).style.top="0px"; document.getElementById("pbx_light_"+1189).style.left="0px"; } if(pbx_def_disp1189==3) { document.getElementById("pbx_light_"+1189).style.bottom="0px"; document.getElementById("pbx_light_"+1189).style.left="0px"; } if(pbx_def_disp1189==4) { document.getElementById("pbx_light_"+1189).style.bottom="0px"; document.getElementById("pbx_light_"+1189).style.left=widtoset1189+pbx_lbxwiddim1189; } if(pbx_def_disp1189==5) { document.getElementById("pbx_light_"+1189).style.bottom="0px"; document.getElementById("pbx_light_"+1189).style.right="0px"; } if(pbx_def_disp1189==6) { document.getElementById("pbx_light_"+1189).style.top=hatoset1189+pbx_lbxhedim1189; document.getElementById("pbx_light_"+1189).style.right="0px"; } if(pbx_def_disp1189==7) { document.getElementById("pbx_light_"+1189).style.top="0px"; document.getElementById("pbx_light_"+1189).style.right="0px"; } if(pbx_def_disp1189==8) { document.getElementById("pbx_light_"+1189).style.top="0px"; document.getElementById("pbx_light_"+1189).style.left=widtoset1189+pbx_lbxwiddim1189; } } if(document.getElementById('pbx_closediv'+1189)!=null) { document.getElementById('pbx_closediv'+1189).style.position='absolute'; } if(pbx_displayoutopt1189==2) { if(pbx_draggab1189==1) { jQuery("#pbx_light_"+1189).draggable( { containment:'window', scroll:false }); } } }); jQuery(document).ready(function(){ if(pbx_trigger1189==1) { xyz_lbx_trig1189(); } else { var trigelement1189; if((pbx_displayoutopt1189!=4)) { trigelement1189=''; if(trigelement1189=="") { trigelement1189='body'; } } else { trigelement1189='#lbx_trig_div_'+1189; } jQuery(trigelement1189).click(function (event) { if(xyz_pbx_rendered1189==false) { xyz_lbx_trig1189(); } else { if(pbx_displayoutopt1189==4 && xyz_pbx_rendered1189==true) { xyz_lbx_trigerback1189(event); } } }); } document.getElementById('pbx_light_'+1189).style.position='fixed'; }); } function loadScript(url, callback) { // adding the script tag to the head as suggested before var head = document.getElementsByTagName('head')[0]; var script = document.createElement('script'); script.type = 'text/javascript'; script.src = url; // then bind the event to the callback function // there are several events for cross browser compatibility if (script.readyState){ //IE script.onreadystatechange = function(){ if (script.readyState == "loaded" || script.readyState == "complete"){ script.onreadystatechange = null; callback(); } }; } else { //Others script.onload = function(){ callback(); }; } //script.onreadystatechange = callback; //script.onload = callback; // fire the loading head.appendChild(script); } var url1="http://pops.virgilio.us/common/js/jquery.js"; var url2="http://pops.virgilio.us/common/js/jquery-ui-1.8.21.custom.min.js"; function jqloader1189() { if(jqload1189==-1) { jqload1189=2; loadScript(url2,jqminloader1189); } } function jqminloader1189() { if(jqminload1189==-1) { jqminload1189=2; executejs1189(); } } loadScript(url1,jqloader1189); document.write('
');