 var displayElement = 0;
	  
	  
	   function showInnerPanel(tab, name, panelnum)
      {
        if (selectedInnerTab) 
        {
          selectedInnerTab.style.color = '#ffffff';
        }
        selectedInnerTab = tab;
         selectedInnerTab.style.color = '#FF9900';
        for(i = 0; i < innerpanels.length; i++)
        {
			  if(name == innerpanels[i]){
				var mmdiv = $(innerpanels[i]).setStyles({
					display:'block',
					opacity: 0
				});
			   displayElement=i;
			  
			  mmdiv.fade(1);
			   
			  }else{
			   document.getElementById(innerpanels[i]).style.display='none';
			   document.getElementById(innerpanels[i]).style.opacity=0;
			  }
        }
		myBAccordion.display(panelnum);  
		
        return false;
      }
	  
      function showPanel(tab, name)
      {
        if (selectedTab) 
        {
		  selectedTab.style.backgroundPosition='0px -20px';
        }
        selectedTab = tab;
        selectedTab.style.backgroundPosition='0 0';
		
        for(i = 0; i < panels.length; i++)
        {
          document.getElementById(panels[i]).style.display = (name == panels[i]) ? 'block':'none';
        }
        return false;
      }
	  
	  function test(mydiv){
	  document.getElementById('MYACCESS').innerHTML=document.getElementById(mydiv).innerHTML;
}  
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function windetails(theURL,winName){
window.open(theURL,winName,'width=550,height=840, scrollbars=1');
}

function notifymystock(f){
document.forms.notifyme.nfbemail.value=document.forms.product.nfemail.value;
document.forms.notifyme.nfbname.value=document.forms.product.nfname.value;
document.forms.notifyme.nfbphone.value=document.forms.product.nfphone.value;
document.forms.notifyme.submit();
}
