function opn(theURL,winName,features) {
  window.open(theURL,winName, ' width=400,height=400,toolbar=no,location=no,directories=yes,status=no,menubar=yes,scrollbars=yes,resizable=no');
  window.document.body.bgColor="white";
}

function opn2(theURL,winName,features2) {
  window.open(theURL,winName,features);
  window.document.body.bgColor="white";
}


function tst (obj){ 
	if(document.getElementById('showsum')){
		var v = document.getElementById('showsum').childNodes;
			for(var i=0; i < v.length; i++){			
			var p = v[i].id;
			if(v[i].nodeType != 1){
			v[i].nextSibling;		
			}else if(v[i].nodeType == 1 || v[i].nodeType ==2 || v[i].nodeType ==3){
				if(p == obj){
				document.getElementById("smm").style.display = "none";
				document.getElementById(p).style.display = "block";
				} else{
				document.getElementById(p).style.display = "none";				
				}
			}
		}
	}
}



function all0(){
		document.getElementById("smm").style.display = "block";
		document.getElementById("inside").style.display = "none";
		document.getElementById("subs").style.display = "none";
		document.getElementById("amps").style.display = "none";
		document.getElementById("hood").style.display = "none";
		document.getElementById("perform").style.display = "none";

		document.getElementById("muscle").style.display = "none";
		document.getElementById("connx").style.display = "none";
		document.getElementById("source").style.display = "none";
		document.getElementById("performance").style.display = "none";
		document.getElementById("processor").style.display = "none";
}

/*
function showPic (whichpic) {
 if (document.getElementById) {
  document.getElementById('pic').src = whichpic;
  //alert(whichpic);
	return false;
 } else {
	 alert("ooh");
  return true;
 }
}
*/

function showPic(z){
 if (document.getElementById) {
	//var source = z.getAttribute("href");
    var hold = document.getElementById('pic');
	hold.setAttribute('src',z);
	//alert(hold);
 } else {
	 alert("ooh");
  return true;
 }
	
}


/*
function showPic (z) {
 if (document.getElementById) {
  document.getElementById('pic').src = z;
  return false;
 } else {
  return true;
 }
}
*/


