
<!--
// -----------------------------------------------------------------------------
// Globals
// Major version of Flash required
var requiredMajorVersion = 8;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Minor version of Flash required
var requiredRevision = 0;

// -----------------------------------------------------------------------------
// -->
var myWin=""

	msg = 'TWINKLE, SUPER, ROCK STAR! – SHENKER GOES TO SCHOOL – MUSICAL THEATRE COMPANY – WORKSHOPS – TALENT SHOW - TWINKLE, SUPER, ROCK STAR! – SHENKER GOES TO SCHOOL – MUSICAL THEATRE COMPANY – WORKSHOPS – TALENT SHOW -';

	function bookmarksite(title, url){
	if (document.all)
	window.external.AddFavorite(url, title);
	else if (window.sidebar)
	window.sidebar.addPanel(title, url, "")
	}


function MywinNoScroll(quale,wWindow,hWindow){
		if (myWin!=""){
			if (myWin.closed==false){
				myWin.close()
			}
		}
		if (wWindow==undefined){
			wWindow=650;
		}
		if (hWindow==undefined){
			hWindow=650;
		}
		Left = (screen.width) ? (screen.width-wWindow)/2 : 0; 
		Top = (screen.height) ? (screen.height-hWindow)/2 : 0;
		myWin=window.open(quale,"myWin","menubar=0,toolbar=0,scrollbars=yes,width="+wWindow+",height="+hWindow+",left="+Left+",top="+Top+";statusbar=0");
		myWin.focus();
	}


function Mywin(quale,wWindow,hWindow){
		if (myWin!=""){
			if (myWin.closed==false){
				myWin.close()
			}
		}
		if (wWindow==undefined){
			wWindow=650;
		}
		if (hWindow==undefined){
			hWindow=650;
		}
		Left = (screen.width) ? (screen.width-wWindow)/2 : 0; 
		Top = (screen.height) ? (screen.height-hWindow)/2 : 0;
		myWin=window.open(quale,"myWin","scrollbars=yes,width="+wWindow+",height="+hWindow+",left="+Left+",top="+Top+";statusbar=0");
	}

var myWin2=""
function Mywin2(quale,wWindow,hWindow){
		if (myWin2!=""){
			if (myWin2.closed==false){
				myWin2.close()
			}
		}
		if (wWindow==undefined){
			wWindow=650;
		}
		if (hWindow==undefined){
			hWindow=650;
		}
		Left = (screen.width) ? (screen.width-wWindow)/2 : 0; 
		Top = (screen.height) ? (screen.height-hWindow)/2 : 0;
		myWin2=window.open(quale,"myWin2","scrollbars=yes,width="+wWindow+",height="+hWindow+",left="+Left+",top="+Top+";statusbar=0");
	}
var myWin3=""
function MywinControl(quale,wWindow,hWindow){
		if (myWin3!=""){
			if (myWin3.closed==false){
				myWin3.close()
			}
		}
		Left = (screen.width) ? (screen.width-wWindow)/2 : 0; 
		Top = (screen.height) ? (screen.height-hWindow)/2 : 0;
		myWin3=window.open(quale,"myWin3","toolbar=1,scrollbars=yes,width="+wWindow+",height="+hWindow+",statusbar=1,menubar=1,resizable=1");
	}
	

function Mywin3(quale,wWindow,hWindow){
		if (myWin3!=""){
			if (myWin3.closed==false){
				myWin3.close()
			}
		}
		if (wWindow==undefined){
			wWindow=650;
		}
		if (hWindow==undefined){
			hWindow=650;
		}
		Left = (screen.width) ? (screen.width-wWindow)/2 : 0; 
		Top = (screen.height) ? (screen.height-hWindow)/2 : 0;
		myWin3=window.open(quale,"myWin3","scrollbars=yes,width="+wWindow+",height="+hWindow+",left="+Left+",top="+Top+";statusbar=0");
	}
	
pos = 0;
function ScrollMessage(msg) {
   var newtext = msg.substring(pos, msg.length) + msg.substring(0, pos);
   var div = document.getElementById("scrollInfo");
   div.firstChild.nodeValue = newtext;
   pos++;
   if (pos > msg.length) pos = 0;
   window.setTimeout("ScrollMessage(msg)",150);
}

function trim(myStr)
{
   re=/\s+$|^\s+/g;
   myStrApp=myStr.replace(re,"");   
   return myStrApp;
}

function apriPdf(quale){
	Mywin("pdf/" + quale)
}

function workshop(){
	Mywin('corsi/workshop/calendarioSet08.php',850,400)
}