// JavaScript Document

function window1(){
	agewindow=dhtmlmodal.open('agebox', 'div', 'modalalertdiv1', '', 'width=724px,height=702px,left=150px,top=36px,resize=0,scrolling=0')
}

function window2(){
	agewindow=dhtmlmodal.open('agebox', 'div', 'modalalertdiv2', '', 'width=724px,height=702px,left=150px,top=36px,resize=0,scrolling=0')
}

function window3(){
	agewindow=dhtmlmodal.open('agebox', 'div', 'modalalertdiv3', '', 'width=724px,height=702px,left=150px,top=36px,resize=0,scrolling=0')
}

function window4(){
	agewindow=dhtmlmodal.open('agebox', 'div', 'modalalertdiv4', '', 'width=724px,height=1200px,left=150px,top=36px,resize=0,scrolling=0')
}

function window5(){
	agewindow=dhtmlmodal.open('agebox', 'div', 'modalalertdiv5', '', 'width=724px,height=702px,left=150px,top=36px,resize=0,scrolling=0')
}

function window6(){
	agewindow=dhtmlmodal.open('agebox', 'div', 'modalalertdiv6', '', 'width=724px,height=702px,left=150px,top=36px,resize=0,scrolling=0')
}

function window7(){
	agewindow=dhtmlmodal.open('agebox', 'div', 'modalalertdiv7', '', 'width=724px,height=702px,left=150px,top=36px,resize=0,scrolling=0')
}


//Function to run when buttons within modal window is clicked on. Directly embedded inside hidden DIV, bypassing "onclose" event:
function process_age(whichbutton){
	if (whichbutton=="no")
		alert("You want to close this popup window?")
	agewindow.hide()
}

