<!--

var loadDoneloc = false;
var zoom_txt = new Array();
zoom_txt[0] = "	The only opinion that will matter at the end of your life is your own.<br>Dare to drive yourself away from your fear of how you will look in the eyes of anothers<br>and do the things that will make you look great in your own.<br>Dare to live with passion. The world is waiting for the flower of you soul to bloom.<br>It is in your power to create a life with deep satisfaction.<br>It is in your power to create a life with meaning.<br>If you get in to the passion of your life, the passions of your life will fill you.<br>That is the secret of a full life.";

var W3C=DOM=!!document.getElementById;
var NS6=(navigator.userAgent.indexOf("Gecko")!=-1);
var IE4=!!(document.all && !W3C);
var NS4=!!document.layers;
var Mac=(navigator.appVersion.indexOf("Mac")!=-1);
var IEMac = (W3C && Mac && document.all);

function f_GetElement(obid){
	return W3C?document.getElementById((obid)):
		IE4?document.all[(obid)]:
		NS4?document[(obid)]:false;
}

function f_GetElementStyle(obid) {
	return W3C?document.getElementById((obid)).style:
		IE4?document.all[(obid)].style:
		NS4?document.layers[obid]:false;
}

function f_addEvent(obj, evType, fn, capture) {
	if (obj.addEventListener) {
		obj.addEventListener(evType, fn, capture)
		return true;
	} else if (obj.attachEvent) {
		var r = obj.attachEvent("on"+evType, fn);
		return r;
	} else {
		return false;
	}
}

function f_HideElement() {
	var args = f_HideElement.arguments;
	var n = args.length;
	for (i=0; i < n; i++) {
		var styleObj = f_GetElementStyle(args[i]);
		if (styleObj) styleObj.visibility = hidden;
	}
}

function f_ShowElement() {
	var args = f_ShowElement.arguments;
	var n = args.length;
	for (i=0; i < n; i++) {
		var styleObj = f_GetElementStyle(args[i]);
		if (styleObj) styleObj.visibility = visible;
	}
}

function f_ShowHideElement() {
	var args = f_ShowHideElement.arguments;
	var n = args.length;
	for (i=0; i < n; i++) {
		var styleObj = f_GetElementStyle(args[i]);
		if (styleObj) (styleObj.visibility == visible) ? styleObj.visibility = hidden : styleObj.visibility = visible;
	}
}

function ZoomTxt(num,name,txt) {
	this.fontsize = 2;
	this.html = txt;
	this.zoom = false;
	this.memIn = 0;
	this.memOut = 0;	
	this.element = f_GetElement(name);
	this.css = f_GetElementStyle(name);
	if (!(f_addEvent(this.element, "mouseover", eval("f_zoomIn"+num), true) && f_addEvent(this.element, "mouseout", eval("f_zoomOut"+num), true))) {
		this.element.onmouseover = eval("f_zoomIn"+num);
		this.element.onmouseout = eval("f_zoomOut"+num);
	}
}

var zoomOb = new Array();

function init_loc() {
	zoomOb[0] = new ZoomTxt(0,"zoomtxt0",zoom_txt[0]);
	loadDoneloc = true;
}

function f_Zoom(index, zoom) {
	zoomOb[index].zoom = (zoom) ? true : false;
	zoom ? f_ZoomIn(index): f_ZoomOut(index);
}

function f_zoomIn0() { if (loadDoneloc) f_Zoom(0,true); }
function f_zoomOut0() { if (loadDoneloc) f_Zoom(0,false); }

function f_zoomIn1() { if (loadDoneloc) f_Zoom(1,true); }
function f_zoomOut1() { if (loadDoneloc) f_Zoom(1,false); }

function f_zoomIn2() { if (loadDoneloc) f_Zoom(2,true); }
function f_zoomOut2() { if (loadDoneloc) f_Zoom(2,false); }

function f_zoomIn3() { if (loadDoneloc) f_Zoom(3,true); }
function f_zoomOut3() { if (loadDoneloc) f_Zoom(3,false); }

function f_zoomIn4() { if (loadDoneloc) f_Zoom(4,true); }
function f_zoomOut4() { if (loadDoneloc) f_Zoom(4,false); }

function f_zoomIn5() { if (loadDoneloc) f_Zoom(5,true); }
function f_zoomOut5() { if (loadDoneloc) f_Zoom(5,false); }


var zoomOb = new Array();

function f_ZoomIn(index) {
	if (zoomOb[index].fontsize < 10) zoomOb[index].fontsize++;
	
	f_ChangeSize(zoomOb[index]);
	
	if (zoomOb[index].zoom && zoomOb[index].fontsize < 10) {
		if (zoomOb[index].memOut != 0) clearTimeout(zoomOb[index].memOut);
		zoomOb[index].memIn = setTimeout("f_ZoomIn("+index+")",30);
	}
}

function f_ZoomOut(index) {
	if (zoomOb[index].fontsize > 2) zoomOb[index].fontsize--;
	
	f_ChangeSize(zoomOb[index]);
	
	if (!zoomOb[index].zoom && zoomOb[index].fontsize > 2) { 
		if (zoomOb[index].memIn != 0) clearTimeout(zoomOb[index].memIn);
		zoomOb[index].memOut = setTimeout("f_ZoomOut("+index+")",30);
	}
}

function f_ChangeSize(zOb) {
	if (NS4) {
		zOb.css.document.write("<table border=\"0\" width=\""+f_GenerateWidth(zOb.fontsize)+"\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"txs"+zOb.fontsize+"\">"+zOb.html+"</td></tr></table>");
		zOb.css.document.close();
	} else if (W3C || IE4) {
		zOb.css.color = "#999999"
		zOb.css.width = f_GenerateWidth(zOb.fontsize)+"px";
		zOb.css.fontSize = zOb.fontsize+"px";
	}
}

function f_GenerateWidth(fontsize) {
	return (100 + ((fontsize-2)*26));
}

//-->
