//
// Default Javascript
//

function openWin( url )
{
	window.open( url );
	return false;
}
function openPop( url, w, h )
{
	window.open( url, "", "width="+w+",height="+h+",resizable=yes,scrollbars=yes" );
	//return false;
}
function closePop()
{
	window.close();
}
function maximizeWin()
{
	var nX = window.screen.availWidth;
	var nY = window.screen.availHeight;
	window.moveTo( 0, 0 );
	window.resizeTo( nX, nY );
}

function openBrowserWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
  return false;
}
function contents(filename) { //v3.0
  newWin=window.open(filename,"pic","scrollbars=1,resizable=1,width=600,height=560");
  newWin.moveTo(0,0);
  newWin.focus();
}



// popup
/*tenant*/
function tenant(src, winName){
	NewWin=window.open(src,winName,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=602,height=650');
}
