var xpetehighlight_css_color=		'#ffffff';
var xpetehighlight_css_backgroundcolor=	'#006f51';

	 // !!xpete script designed by Peter Schmidt for Tim Fazekas. If you wish you to use this script, contact Peter at colr3ality@hotmail.com. 
	 // If you choose to use this, leave these lines. Don't take credit for something you didn't do.
	//	!! the lower the number, the smoother the fade animations, but more client cpu.
var framewait=	33;

var windowlocation='';
function xpete(){

	if(typeof(xpetehighlight_css_backgroundcolor)!='string')xpetehighlight_css_backgroundcolor='#000000';
	if(typeof(xpetehighlight_css_color)!='string')xpetehighlight_css_color='#ffffff';
	var o=new Object();
	var p=new Object();
	var div=new Object();
	var textnode='';
	var node='';
	var nodes=new Array();
	var linknodes=new Array();
	if(document.getElementsByClassName)var toolbars=document.getElementsByClassName('xpete_menutoolbar');
	else var toolbars=getElementsByClassName('xpete_menutoolbar');
	var b=0;
	var f=0;
	var v=0;
	for(var a=0;a<toolbars.length;a++){
		toolbars[a].style.margin='0px';
		toolbars[a].style.padding='0px';
		toolbars[a].style.borderWidth='0px';
		toolbars[a].style.outlineWidth='0px';

		toolbars[a].elements=toolbars[a].childNodes;
		for(b=0;b<toolbars[a].elements.length;b++){
			o=toolbars[a].elements[b];
			if(o.nodeName){
				if(o.nodeName.toLowerCase()=='div'||o.nodeName.toLowerCase()=='a'){
					for (var x=0;x<o.childNodes.length;x++){
						if(o.childNodes[x].nodeName){
							if(o.childNodes[x].nodeName.toLowerCase()=='#text'){
								if(typeof(o.childNodes[x].nodeValue.match(/.+/g))!='null'){
									textnode=o.childNodes[x].nodeValue.replace(/\s+/g,' ');
									x=o.childNodes.length;
									}
								}
							}
						}
					if(textnode)node=textnode.toLowerCase().replace(/\W/g,'');
					else	node='';
					if(node=='')node='node'+v;
					while(toolbars[a][node]){
						v++;
						node='node'+v;
						}
					nodes[nodes.length]=node;
					toolbars[a][node]=document.createElement('a');
					toolbars[a][node].textnode=textnode;
					toolbars[a][node].href='javascript:end();';
					toolbars[a][node].setAttribute('class','blankslate');
					toolbars[a][node].setAttribute('className','blankslate');
					toolbars[a][node].style.margin='0px';
					toolbars[a][node].style.paddingLeft='0px';
					toolbars[a][node].style.paddingTop='1px';
					toolbars[a][node].style.paddingRight='0px';
					toolbars[a][node].style.paddingBottom='2px';
					toolbars[a][node].style.borderWidth='0px';
					toolbars[a][node].style.outlineWidth='0px';
					toolbars[a][node].style.borderLeftWidth='0px';
					toolbars[a][node].style.borderRightWidth='0px';
					toolbars[a][node].style.borderTopWidth='0px';
					toolbars[a][node].style.borderBottomWidth='1px';

					toolbars[a][node].link=document.createElement('a');
					toolbars[a][node].link.setAttribute('class','xpete_button');
					toolbars[a][node].link.setAttribute('className','xpete_button');
					toolbars[a][node].link.innerHTML=textnode;
					toolbars[a][node].appendChild(toolbars[a][node].link);

					if(o.nodeName.toLowerCase()=='a'){
						if(o.href.toLowerCase().slice(0,11)=='javascript:'){
							toolbars[a][node].onclick=new Function(o.href.slice(11));
							}
						else	{
							toolbars[a][node].onclick=new Function(
								'windowlocation="'+o.href+'";'+
								'window.location=windowlocation;'+
								'');
							}
						}
					else	{
						toolbars[a][node].link.div=getelements(o);
						adddropshadow(toolbars[a][node].link.div);
						toolbars[a][node].link.div.xpeteparent=toolbars[a][node].link;
						document.body.appendChild(toolbars[a][node].link.div);
						toolbars[a][node].link.onclick=toolbars[a][node].link.div.show;
						}
					v++;
					}
				}
			toolbars[a].elements[b].inneHTML='';
			}
		toolbars[a].innerHTML='';
		var it=document.createElement('div');
		it.setAttribute('class','xpete_button');
		it.setAttribute('className','xpete_button');
		it.style.color='transparent';
		it.style.backgroundColor='transparent';
		it.style.display='inline-block';
		document.body.appendChild(it);
		for(var x=0;x<nodes.length;x++){
			toolbars[a].appendChild(toolbars[a][nodes[x]]);
			toolbars[a][nodes[x]].style.width=(100/nodes.length)+'%';
			}
		document.body.removeChild(it);
		}

	function getelements(o,l){
		if(!l)var l=111;
		var textnode='';
		var node=''
		var nodes=new Array();
		var linknodes=new Array();
		var div=document.createElement('div');
		div.setAttribute('class','xpete_menu');
		div.setAttribute('className','xpete_menu');
		div.style.zIndex=parseInt(l);
		div.show=prototypeshow;
		div.show2=prototypeshow2;
		div.hide=prototypehidexpete;
		div.style.MozOpacity=0;
		div.style.opacity=0;
		div.style.KhtmlOpacity=0;
		div.style.filter="alpha(opacity=0)";
		div.fadein=prototypefadein;
		div.fadeout=prototypefadeout;
		var k=0;
		var i=0;

		o.elements=o.childNodes;
		for(var x=0;x<o.elements.length;x++){
			if(o.elements[x].nodeName){
				if(o.elements[x].nodeName.toLowerCase()=='div'||o.elements[x].nodeName.toLowerCase()=='a'){
					for (var q=0;q<o.elements[x].childNodes.length;q++){
						if(o.elements[x].childNodes[q].nodeName){
							if(o.elements[x].childNodes[q].nodeName.toLowerCase()=='#text'){
								if(typeof(o.elements[x].childNodes[q].nodeValue.match(/\w+/))!='null'){
									textnode=o.elements[x].childNodes[q].nodeValue.replace(/\s+/g,' ');
									q=o.elements[x].childNodes.length;
									}
								}
							}
						}
					if(textnode)node=textnode.toLowerCase().replace(/\W/g,'');
					else	node='';
					if(node=='')node='node'+i;
					while(div[node]){
						i++;
						node='node'+i;
						}
					nodes[nodes.length]=node;
					div[node]=document.createElement('a');
					div[node].textnode=textnode;
					div[node].href='javascript:end();';
					if(o.elements[x].nodeName.toLowerCase()=='a'){
						div[node].innerHTML=textnode;
						div[node].setAttribute('class','xpete_link');
						div[node].setAttribute('className','xpete_link');
						if(o.elements[x].href.toLowerCase().slice(0,11)=='javascript:'){
							div[node].onclick=new Function(o.elements[x].href.slice(11));
							}
						else	{
							div[node].onclick=new Function(
								'windowlocation="'+o.elements[x].href+'";'+
								'window.location=windowlocation;'+
								'');
							}
						}
					else	{
						if(document.all){
							div[node].setAttribute('class','xpete_link xpete_cascade_ie');
							div[node].setAttribute('className','xpete_link xpete_cascade_ie');
							}
						else	{
							div[node].setAttribute('class','xpete_link xpete_cascade');
							div[node].setAttribute('className','xpete_link xpete_cascade');
							}
						div[node].innerHTML=textnode+'&nbsp; &nbsp;';
						div[node].div=getelements(o.elements[x],(l+1));
						adddropshadow(div[node].div);
						div[node].div.xpeteparent=div[node];
						document.body.appendChild(div[node].div);
						div[node].onclick=div[node].div.show2;
						}
					div.appendChild(div[node]);
					i++;
					}
				}
			else	{
				o.removeChild(o.elements[x]);
				}
			}
		for(var x=0;x<nodes.length;x++){
			div.appendChild(div[nodes[x]]);
			}
		for(var x=0;x<linknodes.length;x++){
			div.appendChild(div[linknodes[x]]);
			}
		return div;
		}

	function adddropshadow(o){
		if(!o)var o=this;
		if(!document.all)if(typeof(o)=='object'){
				if(o.nodeName){
				var dropshadow=new Object();
				dropshadow.a=document.createElement('div');
				o.style.overflow='visible';
				dropshadow.a.style.overflow='visible';
				dropshadow.a.style.position='absolute';
				dropshadow.a.style.left='-9px';
				dropshadow.a.style.top='0px';
				dropshadow.a.style.display='block';
				dropshadow.a.style.float='left';
				dropshadow.a.style.height='100%';
				dropshadow.a.style.width='9px';
				dropshadow.a.style.backgroundImage='url(xpete_graphix/ds1_ls11x1.png)';
				dropshadow.a.style.backgroundPosition='top right';
				dropshadow.a.style.backgroundRepeat='repeat-y';
				if(o.childNodes[0])o.insertBefore(dropshadow.a,o.childNodes[0]);
				else o.appendChild(dropshadow.a);
				dropshadow.b=document.createElement('div');
				dropshadow.b.style.overflow='visible';
				dropshadow.b.style.position='absolute';
				dropshadow.b.style.left='-9px';
				dropshadow.b.style.top='-9px';
				dropshadow.b.style.display='block';
				dropshadow.b.style.float='left';
				dropshadow.b.style.height='9px';
				dropshadow.b.style.width='9px';
				dropshadow.b.style.backgroundImage='url(xpete_graphix/ds1_tlc11x11.png)';
				dropshadow.b.style.backgroundPosition='bottom right';
				dropshadow.b.style.backgroundRepeat='no-repeat';
				if(o.childNodes[0])o.insertBefore(dropshadow.b,o.childNodes[0]);
				else o.appendChild(dropshadow.b);
				dropshadow.c=document.createElement('div');
				dropshadow.c.style.overflow='visible';
				dropshadow.c.style.position='absolute';
				dropshadow.c.style.left='0px';
				dropshadow.c.style.top='-9px';
				dropshadow.c.style.display='block';
				dropshadow.c.style.float='top';
				dropshadow.c.style.height='9px';
				dropshadow.c.style.width='100%';
				dropshadow.c.style.backgroundImage='url(xpete_graphix/ds1_ts1x11.png)';
				dropshadow.c.style.backgroundPosition='bottom right';
				dropshadow.c.style.backgroundRepeat='repeat-x';
				if(o.childNodes[0])o.insertBefore(dropshadow.c,o.childNodes[0]);
				else o.appendChild(dropshadow.c);
				dropshadow.d=document.createElement('div');
				dropshadow.d.style.overflow='visible';
				dropshadow.d.style.position='absolute';
				dropshadow.d.style.left='100%';
				dropshadow.d.style.top='-9px';
				dropshadow.d.style.display='block';
				dropshadow.d.style.float='right';
				dropshadow.d.style.height='9px';
				dropshadow.d.style.width='11px';
				dropshadow.d.style.backgroundImage='url(xpete_graphix/ds1_trc13x11.png)';
				dropshadow.d.style.backgroundPosition='bottom left';
				dropshadow.d.style.backgroundRepeat='no-repeat';
				if(o.childNodes[0])o.insertBefore(dropshadow.d,o.childNodes[0]);
				else o.appendChild(dropshadow.d);
				dropshadow.e=document.createElement('div');
				dropshadow.e.style.overflow='visible';
				dropshadow.e.style.position='absolute';
				dropshadow.e.style.left='100%';
				dropshadow.e.style.top='0px';
				dropshadow.e.style.display='block';
				dropshadow.e.style.float='right';
				dropshadow.e.style.height='100%';
				dropshadow.e.style.width='11px';
				dropshadow.e.style.backgroundImage='url(xpete_graphix/ds1_rs13x1.png)';
				dropshadow.e.style.backgroundPosition='bottom left';
				dropshadow.e.style.backgroundRepeat='repeat-y';
				if(o.childNodes[0])o.insertBefore(dropshadow.e,o.childNodes[0]);
				else o.appendChild(dropshadow.e);
				dropshadow.f=document.createElement('div');
				dropshadow.f.style.overflow='visible';
				dropshadow.f.style.position='absolute';
				dropshadow.f.style.left='100%';
				dropshadow.f.style.top='100%';
				dropshadow.f.style.display='block';
				dropshadow.f.style.float='right';
				dropshadow.f.style.height='11px';
				dropshadow.f.style.width='11px';
				dropshadow.f.style.backgroundImage='url(xpete_graphix/ds1_brc13x13.png)';
				dropshadow.f.style.backgroundPosition='top left';
				dropshadow.f.style.backgroundRepeat='no-repeat';
				if(o.childNodes[0])o.insertBefore(dropshadow.f,o.childNodes[0]);
				else o.appendChild(dropshadow.f);
				dropshadow.g=document.createElement('div');
				dropshadow.g.style.overflow='visible';
				dropshadow.g.style.position='absolute';
				dropshadow.g.style.left='0px';
				dropshadow.g.style.top='100%';
				dropshadow.g.style.display='block';
				dropshadow.g.style.float='bottom';
				dropshadow.g.style.height='11px';
				dropshadow.g.style.width='100%';
				dropshadow.g.style.backgroundImage='url(xpete_graphix/ds1_bs1x13.png)';
				dropshadow.g.style.backgroundPosition='top right';
				dropshadow.g.style.backgroundRepeat='repeat-x';
				if(o.childNodes[0])o.insertBefore(dropshadow.g,o.childNodes[0]);
				else o.appendChild(dropshadow.g);
				dropshadow.h=document.createElement('div');
				dropshadow.h.style.overflow='visible';
				dropshadow.h.style.position='absolute';
				dropshadow.h.style.left='-9px';
				dropshadow.h.style.top='100%';
				dropshadow.h.style.display='block';
				dropshadow.h.style.float='left';
				dropshadow.h.style.height='11px';
				dropshadow.h.style.width='9px';
				dropshadow.h.style.backgroundImage='url(xpete_graphix/ds1_blc11x13.png)';
				dropshadow.h.style.backgroundPosition='top right';
				dropshadow.h.style.backgroundRepeat='no-repeat';
				if(o.childNodes[0])o.insertBefore(dropshadow.h,o.childNodes[0]);
				else o.appendChild(dropshadow.h);
				return dropshadow;
				}
			}
		}

	function prototypeshow(){
		if(document.all)document.body.onmousedown=prototypehidexpete;
		else window.onmousedown=prototypehidexpete;
		this.div.hide();
		this.div.style.left=getPosX(this)+'px';
		this.div.style.top=(getPosY(this)+this.offsetHeight+2)+'px';
		this.div.style.display='block';
		this.div.fadein();
		this.style.color=xpetehighlight_css_color;
		this.style.backgroundColor=xpetehighlight_css_backgroundcolor;
		}
	function prototypeshow2(){
		if(document.all)document.body.onmousedown=prototypehidexpete;
		else window.onmousedown=prototypehidexpete;
		this.div.hide();
		var x=getPosX(this)-3;
		var y=(getPosY(this)-(parseInt(getcssvalue(this.parentNode,'padding-top'))+parseInt(getcssvalue(this.parentNode,'margin-top'))));
		this.div.style.left=(x+this.offsetWidth)+'px';
		this.div.style.top=y+'px';
		this.style.color=xpetehighlight_css_color;
		this.style.backgroundColor=xpetehighlight_css_backgroundcolor;
		this.div.style.display='block';
		this.div.fadein();
		var w=this.div.offsetWidth;
		var h=this.div.offsetHeight;
		if(window.innerWidth){
			var ww=window.innerWidth;
			var wh=window.innerHeight;
			}
		else	{
			var ww=document.body.clientWidth;
			var wh=document.body.clientHeight;
			}

		if((x+w+this.offsetWidth)<ww)this.div.style.left=(x+this.offsetWidth)+'px';
		else	{
			if((x-w)>0)this.div.style.left=(x-w)+'px';
			else this.div.style.left=x+'px';
			}
		if((y+h)<wh)this.div.style.top=y+'px';
		else	{
			if(((y+this.offsetHeight)-h)>0)this.div.style.top=((y+this.offsetHeight)-h)+'px';
			else this.div.style.top=(y+2)+'px';
			}
		}
	}

var xpete_menuclickdebouncetime=false;
function prototypehidexpete(e){
	if(xpete_menuclickdebouncetime==false){
		xpete_menuclickdebouncetime=true;
		window.setTimeout('xpete_menuclickdebouncetime=false;',33);
		var no=new Array();
		var obj='';
		var hf='xpetefunc'+handle();
		while(window[hf])hf='xpetefunc'+handle();
		window[hf]=new Function();
		if(typeof(event)!='undefined')obj=event.srcElement;
		if(typeof(e)!='undefined')obj=e.target;
		if(!obj)obj=this;
		if(obj.className){
			while(obj.parentNode){
				if(obj.className.toLowerCase()=='xpete_menu'){
					no[no.length]=obj;
					}
				if(typeof(obj.xpeteparent)!='undefined')obj=obj.xpeteparent;
				else obj=obj.parentNode;
				}
			}
		if(document.getElementsByClassName)var o=document.getElementsByClassName('xpete_menu');
		else var o=getElementsByClassName('xpete_menu');
		var error=false;
		for(var x=0;x<o.length;x++){
			error=false;
			for(var f=0;f<no.length;f++)if(o[x]==no[f])error=true;
			if(error==false){
				if(o[x].fadeout)o[x].fadeout(new Function('this.style.display="none";'));
				else o[x].style.display='none';
				o[x].xpeteparent.style.backgroundColor='';
				o[x].xpeteparent.style.color='';
				}
			}
		}
	}

function prototypefadein(func){
	var o=this;
	if(!o.handle)o.handle=handle();
	var hf='xpetefunc'+handle();
	while(o[hf])hf='xpetefunc'+handle();
	o[hf]=new Function();
	if(func)if(typeof(func)=='function')o[hf]=func;
	o.theta=(o.style.MozOpacity)?o.style.MozOpacity:(o.style.opacity)?o.style.opacity:(o.style.khtmlOpacity)?o.style.khtmlOpacity:(o.style.filter)?0:0;
	runtime.functions[o.handle]=new Function();
	runtime.functions[o.handle].object=o;
	runtime.functions[o.handle].runonce=true;
	runtime.functions[o.handle].anonymous=new Function(
		'if(this.object.theta>=1){'+
			'this.object.theta=1;'+
			'this.object.style.MozOpacity=1;'+
			'this.object.style.opacity=1;'+
			'this.object.style.KhtmlOpacity=1;'+
			'this.object.style.filter="alpha(opacity=100)";'+
			'if(this.runonce==true){this.object.'+hf+'();runonce=false;}'+
			'delete runtime.functions[this.object.handle];'+
			'}'+
		'else	{'+
			'this.object.style.MozOpacity=this.object.theta;'+
			'this.object.style.opacity=this.object.theta;'+
			'this.object.style.KhtmlOpacity=this.object.theta;'+
			'this.object.style.filter="alpha(opacity="+Math.round(this.object.theta*100)+")";'+
			'this.object.theta=(this.object.theta*1+runtime.time*5);'+
			'}'+
		'');
	if(runtime.timeout==0){
		runtime.functions.date=new Date();
		runtime();
		}
	}

function prototypefadeout(func){
	
	var o=this;
	if(!o.handle)o.handle=handle();
	var hf='xpetefunc'+handle();
	while(o[hf])hf='xpetefunc'+handle();
	o[hf]=new Function();
	if(func)if(typeof(func)=='function')o[hf]=func;
	o.theta=(o.style.MozOpacity)?o.style.MozOpacity:(o.style.opacity)?o.style.opacity:(o.style.khtmlOpacity)?o.style.khtmlOpacity:(o.style.filter)?1:1;
	runtime.functions[o.handle]=new Function();
	runtime.functions[o.handle].object=o;
	runtime.functions[o.handle].runonce=true;
	runtime.functions[o.handle].anonymous=new Function(
		'if(this.object.theta<=0){'+
			'this.object.theta=0;'+
			'this.object.style.MozOpacity=0;'+
			'this.object.style.opacity=0;'+
			'this.object.style.KhtmlOpacity=0;'+
			'this.object.style.filter="alpha(opacity=0)";'+
			'if(this.runonce==true){this.object.'+hf+'();runonce=false;}'+
			'delete runtime.functions[this.object.handle];'+
			'}'+
		'else	{'+
			'this.object.style.MozOpacity=this.object.theta;'+
			'this.object.style.opacity=this.object.theta;'+
			'this.object.style.KhtmlOpacity=this.object.theta;'+
			'this.object.style.filter="alpha(opacity="+Math.round(this.object.theta*100)+")";'+
			'this.object.theta-=(runtime.time*3);'+
			'}'+
		'');
	if(runtime.timeout==0){
		runtime.functions.date=new Date();
		runtime();
		}
	}
handle.i=1;
function handle(){
	handle.h='';
	for(x=0;Math.pow(26,x)<=handle.i;x++){
		handle.h=handle.h+String.fromCharCode((Math.round((handle.i/Math.pow(26,x))-.5))%26+97);
		}
	if(handle.h!=''){
		if(typeof(window[handle.h])!='undefined'){
			handle.i++;
			handle.h=handle();
			}
		handle.i++;
		return handle.h;
		}
	}
function runtime(){
	runtime.elapsed=runtime.functions.date.getMilliseconds();
	runtime.functions.date=new Date();
	runtime.time=runtime.functions.date.getMilliseconds()-runtime.elapsed;
	runtime.time=(runtime.time<0)?(runtime.time+1000)/1000:runtime.time/1000;
	for (var property in runtime.functions) {
		if(typeof(runtime.functions[property])=='function'&&runtime.functions[property].anonymous){
			runtime.functions[property].anonymous();
			runtime.x++;
			}
		}
	if(runtime.x>0){
		runtime.x=0;
		runtime.timeout=window.setTimeout('runtime();',framewait);
		}
	else runtime.timeout=0;
	}
runtime.date=new Date();
runtime.x=0;
runtime.functions=new Function();
runtime.events=new Function();
runtime.timeout=0;

function getPosX(obj,c) {
	if(typeof(obj)=='object'){
		c=obj.offsetLeft;
		while (obj.offsetParent) {
			obj = obj.offsetParent;
			c += obj.offsetLeft;
			}
		}
	else	{
		c=0;
		}
	return c;
	}

function getPosY(obj,c) {
	if(typeof(obj)=='object'){
		c=obj.offsetTop;
		while (obj.offsetParent) {
			obj = obj.offsetParent;
			c += obj.offsetTop;
			}
		}
	else	{
		c=0;
		}
	return c;
	}
var getElementsByClassName = function (className, tag, elm){
	if (document.getElementsByClassName) {
		getElementsByClassName = function (className, tag, elm) {
			elm = elm || document;
			var elements = elm.getElementsByClassName(className),
				nodeName = (tag)? new RegExp("\\b" + tag + "\\b", "i") : null,
				returnElements = [],
				current;
			for(var i=0, il=elements.length; i<il; i+=1){
				current = elements[i];
				if(!nodeName || nodeName.test(current.nodeName)) {
					returnElements.push(current);
					}
				}
			return returnElements;
			};
		}
	else if (document.evaluate) {
		getElementsByClassName = function (className, tag, elm) {
			tag = tag || "*";
			elm = elm || document;
			var classes = className.split(" "),
				classesToCheck = "",
				xhtmlNamespace = "http://www.w3.org/1999/xhtml",
				namespaceResolver = (document.documentElement.namespaceURI === xhtmlNamespace)? xhtmlNamespace : null,
				returnElements = [],
				elements,
				node;
			for(var j=0, jl=classes.length; j<jl; j+=1){
				classesToCheck += "[contains(concat(' ', @class, ' '), ' " + classes[j] + " ')]";
			}
			try	{
				elements = document.evaluate(".//" + tag + classesToCheck, elm, namespaceResolver, 0, null);
			}
			catch (e) {
				elements = document.evaluate(".//" + tag + classesToCheck, elm, null, 0, null);
			}
			while ((node = elements.iterateNext())) {
				returnElements.push(node);
				}
				return returnElements;
			};
		}
	else {
		getElementsByClassName = function (className, tag, elm) {
			tag = tag || "*";
			elm = elm || document;
			var classes = className.split(" "),
				classesToCheck = [],
				elements = (tag === "*" && elm.all)? elm.all : elm.getElementsByTagName(tag),
				current,
				returnElements = [],
				match;
			for(var k=0, kl=classes.length; k<kl; k+=1){
				classesToCheck.push(new RegExp("(^|\\s)" + classes[k] + "(\\s|$)"));
				}
			for(var l=0, ll=elements.length; l<ll; l+=1){
				current = elements[l];
				match = false;
				for(var m=0, ml=classesToCheck.length; m<ml; m+=1){
					match = classesToCheck[m].test(current.className);
					if (!match) {
						break;
						}
					}
				if (match) {
					returnElements.push(current);
					}
				}
			return returnElements;
			};
		}
	return getElementsByClassName(className, tag, elm);
	};
function getcssvalue(obj, CssProperty){
	if(obj.currentStyle)return obj.currentStyle[CssProperty.replace(/\-(.)/g, function(m, l){return l.toUpperCase()})];
	else if (window.getComputedStyle)return window.getComputedStyle(obj, "").getPropertyValue(CssProperty);
	}
function end(){
	}
window.onload=xpete;
document.onload=xpete;