function openGallery(){
	var t,l;
	if(screen.availHeight>=600){ l = Math.round(screen.availWidth/2)-350; t = Math.round(screen.availHeight/2)-250; }
	else{ l = t = 40; }
	var w = window.open('gallery.php','_IMGRYCIAA3','width=700,height=480,left='+l+',top='+t+',scrollbars=no'); w.focus();
}
function $(o){ return document.getElementById(o); }
function startFlash(){
	$('f').style.display = 'block';
	$('l').style.display = 'none';
}
function showFlash(){
	var fo = new FlashObject("site.swf", "animationName", "100%", "100%", "8", "#000000");
	fo.addParam("allowScriptAccess", "sameDomain");
	fo.addParam("quality", "high");
	fo.addParam("scale", "noscale");
	fo.addParam("loop", "false");
	fo.addParam("menu", "false");
	fo.write("f");
}
function release(){
	var t,l;
	if(screen.availHeight>=600){ l = Math.round(screen.availWidth/2)-310; t = Math.round(screen.availHeight/2)-265; }
	else{ l = 80; t = 3; }
	var w = window.open('release/','_RELBNDA3','width=620,height=530,left='+l+',top='+t+',scrollbars=no,statusbar=no'); w.focus();
}
