var bSearchType=0 //advanced=1, simple=0
var strSearchField="SearchForm71" // this is used only in advanced/plus search

var iSize=14
var iFormId=87;
var strFormAction="sw17048.asp"

function bwcheck(){
	this.ver=navigator.appVersion; this.agent=navigator.userAgent
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6
	this.mac=this.agent.indexOf("Mac")>-1
	this.opera5=this.agent.indexOf("Opera 5")>-1
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5 || this.dom)
	return this
}
bw=new bwcheck()

function fncSpacer(iWidth){
	strSpacer='<IMG SRC="x.gif" width="'+iWidth+'" height="1" BORDER="0" ALT="">'
	return strSpacer;
}
var strSearch='';

var strSearchType=(bSearchType==1)? "Form_"+iFormId:"SearchForm"+iFormId
strSearchField=(bSearchType==1)? strSearchField:"SearchField"

var strHidden="SearchFormId"
strHidden=(bSearchType==1)? "lFormId":strHidden;

iSize=(!bw.ie)? Math.floor(iSize*0.6):iSize
strSearch='<TABLE cellpadding=0 cellspacing=0 border=0 width="133">\n'
+'<FORM method="post" name="'+strSearchType+'" target="_top" action="'+strFormAction+'">\n'
+'<TR>\n'
+'<TD colspan=2>'+fncSpacer(8)+'<IMG SRC="../graphics/Testweb-Germany-DropDown-Menu/js/overskrift-search.gif" BORDER="0" ALT=""><input type="hidden" name="'+strHidden+'" value="'+iFormId+'"></TD>\n'
+'</TR>\n'
+'<TR>\n'
+'<TD width="91"><NOBR>'+fncSpacer(8)+'<input type="Text" name="'+strSearchField+'" value="" class="rockinput" size="'+iSize+'">\n'
+'</NOBR></TD>\n'
+'<TD width="191">'+fncSpacer(9)+'<input type="image" src="../graphics/Testweb-Germany-DropDown-Menu/js/soek_off.gif" onmouseover="this.src=\'../graphics/Testweb-Germany-DropDown-Menu/js/soek_on.gif\'" onmouseout="this.src=\'../graphics/Testweb-Germany-DropDown-Menu/js/soek_off.gif\'" border="0"></TD>\n'
+'</TR>\n'
+'<TD colspan=2><SPAN class="norm"><NOBR> </NOBR></SPAN></TD>\n'
+'</TR>\n'
+'</FORM>'
+'</TABLE>\n'
document.write(strSearch)
//The line below is only for debugging purposes. Can be removed
if (location.href.indexOf("debug")>0) alert(strSearch)