<!--
rnd.today=new Date();
rnd.seed=rnd.today.getTime();

function rnd() {
        rnd.seed = (rnd.seed*9301+49297) % 233280;
        return rnd.seed/(233280.0);
}

function rand(number) {
        return Math.ceil(rnd()*number);
}

function enlarge(path, width, height) {
    type='flash'
	if (!width) {
    	width=200;
    	type='image';
    }
    if (!height) {
    	height=200;
    	type='image';
    }
	var newWindow = window.open("","enlargeWindow","width="+width+", height="+height+", status=no, resizable=yes, top=20, left=20, scrollbars=yes");
	newWindow.document.writeln('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
	newWindow.document.writeln("<html>");
	newWindow.document.writeln("<head>");
	newWindow.document.writeln("<meta http-equiv=\"imagetoolbar\" content=\"no\" />");
	newWindow.document.writeln("<title>Mdev Property Developments</title>");

	newWindow.document.writeln('<script type="text/javascript">');
	newWindow.document.writeln('//<![CDATA[');
	newWindow.document.writeln('function resizeToImg()');
	newWindow.document.writeln('{');
	newWindow.document.writeln('if (!document.getElementsByTagName("object").length) {');
	newWindow.document.writeln('var toWidth = document.getElementById("main").width+30;');
	newWindow.document.writeln('var toHeight = document.getElementById("main").height+65;');
	newWindow.document.writeln('var screenSize = get_screenSize();');
	newWindow.document.writeln('if (screenSize["width"]<toWidth) {');
	newWindow.document.writeln('toWidth = screenSize["width"]-100;');
	newWindow.document.writeln('}');
	newWindow.document.writeln('if (screenSize["height"]<toHeight) {');
	newWindow.document.writeln('toHeight = screenSize["height"]-100;');
	newWindow.document.writeln('}');
	newWindow.document.writeln('window.resizeTo(toWidth, toHeight);');
	newWindow.document.writeln('}');
	newWindow.document.writeln('}');

	newWindow.document.writeln('function get_screenSize()');
	newWindow.document.writeln('{');
	newWindow.document.writeln('var screenSize = new Array();');
	newWindow.document.writeln('screenSize["width"] = 640;');
	newWindow.document.writeln('screenSize["height"] = 480;');
	newWindow.document.writeln('if (parseInt(navigator.appVersion)>3) {');
	newWindow.document.writeln('screenSize["width"] = screen.width;');
	newWindow.document.writeln('screenSize["height"] = screen.height;');
	newWindow.document.writeln('} else if (navigator.appName == "Netscape" && parseInt(navigator.appVersion)==3 && navigator.javaEnabled()) {');
	newWindow.document.writeln('var jToolkit = java.awt.Toolkit.getDefaultToolkit();');
	newWindow.document.writeln('var jScreenSize = jToolkit.getScreenSize();');
	newWindow.document.writeln('screenSize["width"] = jScreenSize.width;');
	newWindow.document.writeln('screenSize["height"] = jScreenSize.height;');
	newWindow.document.writeln('}');
	newWindow.document.writeln('return screenSize;');
	newWindow.document.writeln('}');
	newWindow.document.writeln('//]]>');
	newWindow.document.writeln('</script>');

	newWindow.document.writeln("</head>");

	newWindow.document.writeln("<body style=\"margin:0px; background-color: #FFFFFF; text-align: center;\" onload=\"resizeToImg()\">");

	if (type=='image') {
		newWindow.document.writeln('<img src="'+path+'" alt="" id="main" onclick="window.close();" />');
	} else {
	    newWindow.document.writeln('<object type="application/x-shockwave-flash" data="'+path+'" width="'+width+'" height="'+height+'">');
	    newWindow.document.writeln('<param name="movie" value="'+path+'" />');
		newWindow.document.writeln('<param name="quality" value="high" />');
		newWindow.document.writeln('<param name="wmode" value="opaque" />');
		newWindow.document.writeln('</object>');
	}

	newWindow.document.writeln("</body>");
	newWindow.document.writeln("</html>");
	newWindow.document.close();
	newWindow.focus();
}

function panno() {
	var newWindow = window.open("","pannoWindow","width=800, height=570, status=no, resizable=no, scrollbars=yes");
	newWindow.document.writeln("<html>");
	newWindow.document.writeln("<head>");
	newWindow.document.writeln("<meta http-equiv=\"imagetoolbar\" content=\"no\" />");
	newWindow.document.writeln("<title>Mdev Property Developments</title>");
	newWindow.document.writeln("</head>");
	newWindow.document.writeln("<body style=\"margin:0px; background-color: #FFFFFF; text-align: center;\">");
	newWindow.document.writeln("<img src=\"/_images/projects/40.nathan/3D.2.lg.jpg\" alt=\"\" id=\"main\" onclick=\"window.close();\" align=\"center\" />");
	newWindow.document.writeln("</body>");
	newWindow.document.writeln("</html>");
	newWindow.document.close();
	newWindow.focus();
}
-->