if (document.layers) {
	document.write('<link href="styles/agent_styles_ns.css" rel="stylesheet">');
} else {
	document.write('<link href="styles/agent_styles_ie.css" rel="stylesheet">');
}


function openPopUp(url,winName,width,height,scr,rsz,status,menubar,location,toolbar)
{
	scrollbars	= ((scr == null) ? 'auto' : scr)
	resizable	= ((rsz == null) ? 'no' : rsz)
	status		= ((status == null) ? 'no' : status)
	menubar		= ((menubar == null) ? 'no' : menubar)
	location	= ((location == null) ? 'no' : location)
	toolbar		= ((toolbar == null) ? 'no' : toolbar)
	popUp		= window.open(url,winName,'width='+width+',height='+height+',scrollbars='+scrollbars+',resizable='+resizable+',status='+status+',menubar='+menubar+',location='+location+',toolbar='+toolbar);
	popUp.focus()
	return void(0);
}

function goTop() {
	scrollTo('top');
}
function scrollTo(id){
	loc = window.location.href;
	index = loc.indexOf('#')
	if(index > -1){loc = loc.substring(0,index);} 
	window.location.href = loc + "#" + id;
}

function displayCopyRightYear(){
	var d = new Date();
	year = d.getFullYear();
	document.write(year);
}

