<!--
function go1(){
if (document.selecter1.select1.options[document.selecter1.select1.selectedIndex].value != "none") {
//location = document.selecter1.select1.options[document.selecter1.select1.selectedIndex].value
window.open(document.selecter1.select1.options[document.selecter1.select1.selectedIndex].value)
		}
	}

function go2(){
if (document.selecter2.select2.options[document.selecter2.select2.selectedIndex].value != "none") {
location = document.selecter2.select2.options[document.selecter2.select2.selectedIndex].value
		}
	}
			  
function go22(){
if (document.selecter22.select22.options[document.selecter22.select22.selectedIndex].value != "none") {
location = document.selecter22.select22.options[document.selecter22.select22.selectedIndex].value
		}
	}

function changePage() {
	if (self.parent.frames.length != 0)
		self.parent.location=document.location;
	}
	
function bookmarkthis(location,title,cssclass,bmcopy) {
	if (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion >= "4.0") {
		if (title == "") {title="document.title"}
		else {title="'"+title+"'"}
		if (location == "") {location="location.href"}
		else {location="'"+location+"'"}
  		document.write('<a href="javascript:void(0);" class="'+cssclass+'" onMouseOver="window.status='+"'Click here to add this page to your favourites'"+'; return true" onMouseOut="window.status='+"' '"+'; return true" onClick="window.external.AddFavorite('+location+','+title+');">'+bmcopy+'</a>')}
}

var kk_keyStr = "ABCDEFGHIJKLMNOP" +
                "QRSTUVWXYZabcdef" +
                "ghijklmnopqrstuv" +
                "wxyz0123456789+/" +
                "=";

function decode64(input) {
   var output = "";
   var chr1, chr2, chr3 = "";
   var enc1, enc2, enc3, enc4 = "";
   var i = 0;

   // remove all characters that are not A-Z, a-z, 0-9, +, /, or =
   var base64test = /[^A-Za-z0-9\+\/\=]/g;
   if (base64test.exec(input)) {
      return '';
   }
   input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");

   do {
      enc1 = kk_keyStr.indexOf(input.charAt(i++));
      enc2 = kk_keyStr.indexOf(input.charAt(i++));
      enc3 = kk_keyStr.indexOf(input.charAt(i++));
      enc4 = kk_keyStr.indexOf(input.charAt(i++));

      chr1 = (enc1 << 2) | (enc2 >> 4);
      chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);
      chr3 = ((enc3 & 3) << 6) | enc4;

      output = output + String.fromCharCode(chr1);

      if (enc3 != 64) {
         output = output + String.fromCharCode(chr2);
      }
      if (enc4 != 64) {
         output = output + String.fromCharCode(chr3);
      }

      chr1 = chr2 = chr3 = "";
      enc1 = enc2 = enc3 = enc4 = "";

   } while (i < input.length);

   return output;
}

function exlnennew(encoded)
{
    w = (document.all ? screen.width : screen.width) * 0.9;
    h = (document.all ? screen.height : screen.height-150) * 0.9;
    pars = 'scrollbars=yes,toolbar=yes,location=yes,directories=yes,menubar=yes,resizable=yes,status=yes,width=' + w + ',height=' + h + ',screenX=0,screenY=0,top=0,left=0';
    var url = decode64(encoded);
    com=open(url,'',pars);
}

function exlncur(url) {document.location.href=url;}

function exlnencur(url)
{
    var url = decode64(url);
    document.location.href=url;
}

var submitRolls = new Object();

function submitroll(src, oversrc, name)
{
this.src=src;
this.oversrc=oversrc;
this.name=name;
this.alt="Click here to start search";
this.write=submitroll_write;
}

function submitroll_write()
{
var thisform = 'document.forms[' + (document.forms.length - 1) + ']';
submitRolls[this.name] = new Object();
submitRolls[this.name].over = new Image();
submitRolls[this.name].over.src = this.oversrc;
submitRolls[this.name].out = new Image();
submitRolls[this.name].out.src = this.src;

document.write
	(
	'<A onMouseOver="if (document.images)document.images[\'' + this.name + "'].src=submitRolls['" + this.name + '\'].over.src"' + 
	' onMouseOut="if (document.images)document.images[\'' + this.name + "'].src=submitRolls['" + this.name + '\'].out.src"' + 
	' HREF="javascript:'
	);

if (this.sendfield)
	{
	if (! this.sendvalue)
		this.sendvalue = 1;
	document.write(thisform, ".elements['", this.sendfield, "'].value='", this.sendvalue, "';");
	}

document.write(thisform + '.submit();void(0);"');
if (this.msg)document.write(' onClick="return confirm(\'' , this.msg, '\')"');
document.write('>');

document.write('<IMG SRC="' + this.src + '" ALT="' + this.alt + '" BORDER=0 NAME="' + this.name + '"');
if (this.height)document.write(' HEIGHT=' + this.height);
if (this.width)document.write(' WIDTH='  + this.width);
if (this.otheratts)document.write(' ' + this.otheratts);
document.write('></A>');
if (this.sendfield)
	{
	document.write('<INPUT TYPE=HIDDEN NAME="' + this.sendfield + '">');
	document.forms[document.forms.length - 1].elements[this.sendfield].value='';
	}
}
//-->