/* era//404 Popup Scripts  ***************************************************************************/

function pop(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

/*
function shselect(sid,did,show)
{
	//alert(sid);
	var div = document.getElementById(did);
	var divfield = document.getElementById(did.replace("ddl", "txt"));

		div.style.display = "none";
		divfield.value = "";
	var show_ar = show.split("|");
	for(var i=0;i<show_ar.length;i++)
	{
		if(show_ar[i] == sid.selectedIndex) 
		{   
		    
		    div.style.display = "block";
		}
	}
	
}
*/



function shselect(sid,did,show)
{
	/*alert(did);
	var vSic = sid.value;
	alert(vSic);
	alert(sid.style.display);*/
	
	
	var div_ar = did.split("|");
	var div = "";
	//alert(document.getElementById(div_ar[0]));
    for(var i=0;i<div_ar.length;i++)
	{

	    div = document.getElementById(div_ar[i]);
		div.style.display = "none";
		//alert(div_ar[i]);
		
		if(div_ar[i] == "ref" )
		{
          //alert(document.getElementById('ref'));
          document.Form1.txtReferrer.value="";
	      //alert(document.Form1.txtReferrer.value);
	        
	    }
	    else
	    {
	
	        document.Form1.txtBusCntPersonName.value="";
	        document.Form1.txtBusCntPhone.value="";
	        document.Form1.txtBusCntFax.value="";
	     }
		
	}

	if(eval(sid.value)=="")
	   {
	        
	           ref.style.display = "none";
		       ref1.style.display = "none";
	    }
	else
		{
	    if(sid.value != "")
		 eval(sid.value).style.display = "block";
		      
		}
    
}		
				
		
		
////		
////		
////	
////	for(var i=0;i<show_ar.length;i++)
////	{
////	    if(sid.selectedIndex == 6)
////	    
////	    {
////	        //div.style.display="";
////	        ref.style.display = "none";
////	        ref1.style.display = "block";
////	    }
////		else
////		{   
////		    
////		    //div.style.display = "";
////		    if (sid.selectedIndex == 2 || sid.selectedIndex == 3)
////		        {
////    	        ref1.style.display = "none";
////	            ref.style.display = "none";
////	            }
////    	    else
////    	        {
////    	        ref1.style.display = "none";
////	            ref.style.display = "block";
////	            }
////		}
	    
////	}
	


//usage: pop('page.htm','popLyrics','width=538,height=514,left=400,top=300,toolbar=No,location=No,scrollbars=yes,status=Yes,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);">
