function height(){
// sets height of menu bar
var height=45
return(height)}

function width(){
// sets width of menu bar
var width=725
return(width)}

function iheight(){
// sets height of menu bar
var height=460
return(height)}

function iwidth(){
// sets width of menu bar
var width=100
return(width)}

function headerheight(){
// sets height of header
var hheight=60
return(hheight)}

function headerwidth(){
// sets width of header
var hwidth=725
return(hwidth)}

function footerwidth(){
// sets width of header
var hwidth=725
return(hwidth)}

function footerheight(){
// sets width of header
var hwidth=30
return(hwidth)}

function footerwidth2(){
// sets width of header
var hwidth=725
return(hwidth)}

function footerheight2(){
// sets width of header
var hwidth=100
return(hwidth)}




function insertExternalFile(fname,W,H) {
 if (navigator.appName.indexOf("Microsoft")!=-1
  || navigator.appName=="Netscape" 
     && parseInt(navigator.appVersion)>4 ) 
 {
  document.write(''
  +'<IFRAME src="'+fname+'" scrolling="no" frameborder=0 border=0'
  +(W==null ? '' : ' width='+W)
  +(H==null ? '' : ' height='+H)
  +'></IFRAME>'  )
 }
 if (navigator.appName=="Netscape" 
     && parseInt(navigator.appVersion)==4) {
  document.write(''
  +'<ILAYER>'
  +'<LAYER src="'+fname+'" '
  +(W==null ? '' : ' width='+W)
  +(H==null ? '' : ' height='+H)
  +'></LAYER></ILAYER>'
  ) } }




function showData (form, value) {
  window.currentForm = form;
  form.oldAction = form.action;
  form.oldTarget = form.target;
  form.oldMethod = form.method;
  form.action = value;
  form.target = '_top';
  form.method = 'get';
  open ('', form.target);
  form.submit();
}




function email() {
var output = ''

var name1 = "sampson"
var name2 = "41"
var domain = "talktalk.net"
document.write("<a href='mailto:" + name1 + name2 + "@" + domain + "'>")
document.write("<img src=images/email.gif height=12>")
document.write("</a>")


//Insert these lines in the page:
//<script type=text/javascript language=JavaScript><!--
//email();//--></script>
}


function webmasteremail() {var output = '';

var name1 = "kirklevington"
var name2 = "explorerscouts"
var domain = "yahoo.co.uk"
document.write("<a href='mailto:" + name1 + name2 + "@" + domain + "'>")
document.write(name1 + name2 + "@" + domain)
document.write("</a>")


//Insert these lines in the page:
//<script type=text/javascript language=JavaScript><!--
//email();//--></script>
}




function expirydate(goLiveDate,expireDate,link,linktext,desctext) {

var expireYear = expireDate.substring(0,4); var expireMonth = expireDate.slice(4,-3); var expireDay = expireDate.slice(6,-1)
var goliveYear = goLiveDate.substring(0,4); var goliveMonth = goLiveDate.slice(4,-3); var goliveDay = goLiveDate.slice(6,-1)
var nowDate = new Date();
var day = nowDate.getUTCDate();
  if (day < 10){day = "0" + day;}
var month = nowDate.getUTCMonth();
var month1 = month + 1;
  if (month1 < 10){month1 = "0" + month1;}
var year = nowDate.getYear();
var GMTdate = year + "" + month1 + "" + day
if ((GMTdate < expireDate) && (GMTdate >= goLiveDate))
{
document.write("<b><a href="+link+">"+linktext+"</a>:</b> "+desctext+". Link expires: " + expireDay + "/" + expireMonth + "/" + expireYear + "</a>.</b>")
}

else if ((GMTdate > expireDate))
{
document.write("<b>"+linktext+":</b> link expired,sorry, but you should have looked sooner")
}

}

