
var m_aMMAXMLHolder=new Array();var m_MMA_XMLID=0;var MMA_REQUEST_GET=0;var MMA_REQUEST_POST=2;var MMA_REQUEST_HEAD=1;var MMA_REQUEST_XML=3;function getXMLRequester()
{var mma_xmlHttp=false;try
{if(window.ActiveXObject)
{for(var i=6;i;i--)
{if(i==5)continue;try
{if(i==2)
{mma_xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");}
else
{mma_xmlHttp=new ActiveXObject("Msxml2.XMLHTTP."+i+".0");}
break;}
catch(excNotLoadable)
{mma_xmlHttp=false;}}}
else if(window.XMLHttpRequest)
{mma_xmlHttp=new XMLHttpRequest();}}
catch(excNotLoadable)
{mma_xmlHttp=false;}
return mma_xmlHttp;}
function sendRequest(strSource,strData,intType,CallID,sCallbackFunction)
{var oDatum=new Date();var XMLID;var XMLOBJ;var oOBJ;m_MMA_XMLID+=1;if(strSource.indexOf("?")>-1){strSource+="&T="+oDatum.getTime()+"_"+m_MMA_XMLID;}else{strSource+="?T="+oDatum.getTime()+"_"+m_MMA_XMLID;}
if(!strData)
strData='';if(isNaN(intType))
intType=0;oOBJ=new Object();oOBJ.ID=m_MMA_XMLID;oOBJ.XMLHTTP=getXMLRequester();AddXMLObj(oOBJ);if(intType!=1&&(strData&&strData.substr(0,1)=='&'||strData.substr(0,1)=='?'))
strData=strData.substring(1,strData.length);var dataReturn=strData?strData:strSource;switch(intType)
{case 1:strData="xml="+strData;case 2:oOBJ.XMLHTTP.open("POST",strSource,true);oOBJ.XMLHTTP.setRequestHeader('Content-Type','application/x-www-form-urlencoded');oOBJ.XMLHTTP.setRequestHeader('Content-length',strData.length);break;case 3:oOBJ.XMLHTTP.open("HEAD",strSource,true);strData=null;break;default:var strDataFile=strSource+(strData?'?'+strData:'');oOBJ.XMLHTTP.open("GET",strDataFile,true);strData=null;break;}
if(sCallbackFunction.length>0){oOBJ.XMLHTTP.onreadystatechange=new Function("","processResponse("+CallID+","+oOBJ.ID+",'"+sCallbackFunction+"')");}
oOBJ.XMLHTTP.send(strData);return dataReturn;}
function processResponse(CallID,XMLID,sCallbackFunction)
{var xmlHttpOBJ=GetXMLObj(XMLID);if(xmlHttpOBJ==null)return;xmlHttp=xmlHttpOBJ.XMLHTTP;switch(xmlHttp.readyState)
{case 0:case 1:case 2:case 3:break;case 4:if(xmlHttp.status==200){processData(xmlHttpOBJ,XMLID,CallID,sCallbackFunction);}else{m_aMMAXMLHolder=RemoveXMLObj(xmlHttpOBJ.ID);}
break;default:break;}}
function processData(xmlHttpOBJ,XMLID,CallID,sCallbackFunction){if(window[sCallbackFunction]){window[sCallbackFunction](xmlHttpOBJ.XMLHTTP.responseText,XMLID);m_aMMAXMLHolder=RemoveXMLObj(xmlHttpOBJ.ID);return void(0);}else{if(sCallbackFunction.length>0)alert("Callbackfunction '"+sCallbackFunction+"' not found");}
return void(0);}
function GetXMLObj(nXMLID){for(var i=0;i<m_aMMAXMLHolder.length;i++){if(m_aMMAXMLHolder[i].ID==nXMLID){return m_aMMAXMLHolder[i];}}
return null;}
function AddXMLObj(oXMLObj){m_aMMAXMLHolder[m_aMMAXMLHolder.length]=oXMLObj;}
function RemoveXMLObj(nXMLID){var arr=new Array();for(var i=0;i<m_aMMAXMLHolder.length;i++){if(m_aMMAXMLHolder[i].ID==nXMLID)continue;arr[arr.length]=m_aMMAXMLHolder[i];}
return arr;}var bIS_IE;if(window.Event){bIS_IE=false;}else{bIS_IE=true;}
function Flashinclude(sDIVName,sFlashpfad,id,width,height,menu,bgcolor,quality){var sHTML;if(typeof(id)=="undefined")id="FlashBanner";if(typeof(width)=="undefined")width="613";if(typeof(height)=="undefined")height="222";if(typeof(bgcolor)=="undefined")bgcolor="#ff9900";if(typeof(quality)=="undefined")quality="high";if(typeof(menu)=="undefined")menu="false";sHTML='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ';sHTML+='codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ';sHTML+='width="'+width+'" height="'+height+'" id="'+id+'" align="middle">';sHTML+='<param name="allowScriptAccess" value="sameDomain" />';sHTML+='<param name="wmode" value="opaque">';sHTML+='<param name="movie" value="'+sFlashpfad+'" />';sHTML+='<param name="menu" value="'+menu+'" />';sHTML+='<param name="quality" value="'+quality+'" />';sHTML+='<param name="bgcolor" value="'+bgcolor+'" />';sHTML+='<embed src="'+sFlashpfad+'" menu="'+menu+'" ';sHTML+='quality="'+quality+'" wmode="transparent" bgcolor="'+bgcolor+'" width="'+width+'" height="'+height+'" ';sHTML+='name="'+id+'" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';sHTML+='</object>';document.getElementById(sDIVName).innerHTML=sHTML;}
function getURLParam(strParamName){var sQueryString;var aQueryString;var sRet="";var sTMP;var sHref=parent.window.location.href;if(sHref.indexOf("?")==-1)return sRet;strParamName=strParamName.toLowerCase();sQueryString=sHref.substr(sHref.indexOf("?")+1);aQueryString=sQueryString.split("&");for(var iParam=0;iParam<aQueryString.length;iParam++){sTMP=aQueryString[iParam].toLowerCase();if(sTMP.indexOf(strParamName+"=")>-1){sRet=aQueryString[iParam].split("=")[1];break;}}
return sRet;}
function getQuerystring(){var sHref=parent.window.location.href;if(sHref.indexOf("?")==-1)return"";return sHref.substr(sHref.indexOf("?")+1);}
function setURLParam(sHref,sParam,sValue){var nPos1,nPos2;nPos1=sHref.indexOf("?"+sParam+"=");if(nPos1==-1){nPos1=sHref.indexOf("&"+sParam+"=");}
if(nPos1==-1){if(sHref.indexOf("?")==-1){sHref=sHref+"?"+sParam+"="+sValue;}else{sHref=sHref+"&"+sParam+"="+sValue;}}else{nPos2=sHref.indexOf("&",nPos1+1);if(nPos2==-1){sHref=sHref.replace(sParam+"="+sHref.substr(nPos1+sParam.length+2),sParam+"="+sValue);}
else{sHref=sHref.replace(sParam+"="+sHref.substr(nPos1+sParam.length+2,nPos2-nPos1-sParam.length-2),sParam+"="+sValue);}}
return sHref;}
function GetScrollPos(){var x,y;if(self.pageYOffset)
{y=self.pageYOffset;}
else if(document.documentElement&&document.documentElement.scrollTop)
{y=document.documentElement.scrollTop;}
else if(document.body)
{y=document.body.scrollTop;}
return y;}
function getBrowserWindowDimenson(mode){var theWidth,theHeight;if(mode.toLowerCase()=="width"){theWidth=0;if(window.innerWidth){theWidth=window.innerWidth;}else if(document.documentElement&&document.documentElement.clientWidth){theWidth=document.documentElement.clientWidth;}else if(document.body){theWidth=document.body.clientWidth;}
return theWidth;}
if(mode.toLowerCase()=="height"){theHeight=0;if(window.innerHeight){theHeight=window.innerHeight;}else if(document.documentElement&&document.documentElement.clientHeight){theHeight=document.documentElement.clientHeight;}else if(document.body){theHeight=document.body.clientHeight;}
return theHeight;}
return 0;}
function SetScrollPos(y){if(String(y).length==0)return;if(isNaN(y))return;if(self.pageYOffset)
{self.pageYOffset=y;}
else if(document.documentElement&&document.documentElement.scrollTop)
{document.documentElement.scrollTop=y;}
else if(document.body)
{document.body.scrollTop=y;}}
var iframeOBJ;var nMaus_XPos;var nMaus_YPos;function SetMouseEvents(){if(bIS_IE){document.onmousedown=CaptureMouseClick;}else{window.captureEvents(Event.MOUSEDOWN);window.onmousedown=CaptureMouseClick;}}
function DeleteMouseEvents(){if(bIS_IE){document.onmousedown=null;}else{window.releaseEvents(Event.MOUSEDOWN);}}
function RefreshWakoPosAnzahl(){var sURL="/iprosvc/GetWakoInfo.aspx?action=posanzahl";sendRequest(sURL,'',MMA_REQUEST_GET,0,"CallbackWakoPosAnzahl");}
function CallbackWakoPosAnzahl(sResult){if(document.getElementById("wako_nr")){document.getElementById("wako_nr").innerHTML="("+sResult+")";}}
function GenPopup(sArtNr,sKontext,e){var sIframeName;var H,B,X,Y;var sURL;sIframeName="IFramePopupobj";H=60;B=350;X=100;Y=100;if(document.all){X=e.clientX+document.body.scrollLeft;Y=e.clientY+document.body.scrollTop;}else{X=e.pageX;Y=e.pageY;}
X+=20;Y-=20;if(!document.getElementById(sIframeName)){iframeOBJ=createIframe(sIframeName,X,Y,H,B);}else{iframeOBJ=document.getElementById(sIframeName);iframeOBJ.style.heigth=H+"px";iframeOBJ.style.left=Math.round(X)+"px";iframeOBJ.style.top=Math.round(Y)+"px";}
sArtNr=ConvertURLText(sArtNr);sURL="/iprosvc/ArtikelInfo.aspx?artnr="+sArtNr+"&Kontext="+sKontext;ChanngeURL(sURL,iframeOBJ);}
function GenWakoPopup(sURL,e,nDeltaX,nDeltaY){var sIframeName;var H,B,X,Y;sIframeName="IFramePopupobj";H=80;B=350;if(document.all){X=e.clientX+document.body.scrollLeft;Y=e.clientY+document.body.scrollTop;}else{X=e.pageX;Y=e.pageY;}
if(typeof(nDeltaX)=="number"){X+=nDeltaX;}else{X+=30;}
if(typeof(nDeltaY)=="number"){Y+=nDeltaY;}else{Y-=40;}
if(X>440){X=280;Y-=25;}
if(!document.getElementById(sIframeName)){iframeOBJ=createIframe(sIframeName,X,Y,H,B);}else{iframeOBJ=document.getElementById(sIframeName);iframeOBJ.style.heigth=H+"px";iframeOBJ.style.left=Math.round(X)+"px";iframeOBJ.style.top=Math.round(Y)+"px";}
ChanngeURL(sURL,iframeOBJ);}
function ShowPopup(){if(typeof(HideArtikelListPopup)!="undefined")HideArtikelListPopup();if(iframeOBJ){iframeOBJ.style.display="";}
SetMouseEvents();}
function HidePopup(){if(typeof(HideArtikelListPopup)!="undefined")HideArtikelListPopup();if(iframeOBJ){iframeOBJ.style.display="none";ChanngeURL("about:blank",iframeOBJ);}
DeleteMouseEvents();}
function ResizePopup(sDIVElement){var nHoehe;if(!iframeOBJ)return;if(window.frames[iframeOBJ.id].document.getElementById(sDIVElement)==null)return;for(var i=0;i<2;i++){nHoehe=window.frames[iframeOBJ.id].document.getElementById(sDIVElement).offsetHeight;if(iframeOBJ)iframeOBJ.style.height=nHoehe+"px";}}
function createIframe(sName,X,Y,H,B){var oIF;if(document.createElement&&(oIF=document.createElement("iframe"))){oIF.setAttribute("id",sName);oIF.setAttribute("name",sName);oIF.src="about:blank";oIF.style.position="absolute";oIF.style.left=Math.round(X)+"px";oIF.style.top=Math.round(Y)+"px";oIF.style.width=Math.round(B)+"px";oIF.style.height=Math.round(H)+"px";oIF.style.zIndex=1000;oIF.frameBorder=0;oIF.style.backgroundColor="#959595";oIF.scrolling="auto";oIF.style.display="none";document.body.appendChild(oIF);}
return oIF;}
function ChanngeURL(sNewURL,oIFrame){var IFrameDoc=null;if(oIFrame.contentDocument){IFrameDoc=oIFrame.contentDocument;}else if(oIFrame.contentWindow){IFrameDoc=oIFrame.contentWindow.document;}else if(oIFrame.document){IFrameDoc=oIFrame.document;}
if(IFrameDoc!=null){IFrameDoc.location.replace(sNewURL);}else{iframeOBJ.src=sNewURL;}
return false;}
function CaptureMouseClick(e){HidePopup();}
function ShowUncoveredText(sID){var oT=document.getElementById(sID);var oL=document.getElementById("HREF_"+sID);if(oT!=null)oT.style.display="";if(oL!=null)oL.style.display="none";}
function Chk_IsNumber(sValue,bGroesserNull){sValue=sValue.split(",").join(".");nValue=Number(sValue);if(isNaN(nValue)||sValue.length==0){return null;}
if(bGroesserNull&&nValue<=0)return null;return nValue;}
function ConvertURLText(sText){sText=sText.split("?").join("%3F");sText=sText.split("&").join("%26");sText=sText.split("+").join("%2B");sText=sText.split("=").join("%3D");sText=sText.split("/").join("%2F");return sText;}
function isEmail(s){var reg;var a=false;var res=false;var b;if(typeof(RegExp)=='function'){b=new RegExp('abc');if(b.test('abc')==true)a=true;}
if(a==true){b=new RegExp("^[a-z0-9'+_-]+(?:\\.[a-z0-9'+_-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+([a-z]{2,4})$","i");res=b.test(s);}else{res=(s.search('@')>=1&&s.lastIndexOf('.')>s.search('@')&&s.lastIndexOf('.')>=s.length-5);}
return(res);}
function openPopupWin(sUrl,sName,sScrollbars,nWidth,nHeight,bResizable){var resizable;sUrl=encodeURI(sUrl);if(window.Event){nPosX=(screen.width-nWidth)/2;nPosY=(screen.height-nHeight)/2;}else{nPosX=(screen.availWidth-nWidth)/2;nPosY=(screen.availHeight-nHeight)/2;}
if(bResizable==true){resizable="resizable=yes";}else{resizable="resizable=no";}
sProp="width="+nWidth+",height="+nHeight+",left="+nPosX+", top="+nPosY+","+resizable+",scrollbars="+sScrollbars+",dependent=yes";var WinHandle=open(sUrl,sName,sProp);WinHandle.focus();}
function checkEnter(e,obj){var keycode;if(window.event)keycode=window.event.keyCode;else if(e)keycode=e.which;else return true;if(keycode==13)
{if(obj.name=="SearchText")
{doSearch(0);return false;}
else
return true;}
else
return true;}
function doSearch(n){if(n==1){document.location.href="default.aspx?page=searchresult&searchtext="+encodeURI(document.frmLangInfo.SearchText.value);}
else{if(document.frmLangInfo.SearchText.value.length>0){ShowWaitMessage(true);document.frmLangInfo.action="default.aspx?page=searchresult";document.frmLangInfo.SearchParam.value="1";document.frmLangInfo.submit();}}}
function showLinkFree(sURL){var nWidth=800;var nHeight=600;var sName="";if(window.Event){nPosX=(screen.width-nWidth)/2;nPosY=(screen.height-nHeight)/2;}else{nPosX=(screen.availWidth-nWidth)/2;nPosY=(screen.availHeight-nHeight)/2;}
window.open(sURL,"","");}
function showImage(sFile,w,h)
{if(w<150)w=150;sFile='image.htm?'+sFile;vX=screen.width/2-w/2;vY=screen.height/2-h/2;IMGPopup=window.open(sFile,"igus","left="+vX+",top="+vY+",height="+h+",width="+w+",status=no,toolbar=no,menubar=no,location=no,scrollbars=yes");IMGPopup.focus();}
function showImageWithText(sFile,w,h,legende)
{if(w<150)w=150;sFile='ImagePopup.aspx?imgsrc='+sFile;vX=screen.width/2-w/2;vY=screen.height/2-h/2;if(typeof(legende)!="undefined"&&legende.length>0){legende=legende.split("<").join("&lt;");legende=legende.split(">").join("&gt;");sFile=sFile+"&imgtext="+encodeURIComponent(legende);}
IMGPopup=window.open(sFile,"igus","left="+vX+",top="+vY+",height="+h+",width="+w+",status=no,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes");IMGPopup.focus();}
function CreateWaitDIV(sText,sID){oDIV=document.createElement("div");oDIV.setAttribute("id",sID);document.body.appendChild(oDIV);oElement=document.getElementById(sID);oElement.style.display="none";oElement.style.whiteSpace="nowrap";oElement.innerHTML=sText;}
function newsSubscription(){if(!isEmail(document.frmNewsletter.Email.value))
alert(_emailErrorMsg);else{openPopupWin("about:blank","NewsletterSubscriptionPopup","yes",685,450);document.frmNewsletter.target="NewsletterSubscriptionPopup";document.frmNewsletter.action=_igusWebroot+"wpck/sendForm.aspx?CP=U&FEEDBACK=NO&AR=NEWSLETTER_QUICKREGISTER&re=Newsletter&SENID=1&FormName=Quick+register+for+newsletter";document.frmNewsletter.submit();document.frmNewsletter.Email.value="";}}
function getLiefImage(sStatus){switch(sStatus){case"1":if(_country.toLowerCase()!="jp"){return _resourceImagepath+"Liefstatus_rot.gif";}else{return _resourceImagepath+"Liefstatus_rot_gross_jp.gif";}
break;case"2":if(_country.toLowerCase()!="jp"){return _resourceImagepath+"Liefstatus_gelb.gif";}else{return _resourceImagepath+"Liefstatus_gelb_gross_jp.gif";}
break;case"3":if(_country.toLowerCase()!="jp"){return _resourceImagepath+"Liefstatus_gruen.gif";}else{return _resourceImagepath+"Liefstatus_gruen_gross_jp.gif";}
break;default:return _resourceImagepath+"Liefstatus_Unbekannt.gif";break;}
return"";}
function GenLieferstatuslegende(sStatus){var sCopyRow;var sHTML;if(aLSTLegende.length==0)return;sHTML="<table>";for(var i=0;i<aLSTLegende.length;i++){sHTML+="<tr>";sHTML+="<td><IMG style='border:none;' src='"+getLiefImage(aLSTLegende[i].Status)+"'></td>";sHTML+="<td><FONT style='FONT-SIZE: 11px'>"+aLSTLegende[i].Text+"</FONT></td>";sHTML+="</tr>";}
sHTML+="</table>";setAndshowInnerHTML("Lieferstatuslegende",sHTML);}
function Add_Arti_To_Wako(nItemID,sArtNr,e){var oA;var sURL;var nAnzahl=0;var nMenge=0;if(document.getElementById("Anzahl_"+nItemID)){nAnzahl=document.getElementById("Anzahl_"+nItemID).value;if(Chk_IsNumber(nAnzahl,true)==null){alert(_fehlerEingabeAnzahl);return;}}
if(document.getElementById("Menge_"+nItemID)){nMenge=document.getElementById("Menge_"+nItemID).value;nMenge=Chk_IsNumber(nMenge,true);if(nMenge==null){alert(_fehlerEingabeLaenge);return;}}
sURL="/iProSvc/AddToWako.aspx?page=wakoadd&action=add&artnr="+ConvertURLText(sArtNr)+"&n="+nAnzahl;if(nMenge>0)sURL+="&m="+nMenge;GenWakoPopup(sURL,e);}
function ShowWaitMessage(bMode,nX,nY){var oWaitDIV;var nMode;var sID="waitMessage";var nPosX,nPosY,nMessageB,nMessageH;if(bMode==true){document.body.style.cursor="wait";if(!document.getElementById(sID))CreateWaitDIV(_waittextSearch,sID);oWaitDIV=document.getElementById(sID);oWaitDIV.style.display="";nMessageB=oWaitDIV.clientWidth;nMessageH=oWaitDIV.clientHeight;if(typeof(nX)=="number"){nPosX=nX;}else{nPosX=(document.body.clientWidth/2-nMessageB/2)+document.body.scrollLeft;}
if(typeof(nY)=="number"){nPosY=nY;}else{nPosY=(document.body.clientHeight/2-nMessageH/2)+document.body.scrollTop;}
oWaitDIV.style.left=nPosX+"px";oWaitDIV.style.top=nPosY+"px";}else{if(document.getElementById(sID)){oWaitDIV=document.getElementById(sID);oWaitDIV.style.display="none";document.body.style.cursor="arrow";}}}
function askPrice(sArtNr,sItemID){var sURL;var sAnzahl,sMenge;var dx=430;var dy=400;var posx=(screen.availWidth-dx)/2;var posy=(screen.availHeight-dy)/2;var position="left="+posx+",top="+posy+",width="+dx+",height="+dy;if(document.getElementById("Anzahl_"+sItemID)){sAnzahl=String(document.getElementById("Anzahl_"+sItemID).value);}else{sAnzahl="";}
if(document.getElementById("Menge_"+sItemID)){sMenge=String(document.getElementById("Menge_"+sItemID).value);}else{sMenge="";}
sURL=_igusWebroot+"default.asp?PAGE=PriceRequest&artnr="+ConvertURLText(sArtNr);if(sAnzahl.length>0)sURL+="&anzahl="+sAnzahl;if(sMenge.length>0)sURL+="&menge="+sMenge;wndaskprice=window.open(sURL,"price","toolbar=no,scrollbars=yes,resizable=yes,"+position);wndaskprice.focus();}
function selectLanguage(){var oCultSel=document.frmLangInfo.selCultureInfo;var sCultValue=oCultSel.options[oCultSel.selectedIndex].value;var sPageNr,sPageVersion;var sURL;if(document.getElementById("PAGE_VERSION")){sPageVersion=document.getElementById("PAGE_VERSION").value;if(sPageVersion=="1")sPageVersion="";}else{sPageVersion="";}
if(sCultValue.substring(0,1)=='$'){sURL=sCultValue.substring(1);}else{sPageNr=document.frmLangInfo.PAGE_NR.value;sURL=_currentPageUrl+_switchClUrl+"&CL="+sCultValue;}
if(sPageVersion!=""){sURL+="&Version="+sPageVersion;}
document.location.href=sURL;}
function openPageMail(){var sTitle=new String();var sUrl;var sPath=document.location.href.split("?")[0];sUrl=escape(sPath+_currentPageLink);var dx=380;var dy=530;var posx=(screen.availWidth-dx)/2;var posy=(screen.availHeight-dy)/2;var position="left="+posx+",top="+posy+",width="+dx+",height="+dy;hwnd=window.open(_igusWebroot+"emailPage.asp?URL="+sUrl+"&TITLE="+sTitle,"emailpage","toolbar=no,scrollbars=yes,resizable=yes,"+position);hwnd.focus();}
function showPage(pageid){openPopupWin(_igusStartpage+'?POP=yes&PAGE='+pageid,'Info','yes',685,450);}
function showSupport(sID,nSparte,nPB){openPopupWin(_igusStartpage+"?POP=yes&PAGE=112&ADRE="+sID+"&SPARTE="+nSparte+"&PATY="+nPB,"support","yes",418,570);}
function bookmarkPage(){var sUrl;var sTitle=new String();var sPath=document.location.href.split("?")[0];sUrl=sPath+_currentPageLink;if((navigator.appName=="Microsoft Internet Explorer")&&(parseInt(navigator.appVersion,10)>=4)){window.external.AddFavorite(sUrl,sTitle);}else{var msg=_bookmarkText;if(navigator.appName=="Netscape")msg+="  (CTRL-D)";alert(msg);}}
function searchPlz(){var oPlzIn=document.getElementById('frmPlz');if(oPlzIn){if(oPlzIn.value!=''){document.frmSearchPlz.action=_currentPageUrl+_currentPageLink;document.frmSearchPlz.submit();}}}
function searchDistrict(){document.frmDistrict.action=_currentPageUrl+_currentPageLink;document.frmDistrict.submit();}
function setAndshowInnerHTML(sDIVName,oHTML){if(document.getElementById(sDIVName)){document.getElementById(sDIVName).innerHTML=oHTML;document.getElementById(sDIVName).style.display="block";}}
function getCsid(){var a=document.cookie;var b=a.substr(a.search('VisitorID=')+10);if(b.search(';')!=-1){return b.substr(0,b.search(';'));}else{return b;}}
function CloseBlaetterboxen(){var item=document.getElementsByName("blaetterboxDiv");for(var i=0;i<item.length;i++){item[i].style.display="none";}
if(document.getElementById("blaetterboxFirstLine")){document.getElementById("blaetterboxFirstLine").style.display="block";}}
