	function getCookie(Name)
 	{
		var search = Name + "=";
		var returnvalue = "";
		if (document.cookie.length > 0)
	 	{ 
			offset = document.cookie.indexOf(search);
			if (offset != -1) 	
			{  
				offset += search.length;
				end = document.cookie.indexOf(";", offset);
				if (end == -1) 	
					end = document.cookie.length;
				returnvalue=unescape(document.cookie.substring(offset, end))
			} 
		} 
		return returnvalue;	
	}

	function popper(windowURL)	
	{	
		if (windowURL == "")
			return;
		window.name = "popperParent";
		var hostName = window.location.hostname;
		var cookieValue = getCookie(hostName);
		if (cookieValue == "")
		{
			document.cookie = hostName +"=" +windowURL;
			var newWindow = window.open(windowURL, 'VE_Window');
			newWindow.blur();
			return;
		}
		if (cookieValue == windowURL)
		{
			return;
		}
		if (cookieValue.indexOf(windowURL,0) > -1)
		{
			return;
		}
		document.cookie = hostName +"=" +cookieValue +"," +windowURL +";";
		var newWindow = window.open(windowURL, 'VE_Window');
		newWindow.blur();
	}

	function popUnderEvery(windowURL)
	{
		window.name = "popperParent";
		if (windowURL == "")
			return;
		var newWindow = window.open(windowURL, 'VE_Window');
		newWindow.blur();
	}

