// JavaScript Document

function nptbsp(id){
	agewindow=dhtmlmodal.open('agebox', 'div', 'modalnptbsp'+id, 'What is Npt/Bsp', 'width=600px,height=250px,center=1,resize=0,scrolling=0')
}

function orderonline(){
	agewindow=dhtmlmodal.open('agebox', 'div', 'modalalertdivonline', 'Select Country', 'width=650px,height=300px,center=1,resize=0,scrolling=0')
}

function ageprompt(){
	agewindow=dhtmlmodal.open('agebox', 'div', 'modalalertdiv', 'View Pricing', 'width=650px,height=330px,center=1,resize=1,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 are under 13 yrs old")
	agewindow.hide()
}

function agepromptpassword(){
	agewindow=dhtmlmodal.open('agebox', 'div', 'modalalertdivpassword', 'Forgot Password', 'width=350px,height=100px,center=1,resize=0,scrolling=0')
}

function agepromptmixedpassword(){
	agewindow=dhtmlmodal.open('agebox', 'div', 'modalmixeddivpassword', 'Forgot Password', 'width=350px,height=100px,center=1,resize=0,scrolling=0')
}