// JavaScript Document
function adjustFlashContent () {
	var x=document.getElementById("graphos");
	x.style.height = '100%';
	x.style.width = '100%';
}


function showMain () {
	
	document.write ('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="100%" id="graphos" align="middle">\n');
	document.write ('<param name="allowScriptAccess" value="sameDomain" />\n');
	document.write ('<param name="movie" value="graphos23.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" />\n');	
	document.write ('<embed src="graphos23.swf" quality="high" bgcolor="#FFFFFF" width="100%" height="100%" name="graphos" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\n');	
	document.write ('</object>\n');	
	
	adjustFlashContent();	
}



// POPUP WINDOW
function openimage (myImage, myWidth, myHeight) {
	var myName = "Image";
	var h = myHeight;
	var w = myWidth;
	var scroll = "no";
	var myPage = "popup.php?IMG=" + myImage;
	var winl = ((screen.width - w) / 2);
	var wint = ((screen.height - h) / 2);
	winprops = 'height=' + h +',width=' + w + ',top=' + wint + ',left=' + winl + ',scrollbars=' + scroll + ',resizable=no';
	win = window.open (myPage, myName, winprops)
}