/*URL Selection Script
Sets the active application url based on the current location
	options:  http://test.j100.gov.bc.ca/, http://j100.gov.bc.ca/
	button links:	http://j100.gov.bc.ca/pub/ras/signin.aspx
							http://j100.gov.bc.ca/ext/ras/default.aspx 
*/

var url = document.URL;
if (url.indexOf("test.fishing")>0 || url.indexOf("wwwt.fishing")>0) {
	var root = "http://test.j100.gov.bc.ca/";
} else {
	var root = "http://j100.gov.bc.ca/";
}

