//var ajaxwin;

function openmypage(manuf_id, products_id){ //Define arbitrary function to run desired DHTML Window widget codes

ajaxwin=dhtmlwindow.open("ajaxbox", "ajax", "popupwindow.php?filename=emailfriend.php&productname="+manuf_id+"&products_id="+products_id, "Tell a Friend", "width=780px,height=530px,left=120px,top=20px,resize=1,scrolling=1")
//ajaxwin.onclose=function(){return window.confirm("Are you sure you want to close this window?")} //Run custom code when window is about to be closed
}

function openfile(filename, argument){ //Define arbitrary function to run desired DHTML Window widget codes
	if(filename=='disclaimer')
	{
		ajaxwin=dhtmlwindow.open("ajaxbox", "ajax", "popupwindow.php?filename=disclaimer.php", "BridalGownOverstock  Disclaimer", "width=540px,height=225px,left=180px,top=50px,resize=1,scrolling=1")
	}
	if(filename=='membership')
	{
		ajaxwin=dhtmlwindow.open("ajaxbox", "ajax", "popupwindow.php?filename=membership.php", "SampleGowns  Membership", "width=610px,height=300px,left=180px,top=70px,resize=1,scrolling=1")
	}
	if(filename=='procedure-policy-div')
	{
		
		ajaxwin=dhtmlwindow.open("ajaxbox", "ajax", "popupwindow.php?filename=procedure-policy-div.php", "SampleGowns Procedures and Policy Statement", "width=500px,height=320px,left=180px,top=50px,resize=1,scrolling=1")
	}
	if(filename=='procedure-policy-div-in')
	{
		ajaxwin=dhtmlwindow.open("ajaxbox", "ajax", "../popupwindow.php?filename=../procedure-policy-div.php", "SampleGowns Procedures and Policy Statement", "width=500px,height=320px,left=180px,top=50px,resize=1,scrolling=1")
	}
	if(filename=='return_policy')
	{
		ajaxwin=dhtmlwindow.open("ajaxbox", "ajax", "popupwindow.php?filename=return-policy-div.php", "SampleGowns Return/Refund Policy", "width=500px,height=320px,left=180px,top=50px,resize=1,scrolling=1")
	}
	if(filename=='holidaydetail')
	{
		ajaxwin=dhtmlwindow.open("ajaxbox", "ajax", "holidaydetail.php?date="+argument, "SampleGowns  Holiday Details", "width=540px,height=200px,left=180px,top=50px,resize=1,scrolling=1")
	}
	if(filename=='add-holidays')
	{
		ajaxwin=dhtmlwindow.open("ajaxbox", "ajax", "add-holidays.php?date="+argument, "SampleGowns  Add Holiday", "width=550px,height=300px,left=180px,top=50px,resize=1,scrolling=1")
	}
	if(filename=='add-holidays-edit')
	{
		ajaxwin=dhtmlwindow.open("ajaxbox", "ajax", "add-holidays.php?hid="+argument, "SampleGowns  Edit Holiday", "width=550px,height=300px,left=180px,top=50px,resize=1,scrolling=1")
	}


}

function fileclose(file)
{
	ajaxwin=dhtmlwindow.close();
}

