function checkBrowser(){	this.ver=navigator.appVersion;	this.dom=document.getElementById?1:0;	this.ie=(document.all)?1:0;	this.ns=(document.layers)?1:0;	this.bw=(this.ie || this.ns);	return this;}bw=new checkBrowser();function PageSize(){	this.x=0;this.width=(bw.ns)?innerWidth:document.body.offsetWidth;	this.y=0;this.height=(bw.ns)?innerHeight:document.body.offsetHeight;	this.xcenter=this.width/2;	this.ycenter=this.height/2;}function Picture(name,prefix,container,alias){	var strAlias;	var strPrefix;	if (prefix)		strPrefix = prefix;	else		strPrefix = "tab";	if (alias)		strAlias = alias;	else		strAlias = name;			container=(!container)?'':container + '.reference.';	//properties	this.name = "_" + strAlias;	this.reference = bw.ie?document.all[strPrefix + "_" + strAlias]:bw.ns?eval(container+'document.'+ strPrefix +"_" + strAlias):0;	this.onImage = new Image();	this.onImage.src = "images/" + strPrefix + "_" + name + "_over.jpg";		this.offImage = new Image();	this.offImage.src = "images/" + strPrefix + "_" + name + "_off.jpg";	//methods	this.on = Picture_on;	this.off = Picture_off;	this.active = false;}function Picture_on(){	if (!this.active)	{		this.active = true;		this.reference.src = this.onImage.src;	}}function Picture_off(){	if (this.active)	{		this.active = false;		this.reference.src = this.offImage.src;	}}function StaticPicture(name,container){	container=(!container)?'':container + '.reference.';	//properties	this.name = "_" + name;	this.reference=bw.ie?document.all[name]:bw.ns?eval(container+'document.'+ name):0;	this.imageArray = new Array();	this.nameArray = new Array();	this.currentImage = -1;	//methods	this.change = StaticPicture_change;	this.load = StaticPicture_load;	this.next = StaticPicture_next;	this.previous = StaticPicture_previous;}function StaticPicture_change(strimage){	var intCounter = 0;	var bFound = false;	for(intCounter = 0;intCounter < this.nameArray.length;intCounter ++)	{		if (this.nameArray[intCounter] == strimage)		{			bFound = true;			break;		}	}	if (bFound)		this.reference.src = this.imageArray[intCounter].src;}function StaticPicture_load(strnew){	var intIndex = 0;	intIndex = this.imageArray.length;	this.imageArray[intIndex] = new Image();	this.imageArray[intIndex].src = "images/" + strnew + ".jpg";	this.nameArray[intIndex] = strnew;	if (this.currentImage == -1)		this.currentImage = 0;}function StaticPicture_next(){	if (this.imageArray.length > 0)	{		this.currentImage ++;		if (this.currentImage >= this.imageArray.length)			this.currentImage = 0;		this.reference.src = this.imageArray[this.currentImage].src;	}}function StaticPicture_previous(){	if (this.imageArray.length > 0)	{		this.currentImage --;		if (this.currentImage < 0)			this.currentImage = this.imageArray.length - 1;		this.reference.src = this.imageArray[this.currentImage].src;	}}