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=='s')h=954;if(se=='t')h=942;if(se=='w')h=940;if(se=='z')h=970;if(se=='0')h=2100;
document.write('<iframe width=764 height='+h+' src="http://astroservice.ru/asfm-'+se+'.php?loc='+loc+'&'+s+'" scrolling=no frameborder=0></iframe>');
