document.onkeydown=FS_KT;
window.onerror = FS_Err;
var i = new Image();
function FS_KT(){if(document.all){key=event.keyCode}else{key=e.which}if(key==13){FS_SF()}}
function FS_SF(){document.getElementById('FS_form').submit()}
function FS_SFSearch()
{
	//Change the Action attribute
	document.getElementById('FS_form').action="template.php"
	document.getElementById('FS_form').submit()
}
function FS_IS(o){if(o.size){FS_IH=Math.abs(o.size);}else{FS_IH=Math.abs(FS_IH);}i.src = o.src;if (i.height > i.width){r = i.height / FS_IH;o.height = FS_IH;o.width = i.width / r;}else{r = i.width / FS_IH;o.width = FS_IH;o.height = i.height / r;}o.style.visibility='visible';}
function FS_Err(d,p,l,c){}
function FS_SBI(){if(FS_BI != ''){a = document.getElementsByName('fsp');for(x=0;x<a.length;x++){if(!a[x].complete){a[x].src=FS_BI;}}}}		