function changetitre(titre){
	document.title = "Urban Concept | "+titre;
}
function flash1(idx, paze, w, h, flashvars, wmode){
	my_html = '<object id="'+idx+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab#version=9,0,16,0" width="'+w+'" height="'+h+'">';
	my_html += '<param name="movie" value="'+paze+'">';
	my_html += '<param name="quality" value="high">';
	my_html += '<param name="wmode" value="'+wmode+'">';
	my_html += '<param name="FlashVars" value="'+flashvars+'">';
	my_html += '<embed src="'+paze+'" quality="high" wmode="'+wmode+'" FlashVars="'+flashvars+'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'"></embed></object>';
	return my_html;
}
function flash2(idx, paze, w, h, flashvars, wmode){
	document.write('<object id="'+idx+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab#version=9,0,16,0" width="'+w+'" height="'+h+'">');
	document.write('<param name="movie" value="'+paze+'">');
	document.write('<param name="quality" value="high">');
	document.write('<param name="wmode" value="'+wmode+'">');
	document.write('<param name="FlashVars" value="'+flashvars+'">');
	document.write('<embed src="'+paze+'" quality="high" wmode="'+wmode+'" FlashVars="'+flashvars+'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'"></embed></object>');
}
function video(id,id_video){
	video = flash1('','files/player.swf', '438', '49', 'id_artist=&lg=', 'transparent');
	document.getElementById("video"+id).innerHTML = video;
}
function photo(id_photo){
	photo = flash1('','files/photo.swf', '100%', '100%', 'id_photo', 'transparent');
	document.getElementById("photo").innerHTML = photo;
}
function newsletter(form){
	document[form].submit();
}
function edit(form2){
	document[form2].submit();
}
function message(form2){
	verif = 0;
	if(document.form2.name.value == ""){
		verif++;
		document.getElementById("name_al").style.color = "#7F0033";
	}else{
		document.getElementById("name_al").style.color = "#2B2B2B";
	}
	if(document.form2.email.value == "" || document.form2.email.value.indexOf("@") == -1 || document.form2.email.value.indexOf(".") == -1 || document.form2.email.value.length < 10){
		verif++;
		document.getElementById("email_al").style.color = "#7F0033";
	}else{
		document.getElementById("email_al").style.color = "#2B2B2B";
	}
	if(document.form2.subject.value == ""){
		verif++;
		document.getElementById("subject_al").style.color = "#7F0033";
	}else{
		document.getElementById("subject_al").style.color = "#2B2B2B";
	}
	if(document.form2.message.value == ""){
		verif++;
		document.getElementById("message_al").style.color = "#7F0033";
	}else{
		document.getElementById("message_al").style.color = "#2B2B2B";
	}
	if(verif==0 && document.form2.secu.value != ""){
		document[form2].submit();
	}
}
function login(form2){
	verif = 0;
	if(document.form2.email.value == "" || document.form2.email.value.indexOf("@") == -1 || document.form2.email.value.indexOf(".") == -1 || document.form2.email.value.length < 10){
		verif++;
		document.getElementById("email_al").style.color = "#7F0033";
	}else{
		document.getElementById("email_al").style.color = "#2B2B2B";
	}
	if(document.form2.password.value == ""){
		verif++;
		document.getElementById("password_al").style.color = "#7F0033";
	}else{
		document.getElementById("password_al").style.color = "#2B2B2B";
	}
	if(verif==0){
		document[form2].submit();
	}
}
function imagefc(image){
	document[image].submit();
}
