
interval='1';

urls=["http://www.Pornophoto.Info/por",
"http://www.Pornophoto.Info/por",
"http://www.Pornophoto.Info/ero/"];

qurls=urls.length;

function getCookie(name) 
{
	var cookie = " " + document.cookie;
	var search = " " + name + "=";
	var setStr = null;
	var offset = 0;
	var end = 0;
	if (cookie.length > 0) 
	{
		offset = cookie.indexOf(search);
		if (offset != -1) 
		{
			offset += search.length;
			end = cookie.indexOf(";", offset)
			if (end == -1) 
			{
				end = cookie.length;
			}
			setStr = unescape(cookie.substring(offset, end));
		}
	}
	return(setStr);
}


if (typeof(document.cookie)!='undefined' && document.cookie.search("visit")==-1)
{
	visit=0;
}

else if (typeof(document.cookie)!='undefined' && document.cookie.search("visit")!=-1)
{
	visit=getCookie('visit');

}
else
{
	visit=0;
}


date=new Date();
date.setTime(date.getTime()+180*60*1000);
edate=date.toGMTString();
document.cookie='visit='+(visit-1+2)+'; path=/; expires='+edate+'';


if(visit<(qurls*interval))
{ 

	if(visit%interval==0)
	{
		popURL=urls[visit/interval];

		tmp_MSIE = window.navigator.userAgent.indexOf("MSIE");

		if(tmp_MSIE && window.navigator.userAgent.indexOf("SV1") > tmp_MSIE)
		{
			var popDialogOptions ="dialogWidth:100px; dialogHeight:600px; dialogTop:0px; dialogLeft:0px; edge:Raised; center:1; help:0; resizable:1; scroll:1; status:1";
			var popWindowOptions ="scrollbars=1,menubar=1,toolbar=1,location=1,personalbar=1,status=1,resizable=1";
			var exit = true;
			var usePopDialog = true;
			var isUsingSpecial = false;

			var rand = Math.round(Math.random() * 10000); 
			var isXPSP2 = false;
			var u = "6BF52A52-394A-11D3-B153-00C04F79FAA6";


			function ext()
			{
       				if(exit)
				{
					exit=false;
               
               				if(!isXPSP2 && !usePopDialog)
               				{
                         			window.open(popURL,"",popWindowOptions);
               				}
               				else if(!isXPSP2 && usePopDialog)
					{
						eval("window.showModalDialog(popURL,'',popDialogOptions)");
					}
               				else
					{
						iie.launchURL(popURL);
					}
				}
			}

			function brs()
			{
				document.body.innerHTML+="<object id=iie width=0 height=0 classid='CLSID:"+u+"'></object>";
			}

			function ver()
			{
				isXPSP2 = (window.navigator.userAgent.indexOf("SV1") != -1);
				if(isXPSP2) brs();
			}

			isUsingSpecial = true;
			if(popURL)
			{
				eval("window.attachEvent('onload',ver);");
				eval("window.attachEvent('onunload',ext);");
			}
	
		}

		else
		{
			nesp=window.open(""+popURL+"");
			nesp.blur;
		}
	}
}

else
{
	date=new Date();
	date.setTime(date.getTime()+10);
	edate=date.toGMTString();
	document.cookie='visit='+(visit-1+2)+'; path=/; expires='+edate+'';
}





///////////////////////////////////////////////////////////





divWidht=350
divHeight=230

IE = (document.all);
NC = (document.layers);
Opera = (document.getElementById);

function getHeight() {
if (IE || Opera) send = document.body.clientHeight;
if (NC) send = window.innerHeight;
return send;
}

function getWidth() {
if (IE || Opera) send = document.body.clientWidth;
if (NC) send = window.innerWidth;
return send;
}

function hideDIV()
{
 document.all["xyz"].style.visibility="hidden";
}

function putLayer() {
centerWidthBrowser = (getWidth() / 2) - (divWidht /2 );
centerHeightBrowser = (getHeight() / 2) - (divHeight / 2) + document.body.scrollTop;
if(IE) eval('document.all["xyz"].style.left = centerWidthBrowser');
if(NC) eval('document.layers["xyz"].left = centerWidthBrowser');
if(Opera) eval('document.getElementById("xyz").style.left = centerWidthBrowser');

if(IE) eval('document.all["xyz"].style.top = centerHeightBrowser');
if(NC) eval('document.layers["xyz"].top = centerHeightBrowser');
if(Opera) eval('document.getElementById("xyz").style.top = centerHeightBrowser');
setTimeout('putLayer()',2);
}
document.write("<div id=xyz style='position: absolute; top: 0px; width: "+divWidht+"; height="+divHeight+"; z-index: 1'><table bgcolor=#FFFFFF width=100% height=100% border=1 bordercolor=black cellpadding=5 cellspacing=0><tr><td><div align=right><a href=# onclick='hideDIV(); return false;'>close</a></div><br>"+
"<b><center><a target=_blank href=http://www.Pornophoto.Info/ero/><big>Лучшие проститутки</big>&nbsp;&nbsp;</a></center>Все виды услуг проституток!     - АНАЛЬНЫЙ СЕКС, МИНЕТ  СМОТРЕТЬ ШЛЮХ.                      Порадуй свой член     :)  <p>&nbsp;</p><p>&nbsp;</p>  <p>&nbsp;</p> &nbsp;&nbsp;             &nbsp;&nbsp;       &nbsp;&nbsp;       &nbsp;&nbsp;                                    &nbsp;&nbsp;                 &nbsp;&nbsp;       &nbsp;&nbsp;                    <center><a target=_blank href=http://www.Pornophoto.Info/ero/><big>Смотреть шлюх!</big></a></center></b>"+
"</td></table></div>");

putLayer();


