function popSignUp() {
	window.open("http://www.bouldercreekestates.com/templates/bc/newsletter.php","","width=300, height=195, left=400, top=300, status=no, menubar=no, taskbar=no, scrollbars=no");
}

function popWB(ref) {
	window.open('/wishbone.php?pageref='+ref,'','width=310,height=310,status=no,scrollbars=no,taskbar=no,menubar=no');
}

function popMap() {
	window.open('/phase.php','','width=755,height=700,status=no,scrollbars=no,taskbar=no,menubar=no');
}

function popDetail(id) {
	//alert("hello, is me your looking for? ");
	id = parseInt(id);
   if (id < 89) id = id + 88;
   
 	window.open('lot.php?id='+id+'','','width=450,height=420,status=no,scrollbars=yes,taskbar=no,menubar=no');
 	//return false;
 	//javascript:window.open('lot.php?id=" + id + "','detail','height=400,width=400,status=yes,toolbar=no,menubar=no,location=no');");
}

// function popDetail(id) {
// 	window.open('lot.php?id='+id);
// }
function popDisclaimer() {
	//window.open('index.php?option=com_content&task=view&id=29&Itemid=43','','width=650,height=430,status=no,scrollbars=yes,taskbar=no,menubar=no');
	alert('How to Express Interest in a Lot\nLot Selection is easy with the Boulder Creek Estates lot features and availability map - a great step on your way to the community and showhomes.\nOnce you\'ve clicked through the Community and Phase maps, click the Lot you\'re interested in to get info. Then contact the builder(s) of your choice, and go see them at Boulder Creek Estates.\n\nThey\'re selling fast!');
}

function popPhase(id) {
//	window.open('phase.php?id='+id+'','','status=no,scrollbars=yes,taskbar=no,menubar=no');
	window.location = "/index.php?option=com_content&task=view&id=34&Itemid=53&phaseid="+id;
}

function popHome() {
	window.location = "/index.php?option=com_content&task=view&id=34&Itemid=53";
}