function setPos(cont){	var cont=cont||'content';	cw=parseInt(css('#'+cont,'width'));	ww=parseInt((!ns6)? document.body.offsetWidth:innerWidth);	cl=parseInt((ww-cw)/2);	ch=parseInt(css('#'+cont,'height'));	wh=parseInt((!ns6)? document.body.offsetHeight:innerHeight);	ct=(ch)? parseInt((wh-ch)/2):0;	css('#'+cont+'{left:'+cl+'px;top:'+ct+'px;}');}function popupopen(file,w,h){	this.popupW=w||350;	this.popupH=h||500;	this.popupX=parseInt(((ns6)? window.innerWidth:document.body.offsetWidth)/2-this.popupW/2)||100;				this.popupY=parseInt(((ns6)? window.innerHeight:document.body.offsetHeight)/2-this.popupH/2)||50;	if(this.popupWin)	{	this.popupWin.close();		this.popupWin=0;	} 	this.popupWin=window.open(file,'popupWindow','left='+this.popupX+',top='+this.popupY+',width='+this.popupW+',height='+this.popupH+',scrollbars=1,resizable=1');	this.popupWin.focus();};var oldDiv='Images';function showTabs(divId){	if(oldDiv)	{	var tab=document.getElementById('tab'+oldDiv);		var tabCont=document.getElementById('tab'+oldDiv+'Cont');		var lnk=document.getElementById('tab'+oldDiv+'Lnk');		tab.style.background="#FBFBFB";		tab.style.zIndex=0;		tabCont.style.display="none";		lnk.style.borderWidth=1;	}	oldDiv=divId;	var tab=document.getElementById('tab'+oldDiv);	var tabCont=document.getElementById('tab'+oldDiv+'Cont');	var lnk=document.getElementById('tab'+oldDiv+'Lnk');	tab.style.background="#EEEEEE";	tab.style.zIndex=50;	tabCont.style.display="block";	lnk.style.borderWidth=0;}
