// new_window.js
// Pop open a new window 
// each function opens a window of different dimensions and with different options

/***
	Opens a new window with "page" loaded into it.
	Usage:
	<A href="JavaScript:openNewWindow('http://www.yahoo.com/');">Yahoo</A>
	or
	<BODY  onLoad="openNewWindow('http://www.yahoo.com/')">
***/ 
function openNewWindow(page)
{
	args1="width=580,height=280,titlebar=1,menubar=1,toolbar=1,location=1,personalbar=0,resizable=1,scrollbars=1,status=1,hotkeys=1,screenx=130,screeny=170,left=130,top=170,dependant=1";
	new_window = window.open(page,"New",args1);
}


/***
	Opens a new window with "page" loaded into it.
	Usage:
	<A href="JavaScript:openNewSS('http://www.yahoo.com/');">Yahoo</A>
	or
	<BODY  onLoad="openNewSS('http://www.yahoo.com/')">
***/ 
function openNewSS(page)
{
	args1="width=530,height=480,titlebar=1,menubar=0,toolbar=0,location=0,personalbar=0,resizable=1,scrollbars=1,status=0,hotkeys=0,screenx=10,screeny=10,left=10,top=10,dependant=1";
	slide_show_bna = window.open(page,"Slide_Show_Before_and_Afters",args1);
}


/***
	Opens a new window with "page" loaded into it.
	Usage:
	<A href="JavaScript:openNewSSS('http://www.yahoo.com/');">Yahoo</A>
	or
	<BODY  onLoad="openNewSSS('http://www.yahoo.com/')">
***/ 
function openNewSSS(page)
{
	args1="width=270,height=480,titlebar=1,menubar=0,toolbar=0,location=0,personalbar=0,resizable=1,scrollbars=1,status=0,hotkeys=0,screenx=10,screeny=10,left=10,top=10,dependant=1";
	slide_show = window.open(page,"Slide_Show",args1);
}


/***
	Opens a new window with "page" loaded into it.
	Usage:
	<A href="JavaScript:openNewSendIt('http://www.yahoo.com/');">Yahoo</A>
	or
	<BODY  onLoad="openNewSendIt('http://www.yahoo.com/')">
***/ 
function openNewSendIt(page)
{
	args1="width=380,height=480,titlebar=1,menubar=0,toolbar=1,location=0,personalbar=0,resizable=1,scrollbars=1,status=0,hotkeys=0,screenx=380,screeny=50,left=380,top=50,dependant=1";
	sendit = window.open(page,"Send_this_page",args1);
}



