/*
	Header Information------------------------------------[Do Not Remove This Header]--
	Title: newsnewindow.js
	Description: This Script Opens A New Scrollable Window to the specified size of 520x400
	Designed for New Sub-Pages

	Legal: Copyright 2006 Chris Holmes
	Author Email Address: thechristopherh@yahoo.com
	Date Created: September.23.2006
	-----------------------------------------------------------------------------------
*/

function n_window(theurl)
{
 // set the width and height
 var the_width=520;
 var the_height=400;
 // set window position
 var from_top=100;
 var from_left=100;
 // set other attributes
 var has_toolbar='no';
 var has_location='no';
 var has_directories='no';
 var has_status='no';
 var has_menubar='no';
 var has_scrollbars='yes';
 var is_resizable='yes';
 
 // attributes put together
 var the_atts='width='+the_width+',height='+the_height+',top='+from_top+',screenY='+from_top+',left='+from_left+',screenX='+from_left;
 the_atts+=',toolbar='+has_toolbar+',location='+has_location+',directories='+has_directories+',status='+has_status;
 the_atts+=',menubar='+has_menubar+',scrollbars='+has_scrollbars+',resizable='+is_resizable;
 // open window
 window.open(theurl,'',the_atts);
}