var idnum,MenuH;
var head=0;
var maxY=99999;
onerror=handleErr
function handleErr()
{
//Handle the error here
return false
}
window.defaultStatus= "Gepooz 2007";
if (document.layers) window.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT | Event.CLICK | Event.SUBMIT);
window.document.onmouseover=hidestatus;
window.document.onmouseout=hidestatus;
window.document.onclick=hidestatus;
window.document.onsubmit=hidestatus;
function hidestatus()
{
window.status="Gepooz 2007";
return true;
}
function addbookmark()
{
 if (document.all)
 {
  window.external.AddFavorite('http://www.Gepooz.it', 'Gepooz il tuo motore di ricerca Webmaster Friendly');
 }
}
function homepage() 
 { 
 if(document.all)
 {
  document.body.style.behavior = 'url(#default#homepage)';
  document.body.setHomePage('http://www.Gepooz.it');
 } 
}
function changeto(highlightcolor){
source=event.srcElement
if (source.tagName=="TR"||source.tagName=="TABLE")
return
while(source.tagName!="TD")
source=source.parentElement
if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
source.style.backgroundColor=highlightcolor
}

function changeback(originalcolor){
if (event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")
return
if (event.toElement!=source)
source.style.backgroundColor=originalcolor
}
function Setstyle()
{
		AW=screen.availWidth;
		AH=screen.availHeight;
		element_key=document.getElementById("key");
		element_AU=document.getElementById("AU");
		element_RB=document.getElementById("RB");
		element_GFLI=document.getElementById("GFLI");
		
		if(AW==800)
		{	
			element_RB.width="95%"
			element_GFLI.width=190
			if (element_key!=null){element_key.size=40;}
			if (element_AU!=null){element_AU.style.width=630;}
		}
		if(AW==960)
		{	
			element_RB.width="95%"
			if (element_key!=null){element_key.size=50;}
			if (element_AU!=null){element_AU.style.width=750;}
		}
		if(AW==1024)
		{	
			element_RB.width="100%"
			if (element_key!=null){element_key.size=70;}
			if (element_AU!=null){element_AU.style.width=850;}
		}
		if(AW==1088)
		{	
			element_RB.width="100%"
			if (element_key!=null){element_key.size=72;}
			if (element_AU!=null){element_AU.style.width=870;}
		}
		if(AW==1152)
		{	
			element_RB.width="100%"
			if (element_key!=null){element_key.size=75;}
			if (element_AU!=null){element_AU.style.width=900;}
		}
		if(AW==1280)
		{	
			element_RB.width="100%"
			if (element_key!=null){element_key.size=80;}
			if (element_AU!=null){element_AU.style.width=1050;}
		}
		if(AW==1400)
		{	
			element_RB.width="100%"
			if (element_key!=null){element_key.size=90;}
			if (element_AU!=null){element_AU.style.width=1150;}
		}
		if(AW==1440)
		{	
			element_RB.width="100%"
			if (element_key!=null){element_key.size=92;}
			if (element_AU!=null){element_AU.style.width=1160;}
		}
}	
function init_quality_filter()
{
document.getElementById("FT_EQSFL").value=0;
document.getElementById("ESFL"+document.getElementById("FT_EQSFL").value).className="EqfOn";
}
function add_quality_filter()
{
	if (document.getElementById("FT_EQSFL").value<9)
	{	
		document.getElementById("FT_EQSFL").value++;
		document.getElementById("ESFL"+document.getElementById("FT_EQSFL").value).className="EqfOn";
	}
}
function subtract_quality_filter()
{
	if (document.getElementById("FT_EQSFL").value>0)
	{	
		document.getElementById("ESFL"+document.getElementById("FT_EQSFL").value).className="EqfOff";
		document.getElementById("FT_EQSFL").value--;
	}
}
function dropTB(NTB)
{
document.getElementById('TB_'+NTB).style.visibility = "hidden";
document.getElementById('TB_'+NTB).style.display = "none";
}
