function load_page(src, winName, pageWidth, pageHeight)
{
	var posStr = new String();
	if(document.layers){posStr=", top=" + ((screen.availHeight/2)-(pageHeight/2)).toString() + ", left=" + ((screen.availWidth/2)-(pageWidth/2)).toString();}
	else if(document.all){posStr=", top=" + ((screen.height/2)-(pageHeight/2)).toString() + ", left=" + ((screen.width/2)-(pageWidth/2)).toString();}
	if(pageWidth==0){mynewwindow=window.open(src, winName,"channelmode=1");}
	else{mynewwindow=window.open(src, winName,"status=1, resizable=yes, width=" + pageWidth + ", height=" + pageHeight + posStr);}
	mynewwindow.focus();
}
function loadscroll_page(src, winName, pageWidth, pageHeight)
{
	var posStr = new String();
	if(document.layers){posStr=", top=" + ((screen.availHeight/2)-(pageHeight/2)).toString() + ", left=" + ((screen.availWidth/2)-(pageWidth/2)).toString();}
	else if(document.all){posStr=", top=" + ((screen.height/2)-(pageHeight/2)).toString() + ", left=" + ((screen.width/2)-(pageWidth/2)).toString();}
	if(pageWidth==0){mynewwindow=window.open(src, winName,"channelmode=1");}
	else{mynewwindow=window.open(src, winName,"scrollbars=1 ,status=1, resizable=yes, width=" + pageWidth + ", height=" + pageHeight + posStr);}
	mynewwindow.focus();
}
