function confirmdelete()
{
var agree=confirm("<?php echo $lang['are_you_sure_you_want_to_delete']; ?>");
if (agree)
return true ;
else
return false ;
}

function openpopup(){
var popurl="virtualtour.php?listingID=<?php echo $listingID ?>"
winpops=window.open(popurl,"","width=420,height=380,")
}

 function open_win(url) {
 cwin = window.open(url,"attach","width=550,height=450,toolbar=no,resizable=yes, scrollbars=yes");
 }
 
	function open_window(url){
	cwin = window.open(url,"attach","width=350,height=350,toolbar=no,resizable=yes");
	}
