function gif_over(src) {
	src.children.tags('IMG')[0].src=src.children.tags('IMG')[0].src.replace('.gif','r.gif');
} 
function gif_out(src) {
	src.children.tags('IMG')[0].src=src.children.tags('IMG')[0].src.replace('r.gif','.gif');
}

function showLayer(layerName) {
	eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');
// 	document.layerName.visibility="visible"';
}
function hideLayer(layerName) {
	eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"');
}

function gif_over1(src,name) {
	src.children.tags('IMG')[0].src=src.children.tags('IMG')[0].src.replace('.gif','r.gif');
	document.images["cl"].src='{IMG}model/detail/'+name+'.gif';
}
   
function gif_out1(src,name) {
	src.children.tags('IMG')[0].src=src.children.tags('IMG')[0].src.replace('r.gif','.gif');
	document.images[name].src='{IMG}spacer.gif';
}


ns=0;
layerRef="document.all";
styleSwitch=".style";
if (navigator.appName == "Netscape") {
	ns=1;
	layerRef="document.layers";
  	styleSwitch="";
}


function change_foto(){
	i=Math.round(Math.random()*20);	
	document.face_foto.src="img/face/"+i+".jpg";
	//alert(document.face_foto.src);
	
};

function change_ban(){
	i=Math.round(Math.random()*1);	
//	i=0;
	document.face_ban.src="img/flash/"+i+".swf";
//	alert(document.face_ban.src);
};

/*			document.flash_bot.movie="img/flash/"+1+".swf";
			document.flash_bot.embed.src="img/flash/"+1+".swf";
*/
	
function change_ban_bot(){
      


};

