// JavaScript Document

function Lvl_openWin(u,n,w,h,l,t,c,f,x) { //v1.0 4LevelWebs
  	var ww=((screen.width-w)/2);
	if(c==1){
		l=ww;
		t=(screen.height-h)/2;
	}
	if(c==2){
		l=ww;
	}
	f+=',top='+t+',left='+l;
	LvlWin = window.open(u,n,f);
	if(x==1){
		LvlWin.focus()
	}
	document.MM_returnValue=false;
}
function openWin(u,w,h,show_scroller) {
	var scrollbars = 'scrollbars=yes';
	if(show_scroller == false){
		scrollbars = 'scrollbars=no';
	}
	Lvl_openWin(u,'popup',w,h,'0','0','1','width='+w+',height='+h+',' + scrollbars);
}


function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
	var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
	if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function checkBrowser (){
}
window.onload = function(){
	checkBrowser();
}