// Script pour afficher texte dans la barre status

var Message="FAST NEWS: Future Sound Corporation become Future Sound Music Group!"; 
var place=1; 
function scrollIn() { 
window.status=Message.substring(0, place); 
if (place >= Message.length) { 
place=1; 
window.setTimeout("scrollOut()",300); 
} else { 
place++; 
window.setTimeout("scrollIn()",50); 
   } 
} 
function scrollOut() { 
window.status=Message.substring(place, Message.length); 
if (place >= Message.length) { 
place=1; 
window.setTimeout("scrollIn()", 100); 
} else { 
place++; 
window.setTimeout("scrollOut()", 50); 
} 
} 


//Script pour cacher les messages de la barre status
  
function hidestatus(){ 
window.status='© FSMG' 
return true 
} 
if (document.layers) 
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT | Event.MOUSEDOWN) 
document.onmouseover=hidestatus 
document.onmouseout=hidestatus 
document.onmousedown=hidestatus

//Script pour popup images

function showpopupimage (titre,srcimage,largeur,hauteur)
{//This script is writed and copyrighted by Dominique Perren http://www.dpsoft.ch
immem = new Image;
immem.src = srcimage;
var winl = (screen.width - largeur) / 2;
var wint = (screen.height - hauteur) / 2;
winprops = 'height='+hauteur+',width='+largeur+',top='+wint+',left='+winl+',scrollbars=no,resizable=yes,status=no,location=0,directories=0'
pop = window.open("","pop",winprops); if( self.focus ) 
pop.focus();
pop.document.open();
pop.document.write('<html>\n');
pop.document.write('<head>\n');
pop.document.write('<title>'+titre+'</title>\n');
pop.document.write('</head>\n');
pop.document.write('<body bgcolor=white leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"');
pop.document.write(' bgcolor="#000000" text="#FFFFFF" link="#FF0000" vlink="#FF0000" alink="#FFFF00" onLoad="window.resizeTo(document.image_.width+10,document.image_.height+29)">\n');
pop.document.write('<table width="100%" border="0" height="100%" cellspacing="0" cellpadding="0">\n');
pop.document.write('<tr><td>\n');
pop.document.write('<p align="center"><img name="image_" src="'+srcimage+'" border="0" onLoad="window.resizeTo(document.image_.width+10,document.image_.height+29)"><br>\n');
pop.document.write('</td></tr>\n');
pop.document.write('</table>\n');
pop.document.write('</body>\n');
pop.document.write('</html>\n');
pop.document.close();
}

//Script pour no spam emails

function mailStefano(){
var name = "stefano";
var domain = "hitland.com";
var aro = "@";
document.write('<a href="mailto:' + name + aro + domain + '">');
document.write(name + '@' + domain + '</a>');
}

//Script pour liens liste déroulante

function Lien() {
	i = document.Choix.Liste.selectedIndex;
	if (i == 0) return;
	url = document.Choix.Liste.options[i].value;
	parent.location.href = url;
}