function layerSetup(id,display){
	if(document.getElementById){
		this.obj = document.getElementById(id).style;
		this.obj.display = display;
		return this.obj;}
	else if(document.all){
		this.obj = document.all[id].style;
		this.obj.display = display;
		return this.obj;}
	else if(document.layers){
		this.obj = document.layers[id];
		this.obj.display = display;
		return this.obj;}
	}
function visVisible(param){
	new layerSetup(param,'block');
}

function visHidden(param){
	new layerSetup(param,'none');
}

   function go_top_left(){

	moveTo(10,10);
}

var player;

function open_player(url,w,h){
	now=new Date();
	if(!player){
			setcookie('pop_player',1,"","","","");
			player=window.open(url,'pop'+now.getMinutes()+now.getMilliseconds(),'height='+h+',width='+w+'location=no,resizable=no,scrollbars=no;blur():');
	 }
}



function setcookie(name, value, expires, path, domain, secure)
{
document.cookie= name + "=" + escape(value) +
((expires)? "; expires=" + expires.toGMTString() : "") +
((path)? "; path=" + path : "") +
((domain)? "; domain=" + domain : "") +
((secure)? "; secure" : "");
}
