var HIDDEN = (isNav) ? 'hide' : 'hidden';
var VISIBLE = (isNav) ? 'show' : 'visible';
var isIE,isNav,isNav6, isMac;
var all = "";
var style = "";
var theObj;

        if (navigator.appName == "Netscape") {
                isNav = true;
            if (parseInt(navigator.appVersion) >= 5 ) {    
 				isNav6 = "true";
 				style = ".style";
			}
        }

	if (navigator.appVersion.toLowerCase().indexOf("mac")!=-1){
		isMac=true;
	} else {


        if (navigator.appName == "Microsoft Internet Explorer"){
                isIE = true;
                all = "all.";
                style = ".style";
     
        }
        }
function c_div(obj,att, val){

	if (isNav6 == "true" || isMac){
		eval("document.getElementById(obj).style."+att+" = '"+val+"'");
	} else {
		eval("document."+all+obj+style+"."+att+" = '"+val+"'");
	}

} 

function set_id(obj,att){
	var str; 
	if (isNav6 == "true" || isMac){
		str = "document.getElementById('"+obj+"').style."+att;
	} else {
		str = "document."+all+obj+style+"."+att;
	}
	return str;
}



function get_css_Object(objekt){
				var theObj;				
                    	if (isNav6 == "true" || isMac){
				theObj = document.getElementById(objekt);
						} else {
	                        theObj = eval("document."+all+objekt+style);						
						}
                return theObj;
}


function resizeBg(){
	if (isNav||isNav6||isMac){
		if(document.getElementById('pageTableDiv').style.height<window.innerHeight){
		document.getElementById('pageTableDiv').style.height=window.innerHeight;
	}
	}
}		


		



