function LoadSld(){	
	var sld=document.all("Container");
	document.body.scroll="no"
	g_origSz=parseInt(Container.style.fontSize)
	g_origH=sld.style.posHeight
	if (!isIE) 	g_origH=eval(sld.style.height.replace(/px/,"").replace(/pt/,""))
	g_origW=sld.style.posWidth
	if (!isIE) 	g_origW=eval(sld.style.width.replace(/px/,"").replace(/pt/,""))
	_RSW()}

function _RSW(){
	var padding=0;
	cltWidth=document.body.clientWidth-padding
	cltHeight=document.body.clientHeight-padding
	factor=(1.0*cltWidth)/g_origW
	if( cltHeight < g_origH*factor )
		factor=(1.0*cltHeight)/g_origH
	newSize = g_origSz * factor
	if( newSize < 1 ) newSize=1
	s=Container.style
	s.fontSize=newSize+"px"
	s.posWidth=g_origW*factor
		if (!isIE) s.width=g_origW*factor
	s.posHeight=g_origH*factor
		if (!isIE) s.height=g_origH*factor	
	s.posLeft=(cltWidth-s.posWidth+padding)/2
		if (!isIE) s.left=(cltWidth-s.posWidth+padding)/2
	s.posTop=(cltHeight-s.posHeight+padding)/2
		if (!isIE) s.top=(cltHeight-s.posHeight+padding)/2}

function HotTracker(HT_group){
	var	resolution="",
		color_depth="",
		plugin_list="",
		jv=0,
		ref=document.referrer,
		HT_string,
		HT_server_name=location.hostname,
		HT_pagename=location.pathname;
	if(typeof(top.document)=="object") ref=top.document.referrer;
	resolution=screen.width+"x"+screen.height;
	color_depth=navigator.appName!='Netscape'? screen.colorDepth : screen.pixelDepth;
	for (var i=0; i<navigator.plugins.length; i++) { plugin_list += navigator.plugins[i].name + ';'; }
	if (navigator.javaEnabled()) { jv=1; }
	HT_string="<A target=_blank HREF='http://www.hottracker.de'><IMG SRC='http://ctsde01.wiredminds.de/click_track/ctin.php?custnum=672&amp;sname="+HT_server_name+"&amp;pagename="+HT_pagename+"&amp;group="+HT_group+"&amp;js=1&amp;jv="+jv+"&amp;resolution="+resolution+"&amp;color_depth="+color_depth+"&amp;plugins="+escape(plugin_list)+"&amp;referrer="+escape(ref)+"' border='0'></A>";
	return HT_string;}

function fullScr(){
	var aw = screen.availWidth;
	var ah = screen.availHeight;
    window.moveTo(0, 0);
    window.resizeTo(aw, ah);}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_nbGroup(event, grpName) { //v6.0
  var i,img,nbArr,args=MM_nbGroup.arguments;
  if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
      nbArr[nbArr.length] = img;
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
    } }
  } else if (event == "over") {
    document.MM_nbOver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
      nbArr[nbArr.length] = img;
    }
  } else if (event == "out" ) {
    for (i=0; i < document.MM_nbOver.length; i++) {
      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
  } else if (event == "down") {
    nbArr = document[grpName];
    if (nbArr)
      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
      nbArr[nbArr.length] = img;
  } }
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_openBrWindow(theURL,winName,features) {window.open(theURL,winName,features);}

function opendetailwindow() {window.open('','detailwindow','toolbar=no,scrollbars=no,resizable=yes,width=700,height=500');}
function isIE(){return(navigator.appName.indexOf("Explorer") != -1)}
function toggleVisibilityOn(){document.getElementById('c_toogle').style.visibility="visible";document.getElementById('c_toogle').style.zIndex="99";}
function toggleVisibilityOff(){document.getElementById('c_toogle').style.visibility="hidden";document.getElementById('c_toogle').style.zIndex="0";}
function toggleVisibility(){if (document.getElementById('c_toogle').style.visibility=="visible") toggleVisibilityOff(); else toggleVisibilityOn();}
function tOn(){document.getElementById('c_t1').style.visibility="visible";document.getElementById('c_t2').style.visibility="visible";document.getElementById('c_t3').style.visibility="visible";}
function tOff(){document.getElementById('c_t1').style.visibility="hidden";document.getElementById('c_t2').style.visibility="hidden";document.getElementById('c_t3').style.visibility="hidden";}
function change(html){document.getElementById('c_mouseover').innerHTML=html;}
function getfooter(){p_footer=document.getElementById('c_footer').innerHTML;}
function resetfooter(){document.getElementById('c_footer').innerHTML=p_footer;}
function changefooter(html){document.getElementById('c_footer').innerHTML=html;}



var isIE=isIE();
