/**
 * Used to redirect the page. (with ie base tag fix)
 * 
 * @param {string} url Location to redirect
 * 
 * @author HEXAGONO STI
 */
function $go(url) {
	
	if (Browser.Engine.trident) {
		
		// loc is the relative path your wish to redirect to
		var b = document.getElementsByTagName('base');
		
		if (b && b[0] && b[0].href) {
			
			if (b[0].href.substr(b[0].href.length-1) == '/' && url.charAt(0) == '/') {
				url = url.substr(1);
				
			}
			url = b[0].href + url;
			
		}
		
		location.href = url;
		
	} else {
		
		location.href = url;
		
	}
	
}