var imBrw_op=window.opera; var imBrw_ie=document.all && !imBrw_op; var imBrw_ns=document.getElementById && !imBrw_ie; var imEffectEnabled = /MSIE [678]/.test(navigator.userAgent) && navigator.platform == "Win32"; var imLoadList = ""; var imPopupEffect = true; function imGetLayer(sName) {return document.all?document.all[sName]:document.getElementById?document.getElementById(sName) : "";}
function imIEBody(){return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body}
function imOpenLocation(sNewLocation){
document.location = sNewLocation; }
function imGetParameter(sParamName) {
var sQueryString = ""; var iStart = 0; var iEnd = 0; if (window.top.location.search != 0)
sQueryString = unescape(window.top.location.search); sParamName = sParamName + "="; if (sQueryString.length > 0) {
iStart = sQueryString.indexOf(sParamName); if ( iStart != -1 ) {
iStart += sParamName.length; iEnd = sQueryString.indexOf("&",iStart); if (iEnd == -1)
iEnd = sQueryString.length; return sQueryString.substring(iStart,iEnd); }
return null; }
return null; }
function imMenuMainHover() {
if (document.getElementById("imMnMn") != null) {
if (document.getElementsByTagName) {
var oList = document.getElementById("imMnMn").getElementsByTagName("LI"); for (var i=0; i<oList.length; i++) {
      oList[i].onmouseover=function() {this.className+=" iehover";}
    oList[i].onmouseout=function() {this.className=this.className.replace(new RegExp(" iehover\\b"), "");}}
}}
}
if (navigator.userAgent.indexOf('MSIE 5.5') != -1 || navigator.userAgent.indexOf('MSIE 6') != -1) imLoadList += "imMenuMainHover();"; function imPreloadImages(sImgNames) {
var sNames = new Array (); sNames = sImgNames.split(","); for(iList = 0 ; iList < sNames.length ; iList++) {
var oImg = new Image(); oImg.src = sNames[iList]; }}
var imOpenedSM = null; var imOpenedSMOld = null; var imOpenedSMOldHeight; var imSMCloseTimer = null; var imSMOpenTimer = null; function imSMSlide(start,stop) {
var sm; var smp; if(start < stop)
sm = imOpenedSM; else
sm = imOpenedSMOld; smp = sm.parentNode || sm.parent; var diff = (stop-start)/10; if((diff < stop-smp.clientHeight && start < stop) || (diff > stop-smp.clientHeight && start > stop))
smp.style.height = (smp.clientHeight+diff) + 'px'; else {
smp.style.height = stop + 'px'; if(start < stop) {
clearInterval(imSMOpenTimer); imSMOpenTimer = null; }
else {
clearInterval(imSMCloseTimer); imSMCloseTimer = null; }}
}
function imSMShow(menu) {
if(navigator.appVersion.indexOf('MSIE 6') == -1 && navigator.appVersion.indexOf('MSIE 5') == -1) {
var imOpenedSMP; var imOpenedSMOldP; if(imSMCloseTimer == null && imSMOpenTimer == null) {
if(menu.parentNode)
var sm = menu.parentNode.getElementsByTagName('ul')[0]; else
var sm = menu.parent.getElementsByTagName('ul')[0]; if(imOpenedSM != null) {
imOpenedSMOld = imOpenedSM; imOpenedSMOldP = imOpenedSMOld.parentNode || imOpenedSMOld.parent; imSMCloseTimer = setInterval('imSMSlide(' + imOpenedSMOldP.offsetHeight + ',' + imOpenedSMOldHeight + ')',10); imOpenedSMOldP.getElementsByTagName('a')[0].blur(); imOpenedSMOldP.getElementsByTagName('a')[0].className = ''; }
if(imOpenedSM != sm) {
imOpenedSM = sm; imOpenedSMP = imOpenedSM.parentNode || imOpenedSM.parent; imOpenedSMOldHeight = imOpenedSMP.offsetHeight; imOpenedSMP.style.height = imOpenedSMOldHeight + 'px'; imOpenedSMP.style.overflow = 'hidden'; menu.focus(); menu.className = 'selected'; imOpenedSM.style.display = ''; while(imSMOpenTimer != null); imSMOpenTimer = setInterval('imSMSlide(' + imOpenedSMOldHeight + ',' + (imOpenedSM.offsetHeight+imOpenedSMOldHeight) + ')',10); }
else
imOpenedSM = null; }}
else {
if(imOpenedSM != null) {
imOpenedSM.style.display = 'none'; imOpenedSM.parentNode.getElementsByTagName('a')[0].focus(); imOpenedSM.parentNode.getElementsByTagName('a')[0].className = ''; }
if(imOpenedSM != menu.parentNode.getElementsByTagName('ul')[0]) {
imOpenedSM = menu.parentNode.getElementsByTagName('ul')[0]; menu.focus(); menu.className = 'selected'; imOpenedSM.style.display = ''; }
else
imOpenedSM = null; }}
function imX5ShowImg(sMode, cW, cH, xC, sFile, sFileZ, iMove) {
document.write('<embed src="res/x5im'+sMode+'.swf?cW='+cW+'&cH='+cH+'&xC='+xC+'&File='+sFile+'&FileZ='+sFileZ+'&Move='+iMove+'" '+
'type="application/x-shockwave-flash" width="'+cW+'" height="'+cH+'" wmode="transparent" menu="false" scale="exactfit" '+
'allowscriptaccess="always" quality="high" flashvars="Licence=Only_For_Incomedia_WebSiteX5&Copyrights=WebSiteX5.com">'+
'</embed>'); }

	function imX5ShowAdv(iFullSize, iScale, sFileExt, sSoundExt, sUrl, iPreview) {
	document.write('<div id="imWebSiteX5Adv" style="height: '+iFullSize/4+'px; width: '+iFullSize/4+'px; "'+
	(iPreview == 0 ? '' : ' onmouseover="imObjIn(this.id);" onmouseout="imObjOut(this.id);"')+'>'+
	'<embed id="imWebSiteX5AdvObj" style="left: -'+parseInt(iFullSize-iFullSize/4)+'px" src="x5advcorner.swf?FileExt='+sFileExt+'&SoundExt='+sSoundExt+'&Url='+sUrl+'&Scale='+iScale+'&Preview='+iPreview+'" '+
	'type="application/x-shockwave-flash" width="'+iFullSize+'" height="'+iFullSize+'" wmode="transparent" menu="false" '+
	'allowscriptaccess="always" quality="high" flashvars="Licence=Only_For_Incomedia_WebSiteX5&Copyrights=WebSiteX5.com">'+
	'</embed></div>'); }

	var imTimeAdv; function imObjOut(sName) {
	imTimeAdv=setTimeout("imSetSize('"+sName+"',0, true);",1500); }

	function imObjIn(sName) {
	clearTimeout(imTimeAdv); imSetSize(sName,1, true); }

	function imSetSize(sName, bVal, bRefresh) {
	if (bVal == 0) {
	if (bRefresh) imGetLayer(sName).innerHTML = imGetLayer(sName).innerHTML; imGetLayer(sName).style.width = parseInt(imGetLayer(sName+"Obj").width/4)+"px"; imGetLayer(sName).style.height = parseInt(imGetLayer(sName+"Obj").height/4)+"px"; imGetLayer(sName+"Obj").style.left = parseInt(imGetLayer(sName+"Obj").width/4-imGetLayer(sName+"Obj").width)+"px"; }
	else{
	imGetLayer(sName).style.width = imGetLayer(sName+"Obj").width+"px"; imGetLayer(sName).style.height = imGetLayer(sName+"Obj").height+"px"; imGetLayer(sName+"Obj").style.left = "0px"; }}


