var wndCounter = 0;
function goTo( url, winType, width, height, features ) {
	// Opens links and new pages using JavaScript to prevent SE robots
	// from following them
	//
	// Required:
	// =========
	// url: URL of page to load
	//
	// Optional:
	// =========
	// winType: 0 = open in new page, 1 = open in popup, 2+ = open in same window
	// width: width of the popup window if winType = 1
	// height: height of the popup window if winType = 1
	// features: features of the popup window to be opened (i.e. scrollbars, etc.)
	
	if( !winType ) winType = 2;
	if( !width ) width = 0;
	if( !height ) height = 0;
	if( !features ) features = "";
	
	if( winType == 0 ) {
		var myWnd = window.open(url);
	}
	else if( winType == 1 ) {
		MM_openBrWindow(url,'newWnd'+wndCounter++,features,width,height,true);
	}
	else {
		window.location = url;
	}
}