function setVisible(obj)
{	
	obj = document.getElementById(obj);
	if(navigator.appName == "Netscape") {  
	    windowwidth = window.innerWidth; 
    } else if(navigator.appName == "Microsoft Internet Explorer") {  
	    windowwidth = document.body.clientWidth; 
    } 
	if (windowwidth >= 1259) {
		obj.style.left = 700 + "px";
	}
	if (obj.style.visibility == 'visible') {
		document.getElementById("comlayer").style.visibility = "visible";	
	} else {
		document.getElementById("comlayer").style.visibility = "hidden";	
	}
	
	obj.style.visibility = (obj.style.visibility == 'visible') ? 'hidden' : 'visible';
	
	
}

function placeIt(obj)
{
	alert(obj.style.visibility);
	var x = 20;
	var y = 10;	
	obj = document.getElementById(obj);
	
	if (document.documentElement)
	{
		theLeft = document.documentElement.scrollLeft;
		theTop = document.documentElement.scrollTop;
	}
	else if (document.body)
	{
		theLeft = document.body.scrollLeft;
		theTop = document.body.scrollTop;
	}
	theLeft = x;
	theTop = y;
	obj.style.left = theLeft + 'px' ;
	obj.style.top = theTop + 'px' ;
	//setTimeout("placeIt('layer1')",10);
}
//window.onscroll = setTimeout("placeIt('layer1')",500);
