/*
Auto Maximize Window Script- By Nick Lowe (nicklowe@ukonline.co.uk)
For full source code, 100's more free DHTML scripts, and Terms Of Use
Visit http://www.dynamicdrive.com
*/

top.window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


function printview()
{
	newURL = new String(location.href);
	if (newURL.search('#')!=-1)
	{
		// anchor info found. now remove
		newURL = newURL.slice(0,newURL.search('#')) + "?output=print";
		window.open(newURL);
	}
	else
	{
		// no anchor info found. add print flag
		qs = new String(location.search);
		if (qs == '')
			qs = '?output=print';
		else
			qs = '&output=print';
		window.open(newURL+qs,'printWin','width=450,height=350,scrollbars,menubar,resizable')
	}
}