if (!document.getElementById) {
    window.location = 
	  "http://www.hitchin.net/cgi-local/parser/parser.pl/www.hitchin.net/index.htm"
}

function remote(){
win2=window.open("xmasad.htm","","width=200,height=200,scrollbars=0")
win2.creator=self
}
function makeStart(){
		alert("Please select 'Open this file from its current location' when asked what you would like to do with the file");
		location.href = "makehome.reg";
	}
function BakeCookie() 
{ 
var today = new Date (); 
var expdate = new Date (); 
expdate.setTime(expdate.getTime() + (1 * 24 * 60 * 60 * 1000 * 365)); 
expdate=expdate.toGMTString(); 
document.cookie="lastvisit="+escape(today)+";expires="+expdate+";" 
} 
function ServeCookie(name) 
{ 
var namestr = name + "=" 
var namelen = namestr.length 
var cooklen = document.cookie.length 
var i = 0 
while (i < cooklen) 
{ var j = i + namelen 
if (document.cookie.substring(i, j) == namestr) 
{ endstr = document.cookie.indexOf (";", j) 
if (endstr == -1) {endstr = document.cookie.length} 
return unescape(document.cookie.substring(j,endstr)) 
} 
i = document.cookie.indexOf(" ", i) + 1 
if (i == 0) break 
} 
return null 
} 

function BakeCookiec() 
{ 
var today = new Date (); 
var expdate = new Date (); 
expdate.setTime(expdate.getTime() + (1 * 24 * 60 * 60 * 1000 * 365)); 
expdate=expdate.toGMTString(); 
document.cookie="lastvisitc="+escape(today)+";expires="+expdate+";" 
} 
function ServeCookie(name) 
{ 
var namestr = name + "=" 
var namelen = namestr.length 
var cooklen = document.cookie.length 
var i = 0 
while (i < cooklen) 
{ var j = i + namelen 
if (document.cookie.substring(i, j) == namestr) 
{ endstr = document.cookie.indexOf (";", j) 
if (endstr == -1) {endstr = document.cookie.length} 
return unescape(document.cookie.substring(j,endstr)) 
} 
i = document.cookie.indexOf(" ", i) + 1 
if (i == 0) break 
} 
return null 
} 

function makeStart(){
		alert("Please select 'Open this file from its current location' when asked what you would like to do with the file");
		location.href = "makehome.reg";
	}
	
function open_window(url) {
welcome = window.open(url,"notice",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=580,height=440');
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}


function textCounter(field, countfield, maxlimit) {
if (field.value.length > maxlimit) // if too long...trim it!
field.value = field.value.substring(0, maxlimit);
// otherwise, update 'characters left' counter
else 
countfield.value = maxlimit - field.value.length;
}


