

function bg(p){
	 document.getElementById("big").src='blob.asp?id='+p+'&tb=tb_all_prod&w=180&h=180'		
	}
	
	function bgphoto(p,p1){
	//alert(p)
	 document.getElementById("big").src='blob.asp?id='+p+'&tb=tb_all_prod&w=178&h=178'	
	 document.getElementById("link").href='blob.asp?id='+p+'&tb=tb_all_prod&w=800&h=800'
	  document.getElementById("N").innerHTML= p1
	}
	
	function spc(p, p1, p2, p3, p4, p5){
		
	for(i=1;i<=p5;i++){
		document.getElementById("ph"+i).className="essenzetabletext"
		}
		
    document.getElementById("sp").src='blob1.asp?id='+p+'&tb=tb_all_spc&w=110&h=110'
	 document.getElementById("link1").href='blob1.asp?id='+p+'&tb=tb_all_spc&w=800&h=800'
	document.getElementById("spc").innerHTML= p1
    document.getElementById("tit").innerHTML=p3+" > "+p2	
	document.getElementById("ph"+p4).className="essenzetablepress"
	
	}
	
		function lay(p,p5){
		
	for(i=p;i<p5;i++){
		if(document.getElementById("spcc"+i)){
		document.getElementById("spcc"+i).className="lay"
		}
		}	
	document.getElementById("spcc"+p).className="lay1"
	
	}
			function cl(p){
		document.getElementById("spcc"+p).style.visibility='hidden'
			}
