var pippo;

function center_me(w,h){
	if(navigator.appName.indexOf('Explorer')+1){
		var win_width=w;
		var win_height=h;
	} else {
		var win_width=window.outerWidth;
		var win_height=window.outerHeight;
	}
	var pos_x=(screen.width-win_width)/2;
	var pos_y=(screen.height-win_height)/2;
	moveTo(pos_x,pos_y);
}
var win_height='100%';
var win_width='100%';

function open_pop(url,w,h){
	if(pippo) pippo.close();
	pippo= window.open(url,'pop','height='+h+',width='+w+'location=no,resizable=no,scrollbars=no');
}

function close_pop(){
	if(pippo) pippo.close();
}

function RunIntro(){
    	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="100%" height="100%">\n');
    	document.write('<param name="movie" value="else/intro.swf" />\n');
    	document.write('<param name="quality" value="high" />\n');
    	document.write('<param name="bgcolor" value="#F9F9F7" />\n');
    	document.write('<param name="scale" value="showall" />\n');
		if((navigator.appName.indexOf('Netscape')!=(-1))||(navigator.appVersion.indexOf('Mac')!=(-1))||(navigator.appVersion.indexOf('PPC')!=(-1))){
			document.write("<embed src='else/intro.swf' quality=high bgcolor='#F9F9F7' width='100%' height='100%' TYPE='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'></embed>");
		}
    	document.write('</object>\n');
}



