// JavaScript Document
function RollOver(obj,val){
  obj.src = val;
}

function viewLv2(pid){
	b = document.userSystem.browserShortName;
	v = document.userSystem.browserVersion;
	
	if(document.getElementById("lv1_"+pid)){
		document.getElementById("lv1_"+pid).style.backgroundColor = "#aaaaaa";
	}else{
		if(document.all("lv1_"+pid)){
			document.all("lv1_"+pid).style.backgroundColor = "#aaaaaa";
		}
	}
	
	if(b == "ie" && v <= 5.2){return;}

	if(document.getElementById("pid_"+pid)){
		document.getElementById("pid_"+pid).style.display = "block";
	}else{
		if(document.all("pid_"+pid)){
			document.all("pid_"+pid).style.display = "block";
		}
	}
}

function hiddenLv2(pid){
	if(document.getElementById("lv1_"+pid)){
		document.getElementById("lv1_"+pid).style.backgroundColor = "#000000";
	}else{
		if(document.all("lv1_"+pid)){
			document.all("lv1_"+pid).style.backgroundColor = "#000000";
		}
	}
	
	if(document.getElementById("pid_"+pid)){
		document.getElementById("pid_"+pid).style.display = "none";
	}else{
		if(document.all("pid_"+pid)){
			document.all("pid_"+pid).style.display = "none";
		}
	}
}

function over(id){
	if(document.getElementById(id)){
		document.getElementById(id).style.backgroundColor = "#cccccc";
	}else{
		if(document.all(id)){
			document.all(id).style.backgroundColor = "#cccccc";
		}
	}
}

function out(id){
	if(document.getElementById(id)){
		document.getElementById(id).style.backgroundColor = "#ffffff";
	}else{
		if(document.all(id)){
			document.all(id).style.backgroundColor = "#ffffff";
		}
	}
}


function over2(id){
	if(document.getElementById(id)){
		document.getElementById(id).style.backgroundColor = "#ff9999";
	}else{
		if(document.all(id)){
			document.all(id).style.backgroundColor = "#ff9999";
		}
	}
}

function out2(id){
	if(document.getElementById(id)){
		document.getElementById(id).style.backgroundColor = "#cc0000";
	}else{
		if(document.all(id)){
			document.all(id).style.backgroundColor = "#cc0000";
		}
	}
}


