function DtlPopPhoto(name,wd,ht){
    var Photo_pop;
	var nwd;
	var nht;
	nwd = parseInt(wd) + 12;
	nht = (ht - 0) + 31;
	imgtag = "<img src='"+name+"'>";
	Photo_pop=window.open("","Photo","width="+nwd+",height="+nht+",scrollbars=no,location=no,menubar=no"); 
	Photo_pop.resizeTo(nwd,nht);
	Photo_pop.document.open();
	Photo_pop.document.write('<html><head><title>:: C21 :: Property Details</title>');
    Photo_pop.document.write('</head>');
    Photo_pop.document.write('<body bgcolor="#ffffff" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">');
    
 Photo_pop.document.write('<div style="position:absolute;top:0;left:0;width:100%;height:100%;z-index:1000000;background-image:url(/images/spacer.gif)"></div>');
    
    Photo_pop.document.write('<center>');	
	Photo_pop.document.write('<img src="images/popwin_bar.gif" width="'+wd+'" height="10">');
    Photo_pop.document.write(imgtag);
    Photo_pop.document.write('</center>');		
    Photo_pop.document.write('</body>');
    Photo_pop.document.write('</html>');
    Photo_pop.document.close();
    Photo_pop.focus();
}

function DtlPopFp(name,wd,ht){
    var Fp_pop;
	var nwd;
	var nht;
	nwd = parseInt(wd) + 12;
//	nht = (ht - 0) + 31;
	nht = (ht - 0) + 51;
	imgtag = "<img src='"+name+"'>";
	Fp_pop=window.open("","Fplan","width="+nwd+",height="+nht+",scrollbars=no,location=no,menubar=no"); 
	Fp_pop.resizeTo(nwd,nht);
	Fp_pop.document.open();
	Fp_pop.document.write('<html><head><title>:: C21 :: Property Details</title>');
    Fp_pop.document.write('</head>');
    Fp_pop.document.write('<body bgcolor="#ffffff" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">');
 
 Fp_pop.document.write('<div style="position:absolute;top:0;left:0;width:100%;height:100%;z-index:1000000;background-image:url(/images/spacer.gif)"></div>');
 
    Fp_pop.document.write('<center>');	
	Fp_pop.document.write('<img src="images/popwin_bar.gif" width="'+wd+'" height="10">');
    Fp_pop.document.write(imgtag);
    Fp_pop.document.write('</center>');		
    Fp_pop.document.write('</body>');
    Fp_pop.document.write('</html>');
    Fp_pop.document.close();
	Fp_pop.focus();
}


function DtlPop(theUrl){
    var dtl_pop;
	dtl_pop=window.open(theUrl,"Details","width=656,height=700,scrollbars=yes,location=no,menubar=no"); 
	dtl_pop.focus();
}

function DtlPop2(theUrl){
    var dtl_pop;
	dtl_pop=window.open(theUrl,"Details","width=800,height=600,scrollbars=yes,location=no,menubar=no,resizable"); 
	dtl_pop.focus();
}

function s2fPop(){
	var dtl_pop
	dtl_pop=window.open("","Details","width=656,height=700,scrollbars,location=no,menubar=no"); 
	dtl_pop.focus();
}

