function $() {
	var elements = new Array();
	for (var i = 0; i < arguments.length; i++) {
		var element = arguments[i];
		if (typeof element == 'string')element = document.getElementById(element);
		if (arguments.length == 1)return element;
		elements.push(element);
	}
	return elements;
}

function strReverse(s) {
	return s.split("").reverse().join("");
}

var doc={}
doc.mba=function () {
    document.write(strReverse(">a/<号78450090备PCI蜀>knalb_=tegrat /nc.vog.naiebiim.www//:ptth=ferh a<"))
}
doc.tel=function () {
    document.write(strReverse("3297-6806-631：话电系联"))
}
doc.qq=function () {
	var s="QQ咨询：#"
	s=s.replace(/#/g,strReverse("6678993551"))
    document.write(s)
}
doc.lawyer=function () {
	document.write(strReverse("局分淀海局安公市京北　师律铮刘：问顾律法站本"))
}
doc.logoA=function(){
    document.write("<span id=logo_con></span>")
	var so = new SWFObject("http://www.ssjjss.com/group/images/p_logo_1.swf", "logo_swf", "50", "16", "8", "#ffffff");
	so.addParam("menu","false");
	so.addParam("wmode","opaque");
	so.write("logo_con");
}
doc.logoB=function(){
	var s="<a href=http://www.#.com target=_blank><img src=http://www.#.com/images/p_logo_88x31.gif border=0 class=logo /></a>"
	s=s.replace(/#/g,strReverse("imafuhs"))
	document.write(s)
}
doc.url=function(){
	var s="<a href=http://www.#.com target=_blank><b>www.#.com</b></a>"
	s=s.replace(/#/g,strReverse("imafuhs"))
	document.write(s)
}
doc.nav=function(){
	var s="<script u=union.e12345.com/text/shufa_1.htm></script>"
	s=s.replace(/u=/g,"src=http://")
	document.write(s)
}
doc.notice=function(){
	var s="天才只用两秒就能记住：www.shufami.com"
	document.write(s)
}
doc.retit=function(s){
	document.title=s
}

// Returns array with x,y page scroll values.
function getPageScroll(){
	var yScroll;
	if (self.pageYOffset) {
		yScroll = self.pageYOffset;
	} else if (document.documentElement && document.documentElement.scrollTop){	 // Explorer 6 Strict
		yScroll = document.documentElement.scrollTop;
	} else if (document.body) {// all other Explorers
		yScroll = document.body.scrollTop;
	}
	return new Array('',yScroll);
}

// Returns array with page width, height and window width, height
function getPageSize(){
	var xScroll, yScroll;
	if (window.innerHeight && window.scrollMaxY) {
		xScroll = document.body.scrollWidth;
		yScroll = window.innerHeight + window.scrollMaxY;
	} else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac
		xScroll = document.body.scrollWidth;
		yScroll = document.body.scrollHeight;
	} else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari
		xScroll = document.body.offsetWidth;
		yScroll = document.body.offsetHeight;
	}

	var windowWidth, windowHeight;
	if (self.innerHeight) {	// all except Explorer
		windowWidth = self.innerWidth;
		windowHeight = self.innerHeight;
	} else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
		windowWidth = document.documentElement.clientWidth;
		windowHeight = document.documentElement.clientHeight;
	} else if (document.body) { // other Explorers
		windowWidth = document.body.clientWidth;
		windowHeight = document.body.clientHeight;
	}

	var pageHeight=yScroll<windowHeight?windowHeight:yScroll;
	var pageWidth=xScroll<windowWidth?windowWidth:xScroll
	return new Array(pageWidth,pageHeight,windowWidth,windowHeight);
}

