var flag = 1;
function setimg()
{
	if (flag == 1)
	{
		if(document.getElementById('w0'))
		{
			var abc = myImg.length;
			for (i=0;i<=myImg.length-1;i++)
			{
				document.getElementById("w"+i).innerHTML= unescape(myImg[i]);
			}
			flag++;
		}
	}
}
var mediaserver_height="";var mediaserver_width="";var mediaserver_location="";var mediaserver_contenttype="";var mediaserver_id="";var mediaserver_uname="";var mediaserver_comp="";var mediaserver_mcat="";var mediaserver_cat="";var mediaserver_grp="";var mediaserver_cmpg="";var mediaserver_kwd="";var mediaserver_otherparam="";var mediaserver_nomore=0;var mediaserver_noadv=0;var mediaserver_newwin=0;var mediaserver_paidonly=0;var mediaserver_useiframe=0;var mediaserver_parentwindow=0;function serve_ad(a){var c="http://www.media4trade.com/mediaserver?";var e=mediaserver_width+"x"+mediaserver_height;var f;if(mediaserver_parentwindow==1){f=parent.document.location}else{f=document.location}c+="action=show";c+="&pageurl="+encodeURIComponent(f);c+="&location="+mediaserver_location;c+="&kwd="+encodeURIComponent(mediaserver_kwd);c+="&size="+e;c+="&contenttype="+mediaserver_contenttype;c+="&id="+mediaserver_id;c+="&uname="+mediaserver_uname;if(a){c+="&comp="+a}else{c+="&comp="+mediaserver_comp}c+="&mcat="+mediaserver_mcat;c+="&cat="+mediaserver_cat;c+="&grp="+mediaserver_grp;c+="&cmpg="+mediaserver_cmpg;c+="&otherparam="+encodeURIComponent(mediaserver_otherparam);c+="&nomore="+mediaserver_nomore;c+="&noadv="+mediaserver_noadv;c+="&newwin="+mediaserver_newwin;c+="&paidonly="+mediaserver_paidonly;if(mediaserver_contenttype=="prdbanner"){mediaserver_noadv=1}if(mediaserver_useiframe){if(!mediaserver_noadv){mediaserver_height=parseInt(mediaserver_height)+20}c+="&iframe=1";document.write('<center><iframe id="'+mediaserver_location+'" src="'+c+'" width="'+mediaserver_width+'" height="'+mediaserver_height+'" frameborder="0" scrolling="no" marginwidth="0" marginheight="0" target="_top"></iframe></center>')}else{c+="&iframe=0";document.write('<center><script type="text/javascript" src="'+c+'"><\/script></center>')}}var mytype="";browserName=navigator.appName;browserVer=parseInt(navigator.appVersion);condition=!(((browserName.indexOf("Explorer")>=0)&&(browserVer<4))||((browserName.indexOf("Netscape")>=0)&&(browserVer<2)));if(condition==true){CanAnimate=true}else{CanAnimate=false}function lc(h){var e=0;var c=unescape(document.location.toString());var l="";var k="";if(c.indexOf("translate_c?")!=-1){var g=c.indexOf("u=");if(g==-1){l=document.location}else{var f=c.substring(g,c.length);var m=f.split("&");l=m[0].substring(2,m[0].length)}}else{l=document.location}indexof_p=h.indexOf("|");var i="";if(indexof_p==-1){indexof_p1=h.indexOf("><");if(indexof_p1==-1){k=h;if(h=="en"){i=1}}else{var a=h.split("><");k=a[0]+"|"+a[1];if(a[1]=="en"){i=1}}}else{var a=h.split("|");k=a[0]+"|"+a[1];if(a[1]=="en"){i=1}}var j="";if(i==1){j=l}else{j="http://translate.google.com/translate_c?langpair="+k+"&u="+l}if(e==1){window.location.href=j}else{if(CanAnimate){msgWindow=window.open("","subwindow","toolbar=yes,location=yes,directories=yes,status=yes,scrollbars=yes,menubar=yes,resizable=yes,left=0,top=0");msgWindow.focus();msgWindow.location.href=j}else{msgWindow=window.open(j,"subwindow","toolbar=yes,location=yes,directories=yes,status=yes,scrollbars=yes,menubar=yes,resizable=yes,left=0,top=0")}}}var timerlen=5;var slideAniLen=250;var timerID=new Array();var startTime=new Array();var obj=new Array();var endHeight=new Array();var moving=new Array();var dir=new Array();function slidedown(a){if(moving[a]){return}if(document.getElementById(a).style.display!="none"){return}moving[a]=true;dir[a]="down";startslide(a)}function slideup(a){if(moving[a]){return}if(document.getElementById(a).style.display=="none"){return}moving[a]=true;dir[a]="up";startslide(a)}function startslide(a){obj[a]=document.getElementById(a);endHeight[a]=parseInt(obj[a].style.height);startTime[a]=(new Date()).getTime();if(dir[a]=="down"){obj[a].style.height="1px"}obj[a].style.display="block";timerID[a]=setInterval("slidetick('"+a+"');",timerlen)}function slidetick(e){var a=(new Date()).getTime()-startTime[e];if(a>slideAniLen){endSlide(e)}else{var c=Math.round(a/slideAniLen*endHeight[e]);if(dir[e]=="up"){c=endHeight[e]-c}obj[e].style.height=c+"px"}return}function endSlide(a){clearInterval(timerID[a]);if(dir[a]=="up"){obj[a].style.display="none"}obj[a].style.height=endHeight[a]+"px";delete (moving[a]);delete (timerID[a]);delete (startTime[a]);delete (endHeight[a]);delete (obj[a]);delete (dir[a]);return}function toggleSlide(a){if(document.getElementById(a).style.display=="none"){slidedown(a)}else{slideup(a)}}var TINY={};function T$(a){return document.getElementById(a)}TINY.box=function(){var a,g,l,k,c,i,h,n,e,j=0;return{show:function(s,o,m,r,f,q){if(!j){a=document.createElement("div");a.id="tinybox";g=document.createElement("div");g.id="tinymask";l=document.createElement("div");l.id="tinycontent";document.body.appendChild(g);document.body.appendChild(a);a.appendChild(l);j=1}if(!f&&!o){a.style.width=m?m+"px":"auto";a.style.height=r?r+"px":"auto";a.style.backgroundImage="none";l.innerHTML=s}else{l.style.display="none";a.style.width=a.style.height="100px"}this.mask();c=s;i=o;h=m;n=r;e=f;this.alpha(g,1,80,3)},fill:function(s,q,o,r,m){if(q){a.style.backgroundImage="";var f=window.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject("Microsoft.XMLHTTP");f.onreadystatechange=function(){if(f.readyState==4&&f.status==200){TINY.box.psh(f.responseText,o,r,m)}};f.open("GET",s,1);f.send(null)}else{this.psh(s,o,r,m)}},psh:function(s,o,q,m){if(m){if(!o||!q){var f=a.style.width,r=a.style.height;l.innerHTML=s;a.style.width=o?o+"px":"";a.style.height=q?q+"px":"";l.style.display="";o=parseInt(l.offsetWidth);q=parseInt(l.offsetHeight);l.style.display="none";a.style.width=f;a.style.height=r}else{l.innerHTML=s}this.size(a,o,q,4)}else{a.style.backgroundImage="none"}},hide:function(){TINY.box.alpha(a,-1,0,3)},resize:function(){TINY.box.pos();TINY.box.mask()},mask:function(){g.style.height=TINY.page.theight()+"px";g.style.width="";g.style.width=TINY.page.twidth()+"px"},pos:function(){var f=(TINY.page.height()/2)-(a.offsetHeight/2);f=f<10?10:f;a.style.top=(f+TINY.page.top())+"px";a.style.left=(TINY.page.width()/2)-(a.offsetWidth/2)+"px"},alpha:function(o,q,f,m){clearInterval(o.ai);if(q==1){o.style.opacity=0;o.style.filter="alpha(opacity=0)";o.style.display="block";this.pos()}o.ai=setInterval(function(){TINY.box.twalpha(o,f,q,m)},20)},twalpha:function(q,f,t,m){var r=Math.round(q.style.opacity*100);if(r==f){clearInterval(q.ai);if(t==-1){q.style.display="none";q==a?TINY.box.alpha(g,-1,0,2):l.innerHTML=a.style.backgroundImage=""}else{q==g?this.alpha(a,1,100,5):TINY.box.fill(c,i,h,n,e)}}else{var u=r+Math.ceil(Math.abs(f-r)/m)*t;q.style.opacity=u/100;q.style.filter="alpha(opacity="+u+")"}},size:function(r,u,q,y){r=typeof r=="object"?r:T$(r);clearInterval(r.si);var f=r.offsetWidth,v=r.offsetHeight,t=f-parseInt(r.style.width),x=v-parseInt(r.style.height);var m=f-t>u?-1:1,o=(v-x>q)?-1:1;r.si=setInterval(function(){TINY.box.twsize(r,u,t,m,q,x,o,y)},20)},twsize:function(r,u,t,m,q,x,o,y){var f=r.offsetWidth-t,v=r.offsetHeight-x;if(f==u&&v==q){clearInterval(r.si);a.style.backgroundImage="none";l.style.display="block"}else{if(f!=u){r.style.width=f+(Math.ceil(Math.abs(u-f)/y)*m)+"px"}if(v!=q){r.style.height=v+(Math.ceil(Math.abs(q-v)/y)*o)+"px"}this.pos()}}}}();TINY.page=function(){return{top:function(){return document.body.scrollTop||document.documentElement.scrollTop},width:function(){return self.innerWidth||document.documentElement.clientWidth},height:function(){return self.innerHeight||document.documentElement.clientHeight},theight:function(){var f=document,a=f.body,c=f.documentElement;return Math.max(Math.max(a.scrollHeight,c.scrollHeight),Math.max(a.clientHeight,c.clientHeight))},twidth:function(){var f=document,a=f.body,c=f.documentElement;return Math.max(Math.max(a.scrollWidth,c.scrollWidth),Math.max(a.clientWidth,c.clientWidth))}}}();var http_request=false;var ajaxdata_div_id="ajaxdata";function createMyBox(e,c,g){var f=Math.max(Math.max(document.body.scrollHeight,document.documentElement.scrollHeight),Math.max(document.body.clientHeight,document.documentElement.clientHeight));var a=Math.max(Math.max(document.body.scrollWidth,document.documentElement.scrollWidth),Math.max(document.body.clientWidth,document.documentElement.clientWidth));bg_img=document.getElementById("bgimg");bg_img.height=f;bg_img.width=a;bg_img.style.display="block";bg_img.style.position="absolute";bg_img.style.zIndex="90";p=document.createElement("div");p.id="mybox";b=document.createElement("div");b.id="mycontent";document.body.appendChild(p);p.appendChild(b);p.style.position="absolute";p.style.top="0";p.style.left="40%";p.style.zIndex="90";p.style.width="100%";p.style.width=c?c+"px":"auto";p.style.height=g?g+"px":"auto";b.style.width=c?c+"px":"auto";b.style.height=g?g-20+"px":"auto";p.style.border="solid red 3px";callajax(e,"mycontent");p.innerHTML+='<a href="javascript:void(0);" ONCLICK="javascript:delMyBox();" style="float:right;">X</a>'}function delMyBox(){alert("Rohit");document.getElementById("mycontent").style.display="none";document.getElementById("mycontent").removeAttribute("id");document.getElementById("mybox").style.display="none";document.getElementById("mybox").removeAttribute("id");document.getElementById("bgimg").style.display="none";alert("Rohit1")}function callajax(a,f){http_request=false;ajaxdata_div_id=f;document.getElementById(f).innerHTML='<DIV STYLE="height:200px;" ALIGN="CENTER">Please wait...</DIV>';if(window.XMLHttpRequest){http_request=new XMLHttpRequest();if(http_request.overrideMimeType){http_request.overrideMimeType("text/xml")}}else{if(window.ActiveXObject){try{http_request=new ActiveXObject("Msxml2.XMLHTTP")}catch(c){try{http_request=new ActiveXObject("Microsoft.XMLHTTP")}catch(c){}}}}http_request.onreadystatechange=alertContents;http_request.open("GET",a,true);http_request.send(null)}function alertContents(){if(http_request.readyState==4){if(http_request.status==200){document.getElementById(ajaxdata_div_id).innerHTML=http_request.responseText}else{alert("There was a problem with the request.")}}}function getf(a){if(a.email.value==""){a.email.value="Your e-mail here";a.email.className="i1"}}function getblank(a){if(a.email.value=="Your e-mail here"){a.email.value="";a.email.className="i3"}}function getf1(a){if(a.nl_name.value==""){a.nl_name.value="Your name here";a.nl_name.className="i1"}}function getblank1(a){if(a.nl_name.value=="Your name here"){a.nl_name.value="";a.nl_name.className="i3"}}function validateit(a){if(a.nl_name.value=="Your name here"){alert("Please fill the name");a.nl_name.focus();return(false)}if(!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(a.email.value))){alert("Kindly enter a valid E-mail ID !\nEx:abc@yahoo.com\n      xyz@gmail.com");a.email.focus();return(false)}}function openchild_nl(i){browserName=navigator.appName;browserVer=parseInt(navigator.appVersion);condition=!(((browserName.indexOf("Explorer")>=0)&&(browserVer<4))||((browserName.indexOf("Netscape")>=0)&&(browserVer<2)));if(condition==true){CanAnimate=true}else{CanAnimate=false}var j=document.theForm.email.value;var e=document.theForm.from_site.value;var c=document.theForm.is_window.value;var g=document.theForm.org_referer.value;var a=document.theForm.is_im.value;var f=document.theForm.nl_name.value;var k=document.theForm.nl_grp_id.value;var h=i+"?email="+j+"&from_site="+e+"&is_window="+c+"&org_referer="+g+"&is_im="+a+"&nl_name="+f+"&nl_grp_id="+k;if(CanAnimate){msgWindow=window.open("","subwindow","toolbar=no,location=no,directories=no,status=yes,scrollbars=yes,menubar=no,resizable=yes,width=550,height=340,top=0,left=0");msgWindow.focus();msgWindow.location.href=h}else{msgWindow=window.open(h,"subwindow","toolbar=no,location=no,directories=no,status=yes,scrollbars=yes,menubar=no,resizable=yes,width=550,height=340,top=0,left=0")}}function addzero(a){while(a.length<2){a=String("0")+a}return a}function bkdates(){var g=new Array("January","February","March","April","May","June","July","August","September","October","November","December");var c=new Date();var j=c.getMonth();var f=c.getFullYear()%100;var a=c.getFullYear();f=new String(f);f=addzero(f);var h=j;for(var e=0;e<12;e++,h++){if(h%12==0&&e>0){h=0;f++;f=new String(f);f=addzero(f);a++}document.writeln('<option value="'+a+"-"+(h+1)+'">'+g[h]+" '"+f)}}function bkhotel(){var e=new Date();var i=1900+e.getYear();var j=24*60*60*1000;var q=new Date(e.getTime());var r=new Date(e.getTime()+1*j);var g=1900+q.getYear();var c=1+q.getMonth();var u=q.getDate();var h=1900+r.getYear();var n=1+r.getMonth();var s=r.getDate();var m=document.b_frm;if((m.checkin_monthday.selectedIndex==0)&&(m.checkout_monthday.selectedIndex==0)){m.checkin_monthday.options[u].selected=true;m.checkout_monthday.options[s].selected=true}var l=document.getElementById("b_frm");var o=l.b_checkin_month.value.split("-");var t=new Date(o[0],o[1]-1,l.b_checkin_day.value,12,0,0,0);o=l.b_checkout_month.value.split("-");var k=new Date(o[0],o[1]-1,l.b_checkout_day.value,12,0,0,0);if(t>=k){k.setTime(t.getTime()+1000*60*60*24);l.b_checkout_day.value=k.getDate();var f=k.getMonth()+1;l.b_checkout_month.value=k.getFullYear()+"-"+f}}function getDropDown(){for(var a=0;a<=31;a++){document.writeln('<option value="'+a+'">'+a)}}function showHiddenFields(h,j,c,g,e,a,i,f){document.writeln('<input name="error_url" value="http://www.booking.com/index.en.html?aid=325394&amp;label=&amp;" type="hidden"><input name="si" value="ci" type="hidden"><input name="ssai" value="1" type="hidden"><input name="ssre" value="1" type="hidden"><input id="availcheck" name="do_availability_check" value="on" type="hidden"><input name="aid" value="325394" type="hidden"><input name="lang" value="en" type="hidden"><input name="ifl" value="1" type="hidden"><input name="label" value="" type="hidden"><input name="ss" value="'+h+'" type="hidden"><INPUT TYPE="HIDDEN" NAME="country_flname" VALUE="'+j+'"><INPUT TYPE="HIDDEN" NAME="city_flname" VALUE="'+c+'"><INPUT TYPE="HIDDEN" NAME="grp_flname" VALUE="'+g+'"><INPUT TYPE="HIDDEN" NAME="event_flname" VALUE="'+e+'"><INPUT TYPE="HIDDEN" NAME="country_name" VALUE="'+a+'"><INPUT TYPE="HIDDEN" NAME="city_name" VALUE="'+h+'"><INPUT TYPE="HIDDEN" NAME="grp_name" VALUE="'+i+'"><INPUT TYPE="HIDDEN" NAME="event_name" VALUE="'+f+'">')}function settext12(a){if(a.Y_comments.value==""){a.Y_comments.value=".";a.Y_comments.className="inp1"}}function descript12(a){if(a.Y_comments.value=="."){a.Y_comments.value="";a.Y_comments.className="inp2"}}function checkComment(){if(document.commentform.Y_comments.value=="."){alert("Please fill Your Comments");document.commentform.Y_comments.focus();return(false)}var kw = document.commentform.Y_comments.value;kw = kw.replace(/^\s+|\s+$/g,"");if(kw==""){alert("Please fill Your Comments");document.commentform.Y_comments.value = '';document.commentform.Y_comments.focus();return(false)}kw =document.commentform.Y_name.value;kw = kw.replace(/^\s+|\s+$/g,"");if(kw==""){alert("Please fill Your Name");document.commentform.Y_name.value = '';document.commentform.Y_name.focus();return(false)}kw = document.commentform.Y_email.value;kw = kw.replace(/^\s+|\s+$/g,"");if(kw==""){alert("Please fill Your Email id");document.commentform.Y_email.value = '';document.commentform.Y_email.focus();return(false)}if(!(document.commentform.Y_email.value=="")){if(!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(document.commentform.Y_email.value))){alert("Kindly enter a valid E-mail ID !\nEx:abc@yahoo.com\n      xyz@gmail.com");document.commentform.Y_email.focus();return(false)}}kw = document.commentform.captcha_text.value;kw = kw.replace(/^\s+|\s+$/g,"");if(kw==""){alert("Please fill the security code");document.commentform.captcha_text.value = '';document.commentform.captcha_text.focus();return(false)}document.commentform.submit()}function load_external_script(c,e){var a=document.getElementById(e);a.src=c}function update(f,c){var g;try{g=new XMLHttpRequest()}catch(h){try{g=new ActiveXObject("Msxml2.XMLHTTP")}catch(h){try{g=new ActiveXObject("Microsoft.XMLHTTP")}catch(h){alert("Your browser does not support AJAX!");return false}}}if(g){if(g.overrideMimeType){g.overrideMimeType("text/xml")}var i=Math.floor(Math.random()*9999);var a="eventid="+escape(f)+"&action="+escape("tf_query_page_hit_count")+"&random="+escape("randomnumber");g.open("GET",c+"?"+a,true);g.send(null)}else{alert("Cannot create XMLHTTP instance");return false}}var d=new Date();var epoch_time=(d.getTime()-d.getMilliseconds())/1000;var randomnumber=Math.floor(Math.random()*9999);var randomnumber1=Math.floor(Math.random()*9999);var ran_num=randomnumber+"."+epoch_time+"."+randomnumber1;var url="/cgi/get_captcha.cgi?cref="+ran_num+"&style=2";function setCaptchaRef(){document.commentform.captcha_ref.value=ran_num}function google_ad_request_done(c){var e="";var a;if(c.length==0){return}if(c[0].type=="text"){if(c.length==1){e+='<DIV style="background-color:#ffffff;padding:5px;"><DIV><a href="'+google_info.feedback_url+'" style="font-family:arial; font-size:11px;color:#949494;text-decoration:none; ">Ads by Google</a></DIV><a style="font-family:arial;font-size:18px; color:#1e3589; font-weight:bold;margin-top:3px;" href="'+c[0].url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+c[0].visible_url+"';return true\">"+c[0].line1+'</a> <br><span style="font-family:arial; font-size:14px; color:#158f01;">'+c[0].line2+"&nbsp;"+c[0].line3+'<br></span> <span><a style="font-family:arial;font-size:12px; font-weight:bold;color:#333333;" href="'+c[0].url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+c[0].visible_url+"';return true\">"+c[0].visible_url+"</span></a><br></DIV>"}else{if(c.length>1){if(mytype=="TOP"){e+='<DIV style="background-color:#ECF5FF;padding:5px;';if(c.length<=3){e+='line-height:16px;">'}else{e+='line-height:15px;">'}for(a=0;a<c.length;++a){if(a>0){e+="<br>"}e+='<a style="font-family:arial;';if(c.length<=3){e+="font-size:16px;"}else{e+="font-size:14px;"}e+=' color:#FF4200; font-weight:bold;margin-top:3px;" href="'+c[a].url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+c[a].visible_url+"';return true\">"+c[a].line1+'</a><br><span style="font-family:arial; font-size:12px; color:#1E3589;">'+c[a].line2+" "+c[a].line3+" : ";if(c.length<=3){e+='</span> <span><a style="font-family:arial;font-size:11px;'}else{e+='<BR></span> <span><a style="font-family:arial;font-size:10px;'}e+='color:#1E3589;font-weight:bold;" href="'+c[a].url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+c[a].visible_url+"';return true\">"+c[a].visible_url+"</span></a><br>"}e+='<DIV ALIGN="RIGHT"><a href="'+google_info.feedback_url+'" style="font-family:arial; font-size:11px;color:#949494;text-decoration:none; ">Ads by Google</a></DIV></DIV>';if(c[0].bidtype=="CPC"){google_adnum=google_adnum+c.length}}else{e+='<DIV style="background-color:#ffffff;padding:5px;';if(c.length<=3){e+='line-height:16px;">'}else{e+='line-height:15px;">'}for(a=0;a<c.length;++a){if(a>0){e+="<br>"}e+='<a style="font-family:arial;';if(c.length<=3){e+="font-size:16px;"}else{e+="font-size:14px;"}e+=' color:#1072bd; font-weight:bold;margin-top:3px;" href="'+c[a].url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+c[a].visible_url+"';return true\">"+c[a].line1+'</a><br><span style="font-family:arial; font-size:12px; color:#333333;">'+c[a].line2+" "+c[a].line3+" : ";if(c.length<=3){e+='</span> <span><a style="font-family:arial;font-size:11px;'}else{e+='<BR></span> <span><a style="font-family:arial;font-size:10px;'}e+='color:#158f01;" href="'+c[a].url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+c[a].visible_url+"';return true\">"+c[a].visible_url+"</span></a><br>"}e+='<DIV ALIGN="RIGHT"><a href="'+google_info.feedback_url+'" style="font-family:arial; font-size:11px;color:#949494;text-decoration:none; ">Ads by Google</a></DIV></DIV>';if(c[0].bidtype=="CPC"){google_adnum=google_adnum+c.length}}}}}document.write(e);return}function check_advanced_search(){var a=document.searc.q.value;a=a.replace(/^\s+|\s+$/g,"");if(a.length<3){error_message="Please enter atleast 3 characters for search";alert(error_message);document.searc.q.focus();return false}return true}function check_advanced_search1(){var a=document.searc1.q.value;a=a.replace(/^\s+|\s+$/g,"");if(a.length<3){error_message="Please enter atleast 3 characters for search";alert(error_message);document.searc1.q.focus();return false}return true}PositionX=100;PositionY=100;defaultWidth=420;defaultHeight=420;var AutoClose=true;if(parseInt(navigator.appVersion.charAt(0))>=4){var isNN=(navigator.appName=="Netscape")?1:0;var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0}var optNN="scrollbars=no,width="+defaultWidth+",height="+defaultHeight+",left="+PositionX+",top="+PositionY;var optIE="scrollbars=no,width=150,height=100,left="+PositionX+",top="+PositionY;function popImage(imageURL,imageTitle){if(isNN){imgWin=window.open("about:blank","",optNN)}if(isIE){imgWin=window.open("about:blank","",optIE)}with(imgWin.document){writeln("<html><head><title>Loading...</title><style>body{margin:0px;}</style>");writeln("<script>");writeln("var isNN,isIE;");writeln("if (parseInt(navigator.appVersion.charAt(0))>=4){");writeln('isNN=(navigator.appName=="Netscape")?1:0;');writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');writeln("function reSizeToImage(){");writeln("if (isIE){");writeln("window.resizeTo(300,300);");writeln("width=300-(document.body.clientWidth-document.images[0].width);");writeln("height=300-(document.body.clientHeight-document.images[0].height);");writeln("window.resizeTo(width,height);}");writeln("if (isNN){");writeln('window.innerWidth=document.images["George"].width;');writeln('window.innerHeight=document.images["George"].height;var is_chrome = navigator.userAgent.toLowerCase().indexOf("chrome");if(is_chrome > -1){window.resizeTo(window.innerWidth+26,window.innerHeight+66);}}}');writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln("<\/script>");if(!AutoClose){writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()">')}else{writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()" onblur="self.close()">')}writeln('<img name="George" src='+imageURL+' style="display:block"></body></html>');close()}}function callgoogle(){google_ad_client="pub-8525015516580200";google_ad_channel=ad_channel;google_ad_output="js";google_max_num_ads=ads_count;google_ad_type="text";google_feedback="on";google_skip=google_adnum}mediaserver_width="160";mediaserver_height="300";mediaserver_location="TOP1RIGHT";mediaserver_useiframe=1;mediaserver_noadv=1;

function addEvent( obj, type, fn ){
if (obj.addEventListener){
obj.addEventListener( type, fn, false );
}
else if (obj.attachEvent){
obj["e"+type+fn] = fn;
obj[type+fn] = function(){ obj["e"+type+fn]( window.event ); }
obj.attachEvent( "on"+type, obj[type+fn] );
}
}
addEvent(window, 'scroll', setimg);
