var pageWidth,pageHeight,isLoaded,startX,startY,curX,curY;
var pageCode=location.pathname.replace(/(.asp)/,"");

function generalInit(){
	isLoaded=true;
	DynObjectInit();
	window.onresize=resizer;
}


function resizer(){
	if(pageWidth&&ns4&&(pageWidth!=window.innerWidth))window.location.reload();
	pageWidth=ns ? window.innerWidth : document.body.clientWidth;
	pageHeight=ns ? window.innerHeight : document.body.clientHeight;
	if(ie6)pageHeight = document.documentElement.clientHeight;
	contentAreaDiv.moveTo(-(771-pageWidth)/2,-(404-pageHeight)/2);
}

function jump(what) 
	{ 
	var loc = (what);
 	var newWin = window.open(loc,"myWin", "toolbar=no,width=460,height=420,directories=no,status=no,scrollbars=yes,resize=no,menubar=no, top=0")
  	
	} 
function jumpComp(what) 
	{ 
	var loc = (what);
 	var newWin = window.open(loc,"myWin", "toolbar=no,width=355,height=300,directories=no,status=no,scrollbars=yes,resize=no,menubar=no, top=0")
  	
	} 	
	
 if	(ns) {document.write('<link rel="stylesheet" href="css/ns.css" />')}
else {document.write('<link rel="stylesheet" href="css/ie.css" />')}	


function changeto(highlightcolor){
	return false;
}

function changeback(originalcolor){
	return false;
}


