  
    function resizpic( pid ) {
        var x = (screen.width / 2.5) - 85;
        var y = (screen.height / 2) - 75;
        var features = 'height=300,location=no,menubar=no,top=' + y + ',left=' + x + ',resizable=no,scrollbars=no,status=no,titlebar=yes,toolbar=no,width=340';
        var win = window.open( 'photos/villa-' + pid + '-large.jpg', '_blank', features );
    }
	
    function resizpic2( pid ) {
        var x = (screen.width / 2.5) - 85;
        var y = (screen.height / 2) - 75;
        var features = 'height=300,location=no,menubar=no,top=' + y + ',left=' + x + ',resizable=no,scrollbars=no,status=no,titlebar=yes,toolbar=no,width=340';
        var win = window.open( 'photos2/villa-' + pid + '-large.jpg', '_blank', features );
    }
	
    function resizvil( pid ) {
        var x = (screen.width / 2.5) - 85;
        var y = (screen.height / 2) - 75;
        var features = 'height=300,location=no,menubar=no,top=' + y + ',left=' + x + ',resizable=no,scrollbars=no,status=no,titlebar=yes,toolbar=no,width=340';
        var win = window.open( 'photos/villas-' + pid + '-large.jpg', '_blank', features );
    }
  
    function resizvil2( pid ) {
        var x = (screen.width / 2.5) - 85;
        var y = (screen.height / 2) - 75;
        var features = 'height=300,location=no,menubar=no,top=' + y + ',left=' + x + ',resizable=no,scrollbars=no,status=no,titlebar=yes,toolbar=no,width=340';
        var win = window.open( 'photos2/villas-' + pid + '-large.jpg', '_blank', features );
    }
	
	    function resizcondo( pid ) {
        var x = (screen.width / 2.5) - 85;
        var y = (screen.height / 2) - 75;
        var features = 'height=300,location=no,menubar=no,top=' + y + ',left=' + x + ',resizable=no,scrollbars=no,status=no,titlebar=yes,toolbar=no,width=340';
        var win = window.open( 'photos/condo-' + pid + '-large.jpg', '_blank', features );
    }

	    function resizcondo2( pid ) {
        var x = (screen.width / 2.5) - 85;
        var y = (screen.height / 2) - 75;
        var features = 'height=300,location=no,menubar=no,top=' + y + ',left=' + x + ',resizable=no,scrollbars=no,status=no,titlebar=yes,toolbar=no,width=340';
        var win = window.open( 'photos2/condo-' + pid + '-large.jpg', '_blank', features );
    }
		
    function resizland( pid ) {
        var x = (screen.width / 2.5) - 85;
        var y = (screen.height / 2) - 75;
        var features = 'height=300,location=no,menubar=no,top=' + y + ',left=' + x + ',resizable=no,scrollbars=no,status=no,titlebar=yes,toolbar=no,width=340';
        var win = window.open( 'photos/land-' + pid + '-large.jpg', '_blank', features );
    }

    function resizland2( pid ) {
        var x = (screen.width / 2.5) - 85;
        var y = (screen.height / 2) - 75;
        var features = 'height=300,location=no,menubar=no,top=' + y + ',left=' + x + ',resizable=no,scrollbars=no,status=no,titlebar=yes,toolbar=no,width=340';
        var win = window.open( 'photos2/land-' + pid + '-large.jpg', '_blank', features );
    }	    
    function resizvac( pid ) {
        var x = (screen.width / 2.5) - 85;
        var y = (screen.height / 2) - 75;
        var features = 'height=300,location=no,menubar=no,top=' + y + ',left=' + x + ',resizable=no,scrollbars=no,status=no,titlebar=yes,toolbar=no,width=340';
        var win = window.open( 'photos/vacation-' + pid + '-large.jpg', '_blank', features );
    }

    function resizhouse( pid ) {
        var x = (screen.width / 2.5) - 85;
        var y = (screen.height / 2) - 75;
        var features = 'height=300,location=no,menubar=no,top=' + y + ',left=' + x + ',resizable=no,scrollbars=no,status=no,titlebar=yes,toolbar=no,width=340';
        var win = window.open( 'photos/house-' + pid + '-large.jpg', '_blank', features );
    }
    function resizcom( pid ) {
        var x = (screen.width / 2.5) - 85;
        var y = (screen.height / 2) - 75;
        var features = 'height=300,location=no,menubar=no,top=' + y + ',left=' + x + ',resizable=no,scrollbars=no,status=no,titlebar=yes,toolbar=no,width=340';
        var win = window.open( 'photos/com-' + pid + '-large.jpg', '_blank', features );
    }	
	
    function resizcom2( pid ) {
        var x = (screen.width / 2.5) - 85;
        var y = (screen.height / 2) - 75;
        var features = 'height=300,location=no,menubar=no,top=' + y + ',left=' + x + ',resizable=no,scrollbars=no,status=no,titlebar=yes,toolbar=no,width=340';
        var win = window.open( 'photos2/com-' + pid + '-large.jpg', '_blank', features );
    }	
	    function resizcomrent( pid ) {
        var x = (screen.width / 2.5) - 85;
        var y = (screen.height / 2) - 75;
        var features = 'height=300,location=no,menubar=no,top=' + y + ',left=' + x + ',resizable=no,scrollbars=no,status=no,titlebar=yes,toolbar=no,width=340';
        var win = window.open( 'photos/comrent-' + pid + '-large.jpg', '_blank', features );
    }
	
	    function resizcondos( pid ) {
        var x = (screen.width / 2.5) - 85;
        var y = (screen.height / 2) - 75;
        var features = 'height=300,location=no,menubar=no,top=' + y + ',left=' + x + ',resizable=no,scrollbars=no,status=no,titlebar=yes,toolbar=no,width=340';
        var win = window.open( 'photos/condos-' + pid + '-large.jpg', '_blank', features );
    }		