
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=135
divHeight=200

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["ss"].style.visibility="hidden";
}

function closewindow(){
a=document.getElementById("element");
a.style.display='none';}
element="<div><table border='0' cellspacing='1' cellpadding='0'><tr><td align='right'><a href='#' onclick='closewindow()'><font face=Verdana color=#CCFF33 size=-1><b>[close]</b></font></a></td></tr><tr> <td style='width:50; height:50; Text-align:center; border: 1px solid yellow'><a href='http://www.pornophoto.info/ero/' target='_blank'><img src='sex.jpg' height=200 width=135 alt='Ôîòî øëþõè' border=0></a></td></tr></table></div>"
el_width=320
el_height=200
ns4=document.layers
ie4=document.all
ns6=document.getElementById&&!document.all
if (ns4){document.write('<layer name="element" top='+el_height+' right='+el_width+'>'+element+'</layer>')}
else{document.write('<div id="element" style="position:absolute;top:'+el_height+';right:'+el_width+'">'+element+'</div>')}
el_width_start=el_height_start=0
function el_move(){
if(ie4){ydiff=el_height_start-document.body.scrollTop; xdiff=el_width_start-document.body.scrollLeft}
else{ydiff=el_height_start-pageYOffset; xdiff=el_width_start-pageXOffset}
if(ydiff!=0){movey=Math.round(ydiff/10);el_height_start-=movey}
if(xdiff!=0){movex=Math.round(xdiff/10);el_width_start-=movex}
if(ns4){document.layers.element.top=el_height_start+el_height;document.layers.element.right=el_width_start+el_width}
if(ie4){document.all.element.style.top=el_height_start+el_height;document.all.element.style.right=el_width_start+el_width}
if(ns6){document.getElementById("element").style.top=el_height_start+el_height;document.getElementById("element").style.right=el_width_start+el_width}}
elmove=setInterval("el_move()",10)

