// JavaScript Document

function MM_jumpMenu(targ,selObj,restore)
	{
		if((self.location.toString().toLowerCase().indexOf(".aspx")) != -1)
		{
			//alert('1');
			if((self.location.toString().toLowerCase().indexOf(".aspx")) == (self.location.toString().length-5))
			{  
				//alert('3');
				eval(targ+".location='"+self.location.toString()+"?currency="+selObj.options[selObj.selectedIndex].value+"'");
				if (restore) selObj.selectedIndex=0;
			}
			else
			{
				//alert('4');
				if((self.location.toString().toLowerCase().indexOf("currency=")) != -1)
				{
					//alert('5');
					if((self.location.toString().lastIndexOf('&')) != -1)
					{
						//alert('7');
						if((self.location.toString().toLowerCase().indexOf("currency=")) > (self.location.toString().lastIndexOf('&')))
						{
							//alert('9');
							eval(targ+".location='"+self.location.toString().substr(0,(self.location.toString().lastIndexOf('&')))+"&currency="+selObj.options[selObj.selectedIndex].value+"'");
							if (restore) selObj.selectedIndex=0;
						}
						else
						{
							//alert('10');
							eval(targ+".location='"+self.location.toString().substr(0,(self.location.toString().toLowerCase().indexOf("currency=")))+self.location.toString().substr(self.location.toString().indexOf("&",(self.location.toString().toLowerCase().indexOf("currency=")))+1,(self.location.toString().length))+"&currency="+selObj.options[selObj.selectedIndex].value+"'");
							if (restore) selObj.selectedIndex=0;
						}
					}
					else
					{
						//alert('8');
						eval(targ+".location='"+self.location.toString().substr(0,(self.location.toString().toLowerCase().indexOf("currency=")))+"currency="+selObj.options[selObj.selectedIndex].value+"'");
						if (restore) selObj.selectedIndex=0;
					}
				}
				else
				{
					//alert('6');
					eval(targ+".location='"+self.location.toString()+"&currency="+selObj.options[selObj.selectedIndex].value+"'");
					if (restore) selObj.selectedIndex=0;
				}
			}
		}
		else
		{
			//alert('2');
			eval(targ+".location='"+self.location.toString()+"home.aspx?currency="+selObj.options[selObj.selectedIndex].value+"'");
 			if (restore) selObj.selectedIndex=0;
		}
	}
