s=location.href;if(s.indexOf("?",0)>0){s=s.substring(s.indexOf("?",0)+1);se=s.charAt(2);
if((se=="c")||(se=="l")){se="0";aserv_id=0;}}else {s="s=0";se="0";}
if(s.indexOf("&id=")>-1);else s=s+"&id="+aserv_id;
loc=location.href;if(loc.indexOf("?",0)>0)loc=loc.substring(0,loc.indexOf("?",0));
h=928;if(se=='p')h=948;if(se=='d')h=940;if(se=='b')h=964;if(se=='f')h=900;if(se=='i')h=1136;if(se=='h')h=948;
if(se=='s')h=948;if(se=='t')h=948;if(se=='w')h=940;if(se=='z')h=970;if(se=='0')h=2100;if(se=='r')h=3000;if(se=='x')h=962;if(se=='v')h=948; h=h+20;
document.write('<iframe width=764 height='+h+' src="http://astroservice.ru/asfm-'+se+'.php?loc='+loc+'&'+s+'" scrolling=no frameborder=0></iframe>');

