// JavaScript Document


function gotoURL(destSite)
{
	currURL = window.location.href;
	//alert(currURL);
	arr = currURL.split("//");
	//alert(arr[1]);
	char = arr[1].charAt(0);
	
	if(destSite == "its")
	{
		if(char=="l") window.location = "../its"; //localhost
		else window.location = "http://www.itsecurityconf.org/"; //www
	}
	if(destSite == "ntc")
	{
		if(char=="l") window.location = "../ntc"; //localhost
		else window.location = "http://www.networkcomm.org/"; //www
	}
	
}
