//
// file version: 25.08.2000 17:22:58
//
// thank you for looking at my source
// any suggestions? mailto:martin@fido.net

var js_Ag = window.navigator.userAgent;
var js_BVers = parseInt(js_Ag.charAt(js_Ag.indexOf("/")+1),10);
var js_Im = new Object();
var js_Act = new Object;


// setTimeout ("changePage()", 3000);

function CloseWindow() { window.close(); }

function changePage() {
		if (self.parent.frames.length != 0)
			self.parent.location=document.location;
	}

function IsIE() {
		return js_Ag.indexOf("MSIE") > 0;
	}

function IEStyle(s) {
		return document.all.tags("div")[s].style;
	}

function js_NSStyl(s) {
		return js_FindElement(s,0);
	}

function js_FindElement(n,ly) {
		if (js_BVers < 4) return document[n];
		var curDoc = ly ? ly.document : document;
		var elem = curDoc[n];
		if (!elem) {
		   for (var i=0;i<curDoc.layers.length;i++) {
			elem = js_FindElement(n,curDoc.layers[i]);
			if (elem) return elem;
		   }
		}
		return elem;
	}

function js_ClickReturn () {
		var bAgent = window.navigator.userAgent; 
		var bAppName = window.navigator.appName;
		if ((bAppName.indexOf("Explorer") >= 0) &&
		    (bAgent.indexOf("Mozilla/3") >= 0) &&
		    (bAgent.indexOf("Mac") >= 0))
		    return false; // follow link
		else return true; // follow link
	}

function js_FindElement(n,ly) {
		if (js_BVers < 4) return document[n];
		var curDoc = ly ? ly.document : document;
		var elem = curDoc[n];
		if (!elem) {
			for (var i=0;i<curDoc.layers.length;i++) {
				elem = js_FindElement(n,curDoc.layers[i]);
				if (elem) return elem;
			}
		}
		return elem;
	}

function js_IShow(n,i) {
		if (document.images) {
		    if (js_Im[n]) {
			var img = (!IsIE()) ? js_FindElement(n,0) : document[n];
			if (img) {
			    img.src = js_Im[n][i].src;
			    self.status = js_Im[n][3];
			}
			return true;
		    }
		}
		return false;
	}

function js_ILoad(im,ar) {
		if (document.images) {
			js_Im[im] = new Object();
			for (var i=0;i<3;i++) {
				if (ar[i] != '') {
					js_Im[im][i] = new Image();
					js_Im[im][i].src = ar[i];
				}
				else js_Im[im][i] = 0;
			}
			js_Im[im][3] = ar[3];
		}
	}

function js_Action(array) { 
		var result;
		for (var i=0;i<array.length;i++) {
			result = js_Act[array[i]][0](js_Act[array[i]]); 
		}
		return result;
	}

function js_SetImageURL(action) {
		var img = null;
		if (document.images) {
			if (!IsIE()) img = js_FindElement(action[1],0);
			else img = document.images[action[1]];
			if (img) img.src = action[2];
		}
	}

function js_OpenWindow(action) {
        var wf = "";    
        wf = wf + "width=" + action[3];
        wf = wf + ",height=" + action[4];
        wf = wf + ",resizable=" + (action[5] ? "yes" : "no");
        wf = wf + ",scrollbars=" + (action[6] ? "yes" : "no");
        wf = wf + ",menubar=" + (action[7] ? "yes" : "no");
        wf = wf + ",toolbar=" + (action[8] ? "yes" : "no");
        wf = wf + ",directories=" + (action[9] ? "yes" : "no");
        wf = wf + ",location=" + (action[10] ? "yes" : "no");
        wf = wf + ",status=" + (action[11] ? "yes" : "no");             
        window.open(action[1],action[2],wf);
	}

function js_FixFct() {
        var d = document; var w = window;
        if (d.js_.js_Fix.w != w.innerWidth || 
			d.js_.js_Fix.h != w.innerHeight) {
                d.location = d.location;
		}
	}

function js_NSFix(action) { 
		var d = document;
		var w = window;
    	if ((navigator.appName == 'Netscape') &&
		    (parseInt(navigator.appVersion) == 4)) {
                if (typeof d.js_ == 'undefined') {
					d.js_ = new Object;
				}
                d.js_.js_Fix = new Object;
				d.js_.js_Fix.w = w.innerWidth;
                d.js_.js_Fix.h = w.innerHeight;
				window.onresize = js_FixFct;
          }
	}

// end brorecords.js
