/*
by: sveller.daniel@gmail.com
these functions are called from flash 
they are controlling the visibilty of the divs
this script loads the intro css for each browser also
*/
//hide div
if(BrowserDetect.browser == 'Explorer'){
	if (BrowserDetect.version== '7'){
		document.write('<'+'link rel="stylesheet" href="/css/intro_ie7.css" />');
	}else{
		document.write('<'+'link rel="stylesheet" href="/css/intro_ie.css" />');
	}
}else{
	document.write('<'+'link rel="stylesheet" href="/css/intro_ff.css" />');
}    
function hide_content(name) {
	 document.getElementById(name).style.visibility = 'hidden';
     return "";
}
//show div
function show_content(name) {
     document.getElementById(name).style.visibility = 'visible';
     return "";
}
//change css style
function change_css(name,css){
	 var ct = document.getElementById(name);
     ct.setAttribute('class', css);
     ct.setAttribute('className', css);
     return "";
}
//end of the intro by clicking on it so show content or intro ended
function show_content_all() {
	 document.getElementById('content').style.visibility = 'visible';
     document.getElementById('intro_holder').style.visibility= 'hidden';
     document.getElementById('shopflashcontent').style.visibility = 'visible';
     return "";
}
