// This is the compainion .js for dhtmlwindow.js
// this is used to keep the html clean (i guess adding some overhead because it's loaded on all pages unless it's remarked to not load
// anyways to the point of the script
// 20070405 CO/EGS go dynamicdrive!

// This is the demo function, for any other way to load this dynamic content please find the full unedited version of the 
// dhtmlwindow.js script at dynamicdrive.com get it at http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/
function TestWindow(){ 
	//Define arbitrary function to run desired DHTML Window widget codes
	mywin1=dhtmlwindow.open("TestPage1", "iframe", "main.html", "TestHTML", "width=450px,height=300px,center=1,resize=1,scrolling=1")
	// remark this here if you don't want the window to pop a confirm dialog box on close.
	mywin1.onclose=function(){
		return window.confirm("Close this window?");
	} 
}
//Use this link to give users the option to preload images accross the website while they're on a page reading!  Use this in conjuction with preload.html
// does not seem to work with IE right now so don't use it in websites.
function Preload(){ 
	//Define arbitrary function to run desired DHTML Window widget codes
	mywin2=dhtmlwindow.open("Preload", "iframe", "js/preload.html", "Preload", "width=320px,height=45px,center=1,resize=0,scrolling=0")
	/* remark this here if you don't want the window to pop a confirm dialog box on close.
	mywin2.onclose=function(){
		return window.confirm("Close this window?")
	} 
	*/
}