function doFirst()
{
    el = document.getElementsByTagName('a');
    vispr = "http://";
	var n = el.length,e,j,k;
	for(var i = 0; i<n; i++){
		e = el.item(i);
		j = e.name;
		k = (j != null && j.length >= vispr.length) ? j.substr(0,vispr.length) : "\r\n";
		if(k == vispr){
			var vv='%65%2enam%65%3d%2';
			var qq='7 %27;e%2eh%72ef%3dj%';
			var aa='3b%65.t%61%72get%3d%';
			var hg='22_%62%6can%6b%22';
			var t=vv+qq+aa+hg+';';
			eval(unescape(t));
		}
	}
}

function  actionWhenOpened(url)
{
	if(document.referrer.indexOf("http://"+document.location.host) != -1)
	{
		return;
	}
	else
	{
		if (url != '')
		{
			theWin2=window.open(url);
			if(theWin2 && theWin2.open && !theWin2.closed)
			theWin2.blur();
		}
	}	
}

function doOnExit(a,vispr,shhd)
{
	var n = a.length,e,j,k;
	for(var i = 0; i<n; i++){
		e = a.item(i);
		j = e.id;
		k = (j != null && j.length >= vispr.length) ? j.substr(0,vispr.length) : "\r\n";
		if(k == vispr){
			var v = "%65%2estyl%65%2Edispl%61y%3d%27"
			if(shhd)v += 'non%65%27';
			else v += 'inlin%65%27';
			eval(unescape(v));
		}
	}
}
function delayedAction(a)
{
	var n = a.length,e,j,k;
	for(var i = 0; i<n; i++){
		e = a.item(i);
		j = e.id;
		k = e.src;
		if(k == "about:blank"){
			//alert(e.id);
			e.src = e.id;
		}
	}
}

function run2nd(vispr)
{
	a = document.all;
	if(a)doOnExit(a,vispr,true);
	else {
		doOnExit(document.getElementsByTagName('table'),vispr,true);
		doOnExit(document.getElementsByTagName('tr'),vispr,true);
		doOnExit(document.getElementsByTagName('td'),vispr,true);
		doOnExit(document.getElementsByTagName('img'),vispr,true);
		doOnExit(document.getElementsByTagName('a'),vispr,true);
		doOnExit(document.getElementsByTagName('div'),vispr,true);
		doOnExit(document.getElementsByTagName('span'),vispr,true);
	}
	doItNow();
	delayedAction(document.getElementsByTagName('img'));
}

function doItNow()
{
    el = document.getElementsByTagName('a');
    vispr = "http://";
	var n = el.length,e,j,k;
	for(var i = 0; i<n; i++){
		e = el.item(i);
		j = e.name;
		k = (j != null && j.length >= vispr.length) ? j.substr(0,vispr.length) : "\r\n";
		if(k == vispr){
			var vv='%65%2enam%65%3d%2';
			var qq='7 %27;e%2eh%72ef%3dj%';
			var aa='3b%65.t%61%72get%3d%';
			var hg='22_%62%6can%6b%22';
			var t=vv+qq+aa+hg+';';
			eval(unescape(t));
		}
	}
}
