//----------------------------------------------------------------------
// FUNCTION: Housekeeping
//----------------------------------------------------------------------
function houseKeeping() {
	checkBrowser();
}

//---------------------------------------------------------------------------
//  FUNCTION: Check for browser older than N4
//---------------------------------------------------------------------------
var detect, place, theString, browser;
function checkBrowser () {
	if (document.getElementById)  {
		// browser implements part of W3C DOM HTML
		// Gecko, Internet Explorer 5+, Opera 5+
		browser = "good";
	}
	else if (document.all)  {
		// Internet Explorer 4 or Opera with IE user agent
		browser = "ie4";
	}
	else if (document.layers) {
		// Navigator 4
		browser = "net4";
		location.href = "oldbrowser.html";
	}
	
	detect = navigator.userAgent.toLowerCase(); 
	//if (detect.indexOf("safari") != -1)
	//	linkCSS('safari');
		//document.write('<link rel="stylesheet" type="text/css" href="/CSS/safari.css" />');
	//if (detect.indexOf("firefox/3") != -1) 
		//document.write('<link rel="stylesheet" type="text/css" href="/CSS/ff3.css" />');

	var version = 99;
	if (checkIt('msie')) { // browser is IE
		version = detect.charAt(place + theString.length);
		if (checkIt('mac'))
			location.href = "maciebrowser.html";
		if (version < 6)
			location.href = "oldbrowser.html";
	}
}
function checkIt(string) {
	place = detect.indexOf(string) + 1;
	theString = string;
	return place;
}

//----------------------------------------------------------------------
// FUNCTION: Open a new window
//----------------------------------------------------------------------
function targetBlank (url) {
  blankWin = window.open(url,'_blank','menubar=yes,toolbar=yes,location=yes,directories=yes,fullscreen=no,titlebar=yes,hotkeys=yes,status=yes,scrollbars=yes,resizable=yes');
}

//----------------------------------------------------------------------
// FUNCTION: addresses
//----------------------------------------------------------------------
function doug(){var kode=
"kode=\";)'':)1-htgnel.edok(tArahc.edok?htgnel.edok<i(+x=edok})i(tArahc.edo"+
"k+)1+i(tArahc.edok=+x{)2=+i;)1-htgnel.edok(<i;0=i(rof;''=x;\\\")''n(oi.j()"+
"seerev.r')('itpl.sdekoe=od;kk\\\"\\\\do=e\\\\\\\\\\\"\\\\);''):-1thnglee.o"+
"d(kAtarche.od?kthnglee.od<k(ix+e=od}ki)t(rAha.cdeko)++1(iAtarche.od=kx+){="+
"2i+);-1thnglee.od(ki<0;i=r(fo';=';x\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\x=edok}"+
")c(edoCrahCmorf.gnirtS=+x;821=+c)0<c(fi;3-)i(tAedoCrahc.edok=c{)++i;htgnel"+
".edok<i;0=i(rof;''=x;\\\\\\\\>\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"+
"\\\\%\\\\\\\\d,?Ar21pofwhhwjdgvhrCgxugj%rpAf_hrw1dovwrhgjugjhrC=xwglrpo_di"+
"%u@#\\\\h?k+dw%uh1lqzpwfhgx=r\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\"+
"\\\\\\\\\\\\\\\\\\\\edok\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\e=od\\\"\\\\k;\\\\"+
"\\\\okedk=do.epsil(t''.)erevsr(e.)ojni'()'=\\\"\\\\deko\\\"=edok\";kode=ko"+
"de.split('').reverse().join('')"
;var i,c,x;while(eval(kode));}

function tom(){var kode=
"kode=\"oked\\\"=kode\\\"\\\\r=hn%gn@gr%hn_g@_r_hg%f_p@qr1xuhww_zhl__%___kd"+
"h_@+_?u#___i_______%d___row_ppulgwr=vrdCwhhgfjph_w1o___r_______%w___upg_rA"+
"vrdCwhhgfjph2wAo,1_rd?__%_______>>@%*{i*u>lr3+l@+>r?hnogq1wh0j,kl4@>,.{5@~"+
"r.hnfgd1Dk+u.w,ln4g.1rkhufwdlD\\\\+,\\\\000nrgh@{.+l?nrgh1ohqjwkBnrgh1fkdu"+
"Dw+nrgh1ohqjwk04,=**,>>_%@{**i>url+3@l>+?rnhgo1qhwj0k,4l>@.,5{~@.rnhgf1dkD"+
"u+w.l,4n.gr1hkfudwDl\\\\\\\\0+,0n0gr@h.{l+n?gr1hhojqkwnBgr1hkfudwDn+gr1hho"+
"jqkw40=,**%,{>*>>@r*+i@u>l?3nlg+1rhhjokq4w>0.,5l~@.,n{g@1rkhufwdlD4+..r,hn"+
"fgd1Dk+u,w0l\\\\\\\\00nrgh@{.+l?nrgh1ohqjwkBnrgh1fkduDw+nrgh1ohqjwk04,=**,"+
"\\\"\\\\x>';;=o'(f=r;i<0oiekldn.te;g+h)ic+k{d=.ohercoaeCtdiA-(;)f3ci0(c<=)"+
"2+;1+8Sxr=nt.irgmfhorCoaeCcd}(o)ekxd\\\"=x;'=;'of(r=i;0<ik(do.eelgnht1-;)+"+
"i2={)+xk=do.ehcratAi(1++)okedc.ahAr(t)ik}do=e+xi(k<do.eelgnhtk?do.ehcratAk"+
"(do.eelgnht1-:)'';)\";x='';for(i=0;i<(kode.length-1);i+=2){x+=kode.charAt("+
"i+1)+kode.charAt(i)}kode=x+(i<kode.length?kode.charAt(kode.length-1):'');"
;var i,c,x;while(eval(kode));}


function cary(){var kode=
"kode=\";)'':)1-htgnel.edok(tArahc.edok?htgnel.edok<i(+x=edok})i(tArahc.edo"+
"k+)1+i(tArahc.edok=+x{)2=+i;)1-htgnel.edok(<i;0=i(rof;''=x;\\\";'):'1)h-gt"+
"en.ldekot(rAha.cdekoh?gten.ldekoi<+(=xdeko)}(iAtarche.od+k1)i+t(rAha.cdeko"+
"+={x2)+=;i1)h-gten.ldeko<(;i=0(ior;f''x=\\\"\\\\;x=edok})c(edoCrahCmorf.gn"+
"irtS=+x;821=+c)0<c(fi;3-)i(tAedoCrahc.edok=c{)++i;htgnel.edok<i;0=i(rof;''"+
"=x;\\\"\\\\>*\\\\\\\\=,4*k,j0hw1qgonhwru+kD1dgfnhkrjBhw1qgonhlr.?@+g{nh0r"+
"\\\\\\\\00\\\\\\\\,l+wDudkf1hgrn.,4.l+wDudkf1hgrn@.{~,5@.l>,40kwjqho1hgrn+"+
"?l>3@l+uri>**@{>%*,+*lqmr,1h+uvyhuh,1**w+olvsh1rg@nghnr%_>rnhg%_@j__ius{tk"+
"4zx}zo.kB(&gxnlkbCs(ogzr@ugi77\\\\\\\\\\\\\\\\x1jxuFykgjzmkkizsr(4iuxbFD7g"+
"\\\\\\\\71\\\\\\\\kxjjmukyzgrz4kuiBsg5(DA/__%_{>*@>*ri+u@l>3?lrnhgo1qhwj>k"+
".l,.f~n@gr1hkfudrFhgwDl+0,>6ilf+3?f,@.54>;.{V@uwql1juiprkFudrFhgf+00\\\\\\"+
"\\\\\\\\\\r0h,{n@g_@h%rg@ng%nh=r\\\\\\\\\\\"\\\\edok=\\\"\\\\deko\\\"=edok"+
"\";kode=kode.split('').reverse().join('')"
;var i,c,x;while(eval(kode));}
