//Version 3.1, 02.07.2002
//Copyright 2002 BBDO InterOne Hamburg
//modified 27.08.2004, llonnemann: catchBlocker; handleOpener; initDHTMLScroller;
//modified 06.09.2006, llonnemann: writeMiniFrame;
//modified 13.02.2008, llonnemann: insert framepage_functions.js;

var nn4                  = document.layers;
var nn6                  = document.documentElement;if(document.all) {nn6 = false;}
var ie4                  = (document.all && !document.getElementById);
var ie5                  = (document.all && document.getElementById);
var dom                  = document.getElementById;
var mac                  = false; if(navigator.platform.indexOf("Mac") >= 0){mac = true;}

var lyr                  = new Array();
var pictures             = new Array();
var userAgent            = window.navigator.userAgent;
var preLoadIsComplete    = false;
var ToggleStatus		     = new Array ();
var oldImg               = "";
var oldCnt;

var loopCounter          = 0;
var CheckAnimationStatus = 0;
var loadImgList;
var loadImgCount;
var LoopAnimation;

var layerLoadingStatus   = new Array();
var query				         = new Object();
var parameterArray       = new Array();

function checkForFrameset(){}
function setTopStatus(){}
function setBottomStatus(){}

function handleOpener(x){
	if(x){
		if (opener && opener.closed==false) {
			window.opener.parent.frames[1].location.href=x;
			window.opener.focus(); 
		} else { 
			window.open(haendlerpath+'Mini/index.html?content='+x);
		}
	}
}

function findElement(n,ly) {
	var curDoc = ly ? ly.document : document;
	var elem = curDoc[n];
	if (!elem) {
		for (var i=0;i<curDoc.layers.length;i++) {
			elem = findElement(n,curDoc.layers[i]);
			if (elem) {
				return elem;
			}
		}
	}
	return elem;
}


function NSStyle(s) {
	return findElement(s,0);
}


function IEStyle(s) {
	return document.all.tags("div")[s].style;
}


function activeImageConstructor(aName,aLowlightSrc,aHighlightSrc) {
	this.name          = aName;
	this.lowLight      = new Image();
	this.lowLight.src  = aLowlightSrc;
	this.highLight     = new Image();
	this.highLight.src = aHighlightSrc;
	this.storeLight     = new Image();
	this.storeLight.src = aLowlightSrc;
}


function addImageToPictureList(imageName, imageUrl, activeImageUrl){
  activeImageObj     = new activeImageConstructor(imageName, imageUrl, activeImageUrl);
  activeImageData    = new Array(activeImageObj);
  pictures           = pictures.concat(activeImageData);
}

function addJpgToPictureList(imageName, imageUrl, activeImageUrl){
  activeImageObj     = new activeImageConstructor(imageName, imageUrl, activeImageUrl);
  activeImageData    = new Array(activeImageObj);
  pictures           = pictures.concat(activeImageData);
}

function preLoad() {
  var preLoadedImgs = "";
  if (document.layers) {
    for (i=0; i<document.layers.length; i++) {
      for (j=0; j<document.layers[i].document.images.length; j++)  {
        if (document.layers[i].document.images[j].name) {
          if (preLoadedImgs.indexOf(document.layers[i].document.images[j].name) < 0) {
            var imgSrc = document.layers[i].document.images[j].src;
            if (!(/\-a\./.test(imgSrc))) {
              var tmpPrefix = imgSrc.substr(0,imgSrc.length-4);
              var tmpSuffix = imgSrc.substr(imgSrc.length-4,imgSrc.length-1);
              if (tmpSuffix == ".gif") {
                var tmpActiveSrc = tmpPrefix + "-a" + tmpSuffix;
									tmpActiveSrc = tmpActiveSrc.replace(/-a-a/,"-a");
                var IEFix = new activeImageConstructor(document.layers[i].document.images[j].name,document.layers[i].document.images[j].src,tmpActiveSrc);
                var tmpData = new Array(IEFix);
                pictures = pictures.concat(tmpData);
                preLoadedImgs = preLoadedImgs.concat(document.layers[i].document.images[j].name);
              }
            }
          }
        }
      }
    }
  }
  for (i=0; i <document.images.length; i++) {
    if (document.images[i].name) {
      if (preLoadedImgs.indexOf(document.images[i].name) < 0) {
        var imgSrc = document.images[i].src;
        if (!(/\-a\./.test(imgSrc))) {
          var tmpPrefix = imgSrc.substr(0,imgSrc.length-4);
          var tmpSuffix = imgSrc.substr(imgSrc.length-4,imgSrc.length-1);
          if (tmpSuffix == ".gif") {
            var tmpActiveSrc = tmpPrefix + "-a" + tmpSuffix;
							tmpActiveSrc = tmpActiveSrc.replace(/-a-a/,"-a");
            var IEFix = new activeImageConstructor(document.images[i].name,document.images[i].src,tmpActiveSrc);
            var tmpData = new Array(IEFix);
            pictures = pictures.concat(tmpData);
            preLoadedImgs = preLoadedImgs.concat(document.images[i].name);
          }
        }
      }
    }
  }
  preLoadIsComplete = true;
}


function chgclass(tagname,css) {
  if (preLoadIsComplete) {
    if (!document.layers) {
      if (ie4){eval("document.all."+tagname+".className='"+css+"'");}
      else    {eval("document.getElementById('"+tagname+"')"+".className='"+css+"'");}
    }
  }
  else {
		preLoad();
	}
}


function mouseOver(aPic,aLayer) {
	if (preLoadIsComplete) {
		for (i=0; i<pictures.length; i++) {
			if (pictures[i].name == aPic) {
				if(nn4 && aLayer) {
					NSStyle(aLayer).document.images[aPic].src = pictures[i].highLight.src;
				}
				else {
					document.images[aPic].src = pictures[i].highLight.src;
				}
			}
		}
	}
	else {	
		preLoad();
	}
}


function mouseOut(aPic,aLayer) {
	oldImg = "";
	if (preLoadIsComplete) {
		for (i=0; i<pictures.length; i++) {
			if (pictures[i].name == aPic) {
				if(nn4 && aLayer) {
					NSStyle(aLayer).document.images[aPic].src = pictures[i].lowLight.src;
				} 
				else {
					document.images[aPic].src = pictures[i].lowLight.src;
				}
			}
		}
	}
	else {
		preLoad();
	}
}


function setPermanentHigh(picName,layerName) {
	if (preLoadIsComplete) {
		for (i=0; i<pictures.length; i++) {
			if (pictures[i].name == picName) {
				pictures[i].lowLight.src = pictures[i].highLight.src;
				if(nn4 && layerName) {
					NSStyle(layerName).document.images[picName].src = pictures[i].highLight.src;
				}
				else {
					document.images[picName].src = pictures[i].highLight.src;
				}
			}
		}
	}
	else {
		preLoad();
	}
}


function dropPermanentHigh(picName,layerName) {
	if (preLoadIsComplete) {
		for (i=0; i<pictures.length; i++) {
			if (pictures[i].name == picName) {
				pictures[i].lowLight.src = pictures[i].storeLight.src;
				if(nn4 && layerName) {
					NSStyle(layerName).document.images[picName].src = pictures[i].lowLight.src;
				}
				else {
					document.images[picName].src = pictures[i].lowLight.src;
				}
			}
		}
	}
	else {
		preLoad();
	}
}


function vSwitch(aLayer,aBool) {
	if (preLoadIsComplete) {
		if (document.all) {
			IEStyle(aLayer).visibility = (aBool == 0) ? "hidden" : "visible";
		}
		else {
			if (nn4) {
				NSStyle(aLayer).visibility = (aBool == 0) ? 'hide' : 'show';
			}
			else if (nn6) {
				document.getElementById(aLayer).style.visibility= (aBool == 0) ? "hidden" : "visible";
			}
		}
	}
	else {
		preLoad();
	}
}


function toggleLayer(Layer) {
	if (ToggleStatus[Layer]) {
		vSwitch(Layer,0);
		ToggleStatus[Layer] = 0;
	}
	else {
		vSwitch(Layer,1);
		ToggleStatus[Layer] = 1;
	}
}


function centerPopup(popup_name,popup_url,popup_with,popup_height,reopen,myScrollbar,myLeftPos,myTopPos) {
  if(!myLeftPos)  {myLeftPos    = 5;}
  if(!myTopPos)   {myTopPos     = 15;}
  if(!myScrollbar){myScrollbar  = 0;}
  var popup_left                = (window.screen.width/2)  - (popup_with/2 + myLeftPos);
  var popup_top                 = (window.screen.height/2) - (popup_height/2 + myTopPos);
  if ((typeof popup_window != 'object') || (typeof popup_window == 'object' && popup_window.closed)) {
    if (document.all) {
      var xyPos                 = 'left=' + popup_left + ',top=' + popup_top;
    } else {
      var xyPos                 = 'screenX=' + popup_left + ',screenY=' + popup_top;
    }
    popup_window                = window.open(popup_url, popup_name, "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=" + myScrollbar + ",resizable=no,width=" + popup_with + ",height=" + popup_height + ",copyhistory=no," + xyPos + "");
    popup_window.opener         = self;
    popup_window.focus();
    winUrl                      = popup_url;
    windowWidth                 = popup_with;
    windowHeight                = popup_height;
  } else {
    if ((winUrl != popup_url) || reopen) {
      popup_window.location.href = popup_url;
    }
    if ((windowWidth + windowHeight > 0) && (popup_with != windowWidth || popup_height != windowHeight || myLeftPos != diffWidth || myTopPos != diffHeight)) {
      var newWidth              = popup_with  - windowWidth;
      var newHeight             = popup_height - windowHeight;
      popup_window.resizeBy(newWidth,newHeight);
      popup_window.moveTo(popup_left,popup_top);
    }
    popup_window.focus();
    winUrl                      = popup_url;
    windowWidth                 = popup_with;
    windowHeight                = popup_height;
  }
  diffWidth                     = myLeftPos;
  diffHeight                    = myTopPos;
}



function loadPage(layerName,sourcePath,layerWidth) {
	if(!layerWidth) {layerWidth = 0;}
	iFrameName = layerName + "I";
	if (nn4) {
		NSStyle(layerName).load(sourcePath,layerWidth);
	}
	else if (ie4) {
		parent[iFrameName].location = sourcePath;
	}
	else {
		document.getElementById(iFrameName).src = sourcePath;
	}
}


function loadAllLayers(layerName,layerURL,thisLayerNumber) {
	loadPage(layerName,layerURL);
	thisLayerNumber++;
	checkLoading(layerName,thisLayerNumber);
}


function checkLoading(layerName,thisLayerNumber) {
	if(layerLoadingStatus[thisLayerNumber]) {
		initLayerLoad(thisLayerNumber);
	}
	else {
		setTimeout("checkLoading('"+layerName+"',"+thisLayerNumber+")",10);
	}
}


function initLayerLoad(thisLayerNumber) {
	numberOfLayers = layerNames.length;
	if(thisLayerNumber <= (numberOfLayers-1)) {
		loadAllLayers(layerNames[thisLayerNumber],layerURLs[thisLayerNumber],thisLayerNumber);
	}
}


function setLayerPosition(thisLayer,positionLeft,positionTop) {
	var unit = "";
	thisLayer = document.all ? document.all[thisLayer] : document.getElementById ? document.getElementById(thisLayer) : NSStyle(thisLayer);
	thisLayer = document.layers ? thisLayer : thisLayer.style;
	if(document.getElementById) {unit = "px";}
	thisLayer.left = positionLeft + unit;
	thisLayer.top  = positionTop + unit;
	return;
}


function getLayerInformation(thisLayer) {
	thisLayerPosition = new Array();
	thisLayer = document.all ? document.all[thisLayer] : document.getElementById ? document.getElementById(thisLayer) : NSStyle(thisLayer);
	thisLayerPosition[0] = document.layers ? thisLayer.top : thisLayer.offsetTop;
	thisLayerPosition[1] = document.layers ? thisLayer.left : thisLayer.offsetLeft;
	thisLayerPosition[2] = document.layers ? thisLayer.document.width : thisLayer.offsetWidth;
	thisLayerPosition[3] = document.layers ? thisLayer.document.height : thisLayer.offsetHeight;
	return(thisLayerPosition);
}


function getScreenInformation() {
	thisScreenInformation = new Array();
	thisScreenInformation[0] = screen.width;
	thisScreenInformation[1] = screen.height;
	thisScreenInformation[2] = screen.colorDepth;
	thisScreenInformation[3] = document.all ? document.body.offsetWidth  : window.innerWidth; //Innerer Anzeigebereich
	thisScreenInformation[4] = document.all ? document.body.offsetHeight : window.innerHeight; //Innerer Anzeigebereich
	return(thisScreenInformation);
}


function getMouseInformation(myEvent) {
	thisMousePosition = new Array();
	if(nn4 || nn6) {
		thisMousePosition[0] = myEvent.pageX;
		thisMousePosition[1] = myEvent.pageY;
	}
	else {
		thisMousePosition[0] = window.event.clientX;
		thisMousePosition[1] = window.event.clientY;
	}
	return(thisMousePosition);
}

function disableEventHandlers() {
	document.releaseEvents(Event.MOUSEMOVE);
}

function enableEventHandlers() {
	document.captureEvents(Event.MOUSEMOVE);
	document.onmousemove = getMouseInformation;
}


function loadStart(srcList) {
	loadImgCount = 0;
	loadImgList = new Array();
	for (i = 0; i < srcList.length; i++) {
		loadImgList[i]					= new Image();
		loadImgList[i].onabort	= loadUpdate;
		loadImgList[i].onerror	= loadUpdate;
		loadImgList[i].onload 	= loadUpdate;
		loadImgList[i].src			= ImagePath + srcList[i];
	}
}

function loadUpdate() {
  loadImgCount++;
  if (loadImgCount == loadImgList.length) {
		loadImgCount = 0;
		startAnimation();
	}
}

function startAnimation() {
	ImageAmount = animationImages.length;
	if (animationImages[loopCounter] == "") {loopCounter++;}
	if (loopCounter >= ImageAmount) {loopCounter = 0;}
 	if(aniLayerName && nn4) {
 		NSStyle(aniLayerName).document.images[imageName].src = loadImgList[loopCounter].src;
 	}
 	else {
		document.images[imageName].src = loadImgList[loopCounter].src;
	}
	loopCounter++;
	LoopAnimation = setTimeout("startAnimation()",loopTime[loopCounter-1]);
}

function ToggleAnimation () {
	if (CheckAnimationStatus == 0) {
		clearTimeout(LoopAnimation);
		CheckAnimationStatus = 1;
	}
	else {
		startAnimation();
		CheckAnimationStatus = 0;
	}
}


function setZIndex(thisLayer,thisIndex) {
	if(nn4) {
			NSStyle(thisLayer).zIndex=thisIndex;
	}
	else if (ie4) {
		document.all[thisLayer].style.zIndex=thisIndex;
	}
	else {
		document.getElementById(thisLayer).style.zIndex=thisIndex;
	}
	return;
}


function writeIntoLayer(thisLayer,layerContent) {
	if(document.all) {
		document.all.tags("div")[thisLayer].innerHTML = layerContent;	
	}
	else if(document.layers) {
		NSStyle(thisLayer).document.open("text/html");
		NSStyle(thisLayer).document.write(layerContent);
		NSStyle(thisLayer).document.close();
	}
	else {
		document.getElementById(thisLayer).innerHTML = layerContent;
	}
}

var isScrolling;
var baseScrollSpeed = 1;

if(!nn6) {
  var baseScrollStep = 1;
 }
else {
  var baseScrollStep = 3;
 }

function initScroller() {
 for (var i=0; i<initScroller.arguments.length; ++i) {
	parentLayerName = initScroller.arguments[i] + "ScrollParent";
	parentLayerData = new Array();
	parentLayerData = getLayerInformation(parentLayerName);
	childLayerName  = initScroller.arguments[i] + "ScrollChild";
	childLayerData  = new Array();
	childLayerData  = getLayerInformation(childLayerName);
	if(nn4) {
     clipHeight = document.layers[parentLayerName].clip.height;
	 }
	else {
     clipHeight = parentLayerData[3];
    }
	if(childLayerData[3] > clipHeight) {
	  vSwitch(initScroller.arguments[i]+"ScrollControl",1);
	 }
  }
}

function initDHTMLScroller() {
  for (var i=0; i<initDHTMLScroller.arguments.length; ++i) {
    parentLayerName = initDHTMLScroller.arguments[i] + "ScrollParent";
    parentLayerData = new Array();
    parentLayerData = getLayerInformation(parentLayerName);
    childLayerName  = initDHTMLScroller.arguments[i] + "ScrollChild";
    childLayerData  = new Array();
    childLayerData  = getLayerInformation(childLayerName);
    if(nn4) {
      this.clipHeight = document.layers[this.parentLayerName].clip.height;
    }
    else {
      this.clipHeight = this.parentLayerData[3];
    }
    if(childLayerData[3] > clipHeight) {
      vSwitch(initDHTMLScroller.arguments[i]+"Ruler",1);
      vSwitch(initDHTMLScroller.arguments[i]+"ScrollBar",1);
      vSwitch(initDHTMLScroller.arguments[i]+"Down",1);
      vSwitch(initDHTMLScroller.arguments[i]+"Up",1);
      vSwitch(initDHTMLScroller.arguments[i]+"Drag",1);
    }else{
      vSwitch(initDHTMLScroller.arguments[i]+"Ruler",0);
      vSwitch(initDHTMLScroller.arguments[i]+"ScrollBar",0);
      vSwitch(initDHTMLScroller.arguments[i]+"Down",0);
      vSwitch(initDHTMLScroller.arguments[i]+"Up",0);
      vSwitch(initDHTMLScroller.arguments[i]+"Drag",0);
    }
    initDHTMLScroller.arguments[i] = new eventLoader(initDHTMLScroller.arguments[i]);
  }
}

function stopScroll() {
 isScrolling = false;
}

function startScroll(scrollStep, layerName) {
 this.scrollStep = scrollStep;
 this.layerName  = layerName;
 isScrolling     = true;
 parentLayerName = layerName + "ScrollParent";
 childLayerName  = layerName + "ScrollChild";
 doScroll(scrollStep);
}

function doScroll(scrollStep) {
 this.scrollStep = scrollStep;
 
 parentLayerData = new Array();
 parentLayerData = getLayerInformation(parentLayerName);

 childLayerData  = new Array();
 childLayerData  = getLayerInformation(childLayerName);

 if(scrollStep>0) {
   if(nn4) {
     clipHeight = document.layers[parentLayerName].clip.height;
    }
   else {
     clipHeight = parentLayerData[3];
    }
  
   if(childLayerData[0] > -(childLayerData[3] - clipHeight)) {
     setLayerPosition(childLayerName,0,(childLayerData[0]-scrollStep));
    }
  }
 else {
   if(childLayerData[0] < 0) {
     setLayerPosition(childLayerName,0,(childLayerData[0]-scrollStep));
    }
  }
 if(isScrolling) {
 	setTimeout("doScroll(scrollStep)",baseScrollSpeed);
  }
}

function splitSearchstring(){
  if (self.location.search.indexOf("=") == -1)
    return;
  parameterArray = self.location.search.substring(1).split("&");
  for (var i = 0; i < parameterArray.length; i++) {
    pair = parameterArray[i].split("=");
    query[unescape(pair[0])] = (pair[1] ? unescape(pair[1]) : "");
  }
}

function emailCheck(emailStr) {
	var emailPat=/^(.+)@(.+)$/;
	var specialChars="\\(\\)<>@,;:\\\\\\\"\\.\\[\\]";
	var validChars="\[^\\s" + specialChars + "\]";
	var quotedUser="(\"[^\"]*\")";
	var ipDomainPat=/^\[(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\]$/;
	var atom=validChars + '+';
	var word="(" + atom + "|" + quotedUser + ")";
	var userPat=new RegExp("^" + word + "(\\." + word + ")*$");
	var domainPat=new RegExp("^" + atom + "(\\." + atom +")*$");
	var matchArray=emailStr.match(emailPat);
	if (matchArray==null) {
		return false;
	}
	var user=matchArray[1]
	var domain=matchArray[2]
	if (user.match(userPat)==null) {
		return false;
	}
	var IPArray=domain.match(ipDomainPat);
	if (IPArray!=null) {
		for (var i=1;i<=4;i++) {
			if (IPArray[i]>255) {
				return false;
			}
		}
		return true;
	}
	var domainArray=domain.match(domainPat);
	if (domainArray==null) {
		return false;
	}
	var atomPat=new RegExp(atom,"g");
	var domArr=domain.match(atomPat);
	var len=domArr.length;
	if (domArr[domArr.length-1].length<2 || domArr[domArr.length-1].length>3) {
		return false;
	}
	if (len<2) {
		return false;
	}
	return true;
}


// additionals: 06.11.2003, bbdo interone munich, lutz lonnemann
function getElement(name) {
	if (parseInt(navigator.appVersion) >= 4 && ie4) {
		return eval("document.all." + name + ".style");
	}
	else if (nn4) {
		for (i = document.layers.length - 1; i >= 0; i--) {
			if (document.layers[i].name == name) {
				return eval("document.layers." + name);
			}
			else {
				for (h = document.layers[i].document.layers.length - 1; h >= 0; h--) {
					if (document.layers[i].document.layers[h].name == name) {
						return eval("document.layers["+ i +"].document.layers." + name);
					}
					else {
						for (g = document.layers[i].document.layers[h].document.layers.length - 1; g >= 0; g--) {
							if (document.layers[i].document.layers[h].document.layers[g].name == name) {
								return eval("document.layers["+ i +"].document.layers["+ h + "].document." + name);
							}
						}
					}
				}
			}
		}
	}
	else {
		return document.getElementById(name).style;
	}
}
// global layers-show-and-hide function
//
function show(name) {
              getElement(name).visibility = "visible";
}

function hide(name) {
              getElement(name).visibility = "hidden";
}


var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
	plugin = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) > 4;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.userAgent.indexOf("Windows")>=0)) {
	document.write('<SCRIPT LANGUAGE=VBScript\>\n');
	document.write('on error resume next \n');
	document.write('plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5")))\n');
	document.write('</SCRIPT\> \n');
}

function loadMainImage(imgPath, imageName) {
  var preload = new Image();
  preload.src = imgPath;
  document.images[imageName].src = preload.src;
}

function writeMiniFrame (miniFrameLayer,frameWidth,frameHeight,frameColor,frameBorder) {
  var thisBorder       = (frameBorder != null) ? frameBorder : 10;
  var miniFrameString  = '<table cellpadding="0" cellspacing="0" width="' + (frameWidth) + '" height="' + (frameHeight) + '" border="0">'
      +'<tr>'
      +'  <td bgcolor="' + frameColor + '"><img src="http://www.mini.de/de/partner/images/Mini/common/_img/1x1_trans.gif" width="' + thisBorder + '" height="1" /></td>'
      +'  <td bgcolor="' + frameColor + '"><img src="http://www.mini.de/de/partner/images/Mini/common/_img/1x1_trans.gif" width="1" height="' + thisBorder + '" /></td>'
      +'  <td bgcolor="' + frameColor + '"><img src="http://www.mini.de/de/partner/images/Mini/common/_img/1x1_trans.gif" width="' + thisBorder + '" height="1" /></td>'
      +'</tr>'
      +'<tr>'
      +'  <td bgcolor="' + frameColor + '"><img src="http://www.mini.de/de/partner/images/Mini/common/_img/1x1_trans.gif" width="1" height="1" /></td>'
      +'  <td><img src="http://www.mini.de/de/partner/images/Mini/common/_img/1x1_trans.gif" width="'+(frameWidth-20)+'" height="'+(frameHeight-20)+'" /></td>'
      +'  <td bgcolor="' + frameColor + '"><img src="http://www.mini.de/de/partner/images/Mini/common/_img/1x1_trans.gif" width="1" height="1" /></td>'
      +'</tr>'
      +'<tr>'
      +'  <td bgcolor="' + frameColor + '"><img src="http://www.mini.de/de/partner/images/Mini/common/_img/1x1_trans.gif" width="' + thisBorder + '" height="1" /></td>'
      +'  <td bgcolor="' + frameColor + '"><img src="http://www.mini.de/de/partner/images/Mini/common/_img/1x1_trans.gif" width="1" height="' + thisBorder + '" /></td>'
      +'  <td bgcolor="' + frameColor + '"><img src="http://www.mini.de/de/partner/images/Mini/common/_img/1x1_trans.gif" width="' + thisBorder + '" height="1" /></td>'
      +'</tr>'
      +'</table>';
  return miniFrameString;
}

//SWF Object 1.5
if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;


document.write("<scri"+"pt type=\"text/javascript\" src=\"http://www.mini.de/de/partner/common/js/Mini/_js/framepage_functions.js\"></scri"+"pt>");
