//<a Href="javascript:void(0);" OnClick="winpopup('siios.htm','520','475','no','no','siios');return false;">
function winpopup(URL,WIDTH,HEIGHT,SCROLLBAR,RESIZABLE,NOMEFINESTRA){	
	var windowprops = "left=20,top=20,width=" + WIDTH + ",height=" + HEIGHT + ",scrollbars=" + SCROLLBAR + ",resizable=" + RESIZABLE + ",menubar=no,toolbar=no,location=no,status=no,fullscreen=no,channelmode=no";
	var winpopup=window.open(URL, NOMEFINESTRA, windowprops);
	winpopup.opener=self;winpopup.focus();}

//window.open(URL, "SIIOS", left=20,top=20,width=350,height=400,scrollbars=yes,resizable=no,menubar=no,toolbar=no,location=no,status=no,fullscreen=no,channelmode=no");

//ROLLOVER
function init() {
	if (!document.getElementById) return
		var imgOriginSrc;var imgTemp = new Array();var imgarr = document.getElementsByTagName('img');
		for (var i = 0; i < imgarr.length; i++) {
		if (imgarr[i].getAttribute('hsrc')) {imgTemp[i] = new Image();imgTemp[i].src = imgarr[i].getAttribute('hsrc');imgarr[i].onmouseover = function() {imgOriginSrc = this.getAttribute('src');this.setAttribute('src',this.getAttribute('hsrc'))}
		imgarr[i].onmouseout = function() {	this.setAttribute('src',imgOriginSrc)}}}}
		onload=init;

//EMAIL ANTI-SPAM
function emas(user){
	var st_domain = "meetandwork.com"
	var st_recipient = user + "@" + st_domain
	var st_url = "mailto:" + st_recipient
	document.write(st_recipient.link(st_url));
}


//flash

function ScriviSwf(filmato,larghezza,altezza) {
       //document.write  alert
       document.write('<OBJECT id=\"' + filmato + '\" style=\"BORDER-RIGHT: white 2px solid; BORDER-TOP: white 2px solid; BORDER-LEFT: white 2px solid; BORDER-BOTTOM: white 2px solid\" codeBase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" height=\"' + altezza + '\" width=\"' + larghezza + '\" align=\"middle\" classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" VIEWASTEXT>\
<PARAM NAME=\"_cx\" VALUE=\"8467\">\
<PARAM NAME=\"_cy\" VALUE=\"6350\">\
<PARAM NAME=\"FlashVars\" VALUE=\"\">\
<PARAM NAME=\"Movie\" VALUE=\"' + filmato + '\">\
<PARAM NAME=\"Src\" VALUE=\"' + filmato + '\">\
<PARAM NAME=\"WMode\" VALUE=\"transparent\">\
<PARAM NAME=\"Play\" VALUE=\"-1\">\
<PARAM NAME=\"Loop\" VALUE=\"-1\">\
<PARAM NAME=\"Quality\" VALUE=\"High\">\
<PARAM NAME=\"SAlign\" VALUE=\"\">\
<PARAM NAME=\"Menu\" VALUE=\"-1\">\
<PARAM NAME=\"Base\" VALUE=\"\">\
<PARAM NAME=\"AllowScriptAccess\" VALUE=\"sameDomain\">\
<PARAM NAME=\"Scale\" VALUE=\"ShowAll\">\
<PARAM NAME=\"DeviceFont\" VALUE=\"0\">\
<PARAM NAME=\"EmbedMovie\" VALUE=\"0\">\
<PARAM NAME=\"BGColor\" VALUE=\"000000\">\
<PARAM NAME=\"SWRemote\" VALUE=\"\">\
<PARAM NAME=\"MovieData\" VALUE=\"\">\
<PARAM NAME=\"SeamlessTabbing\" VALUE=\"1\">\
<PARAM NAME=\"Profile\" VALUE=\"0\">\
<PARAM NAME=\"ProfileAddress\" VALUE=\"\">\
<PARAM NAME=\"ProfilePort\" VALUE=\"0\">\
<embed src=\"' + filmato + '\" quality=\"high\" bgcolor=\"#000000\" width=\"' + larghezza + '\" height=\"' + altezza + '\" name=\"facciamoGaloppareLaFantasia-20061127\" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />\
</OBJECT>');}	
