function makeUrl( name ){  
	name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");  
	var regexS = "[\\?&]"+name+"=([^&#]*)";  
    var regex = new RegExp( regexS );  
    var results = regex.exec( window.location.href );  
    if ( results == null )    
        return "";  
    else {    
		var myUrl = "PortalRender.aspx?PageID=a480dc44-47a6-42bc-a012-4d97c35deea5&MailID=" + results[1];
		 window.location.href = myUrl;
    }
}	

