function parseString(string) {
	var tstring = "";	
	// To remove spaces 
	splitstring = string.split(" ");
	for(i = 0; i < splitstring.length; i++)
	tstring += splitstring[i];	
	
	//To remove & 
	splitstring = tstring ;
	tstring = "";
	splitstring = splitstring.split("&");
	for(i = 0; i < splitstring.length; i++)
	tstring += splitstring[i];	
	
	//To remove -
	splitstring = tstring ;
	tstring = "";
	splitstring = splitstring.split("-");
	for(i = 0; i < splitstring.length; i++)
	tstring += splitstring[i];
	
	//To remove \
	splitstring = tstring ;
	tstring = "";
	splitstring = splitstring.split("\\");
	for(i = 0; i < splitstring.length; i++)
	tstring += splitstring[i];
	
	//To remove /
	splitstring = tstring ;
	tstring = "";
	splitstring = splitstring.split("/");
	for(i = 0; i < splitstring.length; i++)
	tstring += splitstring[i];
	
	//To remove " 
	splitstring = tstring ;
	tstring = "";
	splitstring = splitstring.split("\"");
	for(i = 0; i < splitstring.length; i++)	
	tstring += splitstring[i];			
		
	//To remove '	
	splitstring = tstring ;	
	tstring = "";
	splitstring = splitstring.split("\'");
	for(i = 0; i < splitstring.length; i++)		
		tstring += splitstring[i];			
	
	//To remove ; 
	splitstring = tstring ;
	tstring = "";
	splitstring = splitstring.split(";");
	for(i = 0; i < splitstring.length; i++)
	tstring += splitstring[i];		
	
	//To remove ,
	splitstring = tstring ;
	tstring = "";
	splitstring = splitstring.split(",");
	for(i = 0; i < splitstring.length; i++)
	tstring += splitstring[i];		
	 
	return tstring;	
}

function goURL(obj)
    {
    if(obj.options[obj.selectedIndex].value != 0)
    {
    window.location.href=obj.options[obj.selectedIndex].value;
    document.selector.reset();
    }
    }

html = '<!-- ========= BEGIN SELECTOR WITH DISCLAIMER (E01) ========== -->';
html += '<table cellspacing="0" cellpadding="0" border="0" width="213">';
    html += '<form name="selector" action="#" method="post">';
    html += '<tr>';
	  html += '<td colspan="4" class="selectHeading"><label for="drop_down">' + dropdown_label +'</label></td>';
	  html += '</tr>';
	  html += '<tr>';
	  html += '<td colspan="4"><img src="'+ gr +'/images/global/spacer.gif" width="2" height="3" alt="" border="0" /></td>';
	  html += '</tr>';
	  html += '<tr class="layout">';
	  html += '<td>';	  
	  dd = parseString(dropdown_label);	  	  
		html += '<select name="' + dd + '" id="' + dd +'" class="globalDropDown" style="width:180px;">';
		html += '<option value="0" selected="selected"></option>';
		  	for(i=0; i<dropdown.length ; i++)
		  	{
		  		html += '<option value="' + dropdown[i][1] + '" > ' + dropdown[i][0] + ' </option>';		  		    
		  	}
		  	
		html += '</select>';
	  html += '</td>';
	  html += '<td><img src="'+ gr + '/images/global/spacer.gif" width="1" height="2" alt="" border="0" /></td>';
	  html += '<td valign="middle"><a href="javascript:goURL(document.selector.' + dd + ')"><img src="' + gr + '/images/button_go.gif" width="22" height="20" alt="Go" border="0" /></a></td>';
	  html += '<td><img src="' + gr +'/images/global/spacer.gif" width="10" height="2" border="0" alt="" /></td>';
	  html += '</tr>';
	  html += '<tr>';
	  html += '<td colspan="4"><img src="' + gr + '/images/global/spacer.gif" width="2" height="5" alt="" border="0" /></td>';
	  html += '</tr><tr><td class="selectDisclaimer">' + bottom_text +'</td></tr>' ;		
	  html += '<tr>';
	  html += '<td colspan="4"><img src="' + gr + '/images/global/spacer.gif" width="2" height="5" alt="" border="0" /></td>';	  
	  html += '</tr>';
	  if(bottom_text != "")
	  {
	  	html += '<tr>';
	  	html += '<td colspan="4"><img src="' + gr + '/images/global/spacer.gif" width="2" height="5" alt="" border="0" /></td>';	  
	  	html += '</tr>';
	  }	  
	  html += '</table>';
document.write(html);
