// JavaScript Document

var largeSubWin;
var smallSubWin;

function makeLargeSubWin(page){
	if(largeSubWin&&!largeSubWin.closed)
	{largeSubWin.location.href=page;
	largeSubWin.focus();
	}
	else
	{
	largeSubWin=window.open(page, "", "chrome=0,width=800,height=800,alwaysRaised=1, location=0");
	}
}

function makeSmallSubWin(page){
	if(smallSubWin&&!smallSubWin.closed)
	{smallSubWin.location.href=page;
	smallSubWin.focus();
	}
	else
	{
	smallSubWin=window.open(page, "", "chrome=0,width=450,height=200,alwaysRaised=1, location=0");
	}
}
function redirectMainWindow(page){
	self.opener.location.href=page;
	self.close();
	}
	

