// Java-Script


function div_rechts(wert) {
    var left = (Math.round(wert[2]/100)*11.5);
    var width = (Math.round(wert[2]/100)*85);
    var top = ((wert[7]/100)*17);

	if (width <= 1024)
		width = 1200;
	document.write("<div id=\"rechts\" style=\"left:" + left + "px;" +
	"top:" +  top +  "px; width:" + (width) + "px;\""); 

//  alert("width : " + width +
//    "\nleft : " + left +
//    "\ntop : "+ top+
//    "\nwert[2] : "+ wert[2]);
    
	return true;
  	}

function divClassRahmenBreite(wert) 
{
    var left = (Math.round(wert[2]/100)*11.5);
    var width = (Math.round(wert[2]/100)*85);
    var top = ((wert[7]/100)*17);

   if (width <= 1024){
      	width = 1200;
      	//alert("width = 1100");
      	}
	//alert("width = " + width);      	
   document.write("<div id=\"rechts\" style=\"left:" + left + "px;" +
	"top:" +  top +  "px; width:" + (width) + "px;\" >"); 
   return width;
}
