// new ie bug -> insert flash through scriptfunction InsFlash(flName,flID,flH,flW){ // flName: file path | flID: file ID | flH: file Height | flW: file Width	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" id="'+flID+'" name="'+flID+'" height="'+flH+'" width="'+flW+'" align="Center">\n');	document.write('<param name="movie" value="'+flName+'" />\n');	document.write('<param name="scale" value="exactfit" />\n');	document.write('<param name="quality" value="high" />\n');	document.write('<param name="menu" value="false" />\n');	document.write('<embed src="'+flName+'" quality="high" name="'+flID+'" height="'+flH+'" width="'+flW+'" align="center" type="application/x-shockwave-flash" pluginspace="http://www.macromedia.com/go/getflashplayer" scale="exactfit" menu="false"></embed>\n');	document.write('</object>\n');}function Open(url,name,w,h,string) {    var str = "height=" + h + ",innerHeight=" + h;  str += ",width=" + w + ",innerWidth=" + w;    if (window.screen) {    var ah = screen.availHeight - 30;    var aw = screen.availWidth - 10;    var xc = (aw - w) / 2;    var yc = (ah - h) / 2;    str += ",left=" + xc + ",screenX=" + xc;    str += ",top=" + yc + ",screenY=" + yc;	str += ","+string+"";  }  return window.open(url, name, str);}function ShowBigImg(imgName,imgW,imgH,imgAlt){	var imgUrl = "/2005/immagini/gallery/"+imgName+"";	if (imgAlt=="") imgAlt = "avonrunning 2004, fotogallery";	imgWin = Open('','avonrunning',imgW+1,imgH+1,"menubar=0,resizable=0,scrollbars=0,dependent=1,titlebar=0,toolbar=0,marginwidth=0,marginheight=0,leftmargin=0,topmargin=0");	var strToWrite = "<html><head><meta http-equiv=\"imagetoolbar\" content=\"no\" />";	strToWrite += "<title>:: avonrunning 2005 _ fotogallery::</title></head>";	strToWrite += "<body marginwidth=\"0\" marginheight=\"0\" leftmargin=\"0\" topmargin=\"0\">";	strToWrite += "<img src=\""+imgUrl+"\" width=\""+imgW+"\" height=\""+imgH+"\" alt=\""+imgAlt+"\" border=\"0\" />";	strToWrite += "</body>";	imgWin.document.write(strToWrite);	imgWin.document.close();	imgWin.focus();}function OpenClassifica(strUrl,strN,w,h,str){	imgWin = Open(strUrl,strN,w,h,"menubar=1,resizable=0,scrollbars=1,dependent=1,titlebar=0,toolbar=0,marginwidth=0,marginheight=0,leftmargin=0,topmargin=0,left=15,top=20");	imgWin.focus();}function OpenCazzate(strUrl,strN,w,h,str){	imgWin = Open(strUrl,strN,w,h,"menubar=0,resizable=0,scrollbars=0,dependent=1,titlebar=0,toolbar=0,marginwidth=0,marginheight=0,leftmargin=0,topmargin=0,left=15,top=20");	imgWin.focus();}function OpenCrediti(strUrl,strN,w,h,str){	imgWin = Open(strUrl,strN,w,h,"menubar=0,resizable=0,scrollbars=0,dependent=1,titlebar=0,toolbar=0,marginwidth=0,marginheight=0,leftmargin=0,topmargin=0,left=366,top=20");	imgWin.focus();}