function redirect(selObj,restore)
{ //v1.7 by Project Seven, credits to guigalaxy.com for blatant code copying.
	
	var theFullString = selObj.options[selObj.selectedIndex].value;
	
	if (restore) selObj.selectedIndex=0;
	
	var theLength = theFullString.length;
	
	var endPos = theFullString.lastIndexOf("~");
	
	var theUrl, theTarget, theParent;
	
	if (endPos > 0)
	{
		theUrl = theFullString.substring(0,endPos);
	}
	
	else
	{
		theUrl = theFullString;
	}
	
	endPos++
	
	if (endPos < theLength)
	{
		theTarget = theFullString.substring(endPos,theLength)
	}
	
	else
	{
		theTarget = "window:Main";
	}
	
	if (theTarget == "window:New")
	{
		window.open(theUrl, "popup" , 'location=no,menubar=no,height=450,width=350');
	}
	
	else if (theTarget == "window:Main")
	{
		eval("parent.location='"+theUrl+"'");
	}
	
	else if (theTarget == "none")
	{
		return;
	}
	
	else
	{
		eval("parent.frames[\'"+theTarget+"\'].location='"+theUrl+"'");
	}
}





