/**** Home page flash - Col ****/
function showCol () {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="840" height="450">');
	document.write('<param name="movie" value="images/col.swf"/>');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<embed src="images/col.swf" wmode="transparent" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="840" height="450"></embed>');
	document.write('</object>');
}


/**** Popup for Projects - Landscape ****/
function popupProject (windowName, windowUri) {
	var windowWidth = 800;
	var windowHeight = 600;
	var centerWidth = (window.screen.width - windowWidth) / 2;
	var centerHeight = (window.screen.height - windowHeight) / 2;
	newWindow = window.open(windowUri, windowName, 'resizable=0,scrollbars=0,width='+windowWidth+',height='+windowHeight+',left=' + centerWidth +  ',top=' + centerHeight);
	newWindow.focus();
	return newWindow.name;
}


/**** Popup for Projects - Portrait ****/
function popupProject2 (windowName, windowUri) {
	var windowWidth = 600;
	var windowHeight = 800;
	var centerWidth = (window.screen.width - windowWidth) / 2;
	var centerHeight = (window.screen.height - windowHeight) / 2;
	newWindow = window.open(windowUri, windowName, 'resizable=0,scrollbars=0,width='+windowWidth+',height='+windowHeight+',left=' + centerWidth +  ',top=' + centerHeight);
	newWindow.focus();
	return newWindow.name;
}




var message="Access Denied!\nPino Meroni Yacht Interiors LLC" 
function click(e) {
	if (document.all) {
		if (event.button == 2) {
			alert(message);
			return false;
		}
	}
	if (document.layers) {
		if (e.which == 3) {
			alert(message);
			return false;
		}
	}
}
if (document.layers) {
	document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;