/*var pwcookieExist = 0;

var cookieNames = document.cookie.split(";");
for (i=0; i < cookieNames.length; i++) 
{
	/*alert("ran" + [i]);
	alert(cookieNames);*/
	if (cookieNames[i].indexOf("TopDocs") > -1)
	{
		//alert("Cookie Found");
		pwcookieExist = 1;
 	}
}





if (pwcookieExist == 0) 
{
	var pw = prompt("Please enter your password (case-sensitive)","");
	if (pw == "CHICAGOMAGDOCS") 
	{
		document.cookie = "TopDocs=PW1; path=/;";
	}
	else if (pw == null) 
	{
		if (confirm("Are you sure?")) 
		{
		window.location = "http://www.neodata.com/ITPS2.cgi?ItemCode=CAGO&iResponse=CAGO.NEW&OrderType=Reply+Only&SourceCode=7&KeyCode=AAC";
		}
	else 
	{
		document.location.reload();
	}
}
else {
	alert("Please re-enter password");
	document.location.reload();
}
}*/