// JavaScript Document 
// copyright by is information systems oHG
//<!--
var w1Id = 'MenuCol'; 
var w1Width = 200; 
var w1Height;	
var w2Id = 'ContentCol';	
var w2Width = 620; 
var w2Height;
var heightOffset2 = 222;	
var heightOffset1 = 222;	
var setW = 0;	
var setH = 1;	

function setDivSize(h1,h2) {
	var bodyObj = document.getElementById("arsu_body");
	var w1Obj = document.getElementById(w1Id);
	var w2Obj = document.getElementById(w2Id);
	if (w1Obj ){
		if (document.all) {
			w2Width = bodyObj.clientWidth - w1Width;		
			w1Height = bodyObj.clientHeight - heightOffset1;
			w2Height = bodyObj.clientHeight - heightOffset2;
		}
	else {
			w2Width = window.self.innerWidth - w1Width;
			w2Height = window.self.innerHeight - heightOffset2;
			w1Height = window.self.innerHeight - heightOffset1;
		}
		if (w2Width >= 0 && setW) {
			w2Obj.style.width = w2Width;
		}
		if (w2Height >= 0 && setH) {
			w2Obj.style.height = w2Height;
			w1Obj.style.height = w1Height;	
		}
		return true;
	}
	if (w2Obj && !w1Obj ){
		w2Width = 780; 
		heightOffset2 = 303;
		if (document.all) {
			w2Width = bodyObj.clientWidth - w1Width;		
			w2Height = bodyObj.clientHeight - heightOffset2;
		}
	else {
			w2Width = window.self.innerWidth - w1Width;
			w2Height = window.self.innerHeight - heightOffset2;
		}
		if (w2Width >= 0 && setW) {
			w2Obj.style.width = w2Width;
		}
		if (w2Height >= 0 && setH) {
			w2Obj.style.height = w2Height;
		}
		return true;
	}
	
	
	
}

// clear searchField
function clearValue(obj) {
	obj.value= '';
	} 

//-->