﻿/* -- Adobe GoLive JavaScript Library */

CSInit = new Array;
function CSScriptInit() {
if(typeof(skipPage) != "undefined") { if(skipPage) return; }
idxArray = new Array;
for(var i=0;i<CSInit.length;i++)
	idxArray[i] = i;
CSAction2(CSInit, idxArray);}
CSStopExecution=false;
function CSAction(array) {return CSAction2(CSAct, array);}
function CSAction2(fct, array) { 
	var result;
	for (var i=0;i<array.length;i++) {
		if(CSStopExecution) return false; 
		var aa = fct[array[i]];
		if (aa == null) return false;
		var ta = new Array;
		for(var j=1;j<aa.length;j++) {
			if((aa[j]!=null)&&(typeof(aa[j])=="object")&&(aa[j].length==2)){
				if(aa[j][0]=="VAR"){ta[j]=CSStateArray[aa[j][1]];}
				else{if(aa[j][0]=="ACT"){ta[j]=CSAction(new Array(new String(aa[j][1])));}
				else ta[j]=aa[j];}
			} else ta[j]=aa[j];
		}			
		result=aa[0](ta);
	}
	return result;
}
CSAct = new Object;
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

userAgent = window.navigator.userAgent;
browserVers = parseInt(userAgent.charAt(userAgent.indexOf("/")+1),10);
mustInitImg = true;
function initImgID() {var di = document.images; if (mustInitImg && di) { for (var i=0; i<di.length; i++) { if (!di[i].id) di[i].id=di[i].name; } mustInitImg = false;}}

function findElement(n,ly) {
	var d = document;
	if (browserVers < 4)		return d[n];
	if ((browserVers >= 6) && (d.getElementById)) {initImgID; return(d.getElementById(n))}; 
	var cd = ly ? ly.document : d;
	var elem = cd[n];
	if (!elem) {
		for (var i=0;i<cd.layers.length;i++) {
			elem = findElement(n,cd.layers[i]);
			if (elem) return elem;
		}
	}
	return elem;
}

function changeImagesArray(array) {
	if (preloadFlag == true) {
		var d = document; var img;
		for (i=0;i<array.length;i+=2) {
			img = null; var n = array[i];
			if (d.images) {
				if (d.layers) {img = findElement(n,0);}
				else {img = d.images[n];}
			}
			if (!img && d.getElementById) {img = d.getElementById(n);}
			if (!img && d.getElementsByName) {
				var elms = d.getElementsByName(n);
				if (elms) {
					for (j=0;j<elms.length;j++) {
						if (elms[j].src) {img = elms[j]; break;}
					}
				}
			}
			if (img) {img.src = array[i+1];}
		}
	}
}

function changeImages() {
	changeImagesArray(changeImages.arguments);
}

function toggleImages() {
	for (var i=0; i<toggleImages.arguments.length; i+=2) {
		if (selected == toggleImages.arguments[i])
			changeImagesArray(toggleImages.arguments[i+1]);
	}
}

function CSClickReturn () {
	var bAgent = window.navigator.userAgent; 
	var bAppName = window.navigator.appName;
	if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("Mozilla/3") >= 0) && (bAgent.indexOf("Mac") >= 0))
		return true; /* dont follow link */
	else return false; /* dont follow link */
}

// PeekaBoosv.action sv1.3.2 - January, 2007
// © Copyright 2001 by Walter Blady
// All rights reserved
var PaBsvisNN6 = navigator.userAgent.indexOf("Netscape6") >= 0;
var PaBsvisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
var PaBsvisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var PaBsvW3C = document.getElementById ? true : false;
var PaBsvvis, PaBsvhid, W3CinitFlag, params, PaBsvprevBox = "", PaBsvpopup, PaBsvmouseTrapTimer, PaBsvaction;
var PaBsvnoTags;
var PaBsvtrapDelay = 500;
function WBPeekaBoosv(action) {
	if (PaBsvVersion()) {
		PaBsvaction = action;
		var weightArray = new Array("normal", "bold", "bolder", "lighter");
		var styleArray = new Array("normal", "italic");
		var decorArray = new Array("none", "underline", "overline", "line-through");
		var alignArray = new Array("left", "right", "center", "justify");

		if (!W3CinitFlag && PaBsvW3C) {
			var d = document.getElementsByTagName("div");
			var s = document.getElementsByTagName("style");
			for (var i = 0; i < s.length; i++) {
				var html = (s[i].innerHTML);
				var start = html.indexOf("!--") + 3;
				var end = html.lastIndexOf("}") + 1 - start;
				html = html.indexOf("!--") > -1 ? html.substr(start, end) : html;
				html = html.replace(/^\s*/, "");
				html = html.replace(/:\s*#/g, ": ~");
				html = html.replace(/[\n\r]/g, "");
				var styleArray = html.split(/\s*\}\s*/);
				for (var j = 0; j < styleArray.length; j++) {
					var name = styleArray[j].substr(styleArray[j].search(/\w/), styleArray[j].search(/{/));
					name = name.replace(/[ \{].+/g, "")
					for (var k = 0; k < d.length; k++) {
						var match = (name == d[k].id && name != "");
						if (match) break;
					}
					if (styleArray[j] != "" && match) {
						styleArray[j] = styleArray[j].replace(/\**#/, "");
						styleArray[j] = styleArray[j].replace(/~/g, "#");
						var styleName = styleArray[j].substr(0, styleArray[j].indexOf("{"));
						styleName = styleName.replace(/\s*/g, "");
						styleArray[j] = styleArray[j].toLowerCase();
						var t = eval("d." + styleName + ".style");
						var divName = eval("d." + styleName + ".id");
						t.name = divName;
						if (divName != styleName && action[1]) {
							var string = "\nCharacter codes for the 2 names:\nStyleName = ";
							for (var i = 0; i < styleName.length; i++) {
								string += styleName.charCodeAt(i) + " ";
							}
							string += "\n  DivName = ";
							for (var i = 0; i < divName.length; i++) {
								string += divName.charCodeAt(i) + " ";
							}
							alert("This browser is reporting a name mismatch between the Style Object " + styleName + " and the Div Object " + divName + string);
						}
						var styleString = styleArray[j].replace(/^.*\{\s*/, "");
						styleString = styleString.replace(/\s*\}.*$|\s*\}.*\n.*$|\s*\}.*\r.*$/, "");
						styleString = styleString.replace(/\;$/, "");
						var divArray = styleString.split(/\;\s*/g);
						for (var k = 0; k < divArray.length; k++) {
							var propertyName = divArray[k].substr(0, divArray[k].indexOf(":"));
							var dash = propertyName.indexOf("-");
							if (dash > -1) {
								var propertyName = propertyName.substr(0, dash) + propertyName.substr(dash + 1, 1).toUpperCase() + propertyName.substr(dash + 2, propertyName.length);
							}
							var propertyValue = divArray[k].substr(divArray[k].indexOf(":"), divArray[k].length);
							propertyValue = propertyValue.replace(/:*(-->)*}*\n*/g, "");
							propertyValue = propertyValue.replace(/^\s*|\s*$/, "");
							if (PaBsvisNN6 && propertyValue.indexOf("(") > -1) {
								propertyValue = propertyValue.replace(/auto|pt|pi|px|em|ex|mm|cm|in|%/g, "$& ");
								propertyValue = propertyValue.replace(/ \)/g, ")");
							}
							t[propertyName] = propertyValue;
						}
					}
				}
			}
 			W3CinitFlag = true;
 			if (action[2]== "") return;
		}
		PaBsvvis = (PaBsvW3C || PaBsvisIE4) ? "visible" : "show";
		PaBsvhid = (PaBsvW3C || PaBsvisIE4) ? "hidden" : "hide";
		params = PaBsvgetObject(action[2]);
		if (action[1] == 0) {
			if (PaBsvprevBox != "") {
				PaBsvMouseTrapTimerQuit();
				PaBsvShowHide(PaBsvprevBox, PaBsvhid);
			}
			PaBsvprevBox = params;
			PaBsvpopup = params;
			if (params.onmouseover == null) {
				params.onmouseover = PaBsvMouseTrapTimerQuit;
				params.onmouseout = PaBsvMouseTrap;
			}
			if (action[3] != "") {
				var mb = PaBsvgetObject(action[3]);
				if (mb.onmouseover == null) {
					mb.onmouseover = PaBsvMouseTrapTimerQuit;
					mb.onmouseout = PaBsvMouseTrap;
				}
			}
			PaBsvShowHide(PaBsvpopup, PaBsvvis);
		}
		else if (action[1] == 1) {
			if (params.onmouseover != null) return;
			var link = PaBsvW3C ? params.getElementsByTagName("A") : null;
			var font = PaBsvW3C ? params.getElementsByTagName("FONT") : null;
			params.orgTextColor = new Array();
			params.newTextColor = new Array();
			params.link = link;
			params.font = font;
			params.onmouseover = PaBsvTurnOn;
			params.onmouseout = PaBsvTurnOff;
			params.orgBoxColor = (PaBsvW3C || PaBsvisIE4) ? params.style.backgroundColor : params.bgColor;
			params.newBoxColor = params.orgBoxColor;
			if (params.orgBoxColor == "") params.orgBoxColor = "transparent";
			PaBsvnoTags = params.font.length == 0 && params.link.length == 0;
			if (params.link.length > 0) {
				for (var j = 0; j < params.link.length; j++) {
					if (action[8].indexOf("Reference!") == -1 && action[8] != "#") {
						params.link[j].href = action[8];
						params.link[j].style.color = (params.link[j].style.color == "" && (PaBsvW3C || PaBsvisIE4)) ? params.style.color : params.fgColor;
					}
					params.orgTextColor[j] = (PaBsvW3C || PaBsvisIE4) ? params.link[j].style.color : params.fgColor;
					params.newTextColor[j] = params.orgTextColor[j];
				}
			}
			if (params.font.length > 0) {
				for (var j = 0; j < params.font.length; j++) {
					params.orgTextColor[j] = (PaBsvW3C || PaBsvisIE4) ? params.font[j].color : params.fgColor;
					params.newTextColor[j] = params.orgTextColor[j];
				}
			}
			if (PaBsvnoTags) {
				params.orgTextColor[0] = (PaBsvW3C || PaBsvisIE4) ? params.style.color : params.fgColor;
				params.newTextColor[0] = params.orgTextColor[0];
			}
			params.orgWeight = (PaBsvW3C || PaBsvisIE4) ? params.style.fontWeight : params.fontWeight;
			if (params.orgWeight == "") params.orgWeight = "normal";
			params.orgStyle = (PaBsvW3C || PaBsvisIE4) ? params.style.fontStyle : params.fontStyle;
			if (params.orgStyle == "") params.orgStyle = "normal";
			params.orgDecor = (PaBsvW3C || PaBsvisIE4) ? params.style.textDecoration : params.textDecoration;
			if (params.orgDecor == "") params.orgDecor = "none";
			params.orgAlign = (PaBsvW3C || PaBsvisIE4) ? params.style.textAlign : params.textAlign;
			if (params.orgAlign == "") params.orgAlign = "left";
			var blank = PaBsvisNav4 ? null : "Transparent";
			if (action[4] > 0 ) {
				var color = action[4] == 2 ? blank : "#" + action[5];
				params.newBoxColor = color;
			}
			if (action[6] > 0 ) {
				var color = action[6] == 2 ? blank : "#" + action[7];
				if (params.link.length > 0) {
					for (var j = 0; j < params.link.length; j++) {
						params.newTextColor[j] = color;
					}
				}
				if (params.font.length > 0) {
					for (var j = 0; j < params.font.length; j++) {
						params.newTextColor[j] = color;
					}
				}
				if (PaBsvnoTags) {
					params.newTextColor[0] = color;
				}
			}
			if (action[8].indexOf("Reference!") == -1 && action[8] != "#") {
			}
		}
	}
	return;
}
function PaBsvgetObject(objName) {
	var object;
	if (PaBsvW3C) {
		object = eval('document.getElementById("' + objName + '")');
	}
	else if (PaBsvisIE4) {
		object = eval("document.all." + objName);
	}
	else {
		object = PaBsvFindLayerObject(objName, 0);
	}
	return object;
}
function PaBsvFindLayerObject(layer, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var layerObj = thisDocument[layer];
	if (layerObj) {
		return layerObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			layerObj = PaBsvFindLayerObject(layer, thisDocument.layers[i]); 
			if (layerObj) {
				break;
			}
		}
	}
	return layerObj;
}
function PaBsvMouseTrapTimerQuit() {
	clearTimeout(PaBsvmouseTrapTimer);
	return;
}
function PaBsvMouseTrap() {
	PaBsvmouseTrapTimer = setTimeout("PaBsvMouseTrapp()", PaBsvtrapDelay);
	return;
}
function PaBsvMouseTrapp() {
	PaBsvShowHide(PaBsvpopup, PaBsvhid);
	return;
}
function PaBsvShowHide(object, state) {
	if (PaBsvW3C) {
		object.style.visibility = state;
		var innerObjs = object.getElementsByTagName("div");
		for (var i = 0; i < innerObjs.length; i++) {
			innerObjs[i].style.visibility = state;
		}
	}
	else if (PaBsvisIE4) {
		object.style.visibility = state;
		for (var i = 0; i < object.children.length; i++) {
			object.children[i].style.visibility = state;
			if (object.children[i].children.length > 0) {
				layerObj = PaBsvShowHide(object.children[i], state);
			}
		}
	}
	else if (PaBsvisNav4) {
		object.visibility = state;
		for (var i = 0; i < object.layers.length; i++) {
			object.layers[i].visibility = state;
			if (object.layers[i].layers.length > 0) {
				layerObj = PaBsvShowHide(object.layers[i], state);
			}
		}
	}
	return;
}
function PaBsvTurnOn() { 
	if (!PaBsvisNav4) {
		if (this.link.length > 0) {
			for (var i = 0; i < this.link.length; i++) {
				this.link[i].style.color = this.newTextColor[i];
			}
		}
		if (this.font.length > 0) {
			for (var i = 0; i < this.font.length; i++) {
				this.font[i].color = this.newTextColor[i];
			}
		}
		if (PaBsvnoTags) {
			this.style.color = this.newTextColor[0];
		}
		this.style.backgroundColor = this.newBoxColor;
	}
	else {
		this.fgColor = this.newTextColor[0];
		this.bgColor = this.newBoxColor;
	}
	return;
}
function PaBsvTurnOff() { 
	if (!PaBsvisNav4) {
		if (this.link.length > 0) {
			for (var i = 0; i < this.link.length; i++) {
				this.link[i].style.color = this.orgTextColor[i];
			}
		}
		if (this.font.length > 0) {
			for (var i = 0; i < this.font.length; i++) {
				this.font[i].color = this.orgTextColor[i];
			}
		}
		if (PaBsvnoTags) {
			this.style.color = this.orgTextColor[0];
		}
		this.style.backgroundColor = this.orgBoxColor;
	}
	else {
		this.fgColor = this.orgTextColor[0];
		this.bgColor = this.orgBoxColor;
	}
	return;
}
function PaBsvVersion() {
	return true;
}
//
//-->

function CSGotoLink(action) {
	if (action[2].length) {
		var hasFrame=false;
		for(i=0;i<parent.frames.length;i++) { if (parent.frames[i].name==action[2]) { hasFrame=true; break;}}
		if (hasFrame==true)
			parent.frames[action[2]].location = action[1];
		else
			window.open (action[1],action[2],"");
	}
	else location = action[1];
}

// Formatter.action v2.0 - November 6, 2010
// Copyright © 2003 by Walter Blady
// All rights reserved
var FRisW3C = document.getElementById ? true : false;
var FRsent = false, FRAction, FRfieldHeader, ECSubmitFlag = true;
function WBFormattersv(action) {
	if (FRVersion() && action[1] != "") {
		FRAction = action;
		var myForm = window.document[action[1]];
		if (!myForm) {
			if (action[4] > 0) {
			 	alert("Please check that the names of both Forms and the hidden field are correct (NO spaces)!");
				return false;
			}
		}
		if (action[2] == 0) {
			myForm.onsubmit = FRKillSubmit;
			return;
		}
		if (myForm.elements[1].selectedIndex == 0) {
			alert("You must select a Version and Platform!");
			myForm.reset();
			return;
		}
		if (myForm.elements[3].selectedIndex != myForm.elements[3].previndex) {
			myForm.elements[5].selectedIndex = 0;
			myForm.elements[3].previndex = myForm.elements[3].selectedIndex;
		}		
		for (var i = 0; i < myForm.elements.length; i++) {
			var element = myForm.elements[i];
			if (element.type != null && (element.type == "text" || element.type == "textarea" || element.type == "password")) {
				var trimLine = element.value;
				var trimStart = (trimLine.search(/\S/) != -1) ? trimLine.search(/\S/) : 0;
				var trimEnd = trimLine.search(/\b\s*$/) != -1 ? (trimLine.search(/\b\s*$/) - trimStart) : trimLine.length - trimStart;
				trimLine = trimLine.substr(trimStart, trimEnd);
				element.value = trimLine;
			}
		}
		if (action[11] != "") {
			var func;
			var total = myForm[action[19]] && myForm[action[19]].value != "" ? parseFloat(myForm[action[19]].value) : 0;
			for (var i = 10; i < 18; i += 2) {
				func = action[i];
				if (action[i+1] != "" && myForm[action[i+1]] && myForm[action[i+1]].value != "") {
					total = action[i] == 0 ? parseFloat(myForm[action[i+1]].value) : eval("total" + func + "parseFloat(myForm[action[i+1]].value)");
				}
			}
			total = action[18] != "" ? FRCurrency(action[18], total + .005) : total;
			myForm[action[19]].value = total;
			var trigger = myForm.elements[3];
			var descript = myForm.elements[7];
			if (trigger.type == "select-one") {
				index = trigger.selectedIndex;
			}
			myForm[action[19]].value = total;
			myForm[action[20]].value = trigger.options[trigger.selectedIndex].text;
		}
		if (action[6] && FRsent) {
			alert("This Form has already been sent.");
		}
		else if (action[4] > 0) {
			var mailto = myForm.action + " ?subject=" + escape(myForm.name);
			var body = "";
			var pre = "", endpre = "";
			if (action[4] == 1  && action[3] == 1) {
				pre = "\<pre\>", endpre = "\<\/pre\>";
			}
			body = pre + escape(FRGetBody(myForm)) + endpre;
			if (action[7] > 0) {
				if (action[7] == 1) alert(unescape(body));
				else alert(body);
				return false;
			}
			if (action[4] == 1 && mailto.indexOf("mailto:") > -1) {
				myForm.method = "post";
				myForm.encoding = "text/plain";
				var cc = action[9] != "" ? escape(action[9]) : "";
				var sub = action[8] != "" ? escape(action[8]) : escape(myForm.name);
				var content = myForm.action + " ?subject=" + sub;
				content += cc != "" ? " &cc=" + cc + " &body=" + body : " &body=" + body;
				if (ECSubmitFlag) window.location = content;
			}
			else if (myForm.FRDataField && mailto.indexOf("mailto:") == -1) {
				for (var i = 0; i < myForm.elements.length; i++) {
					var element = myForm.elements[i];
					if (element.name != "FRDataField") element.disabled = true;
				}
				myForm.FRDataField.value = unescape(body);
				if (ECSubmitFlag) myForm.submit();
				for (var i = 0; i < myForm.elements.length; i++) {
					var element = myForm.elements[i];
					element.disabled = false;
				}
				FRsent = true;
			}
		}
	}
	return false;
}
function FRGetBody(form) {
	var quotes = "", delim = " ", sep = " - ", isDelim = true;
	if (FRAction[3] == 0) {
		delim = "\n";
		isDelim = false;
	}
	else if (FRAction[3] == 1) delim = "\t";
	else if (FRAction[3] == 2) {
		delim = ',';
		quotes = '"';
	}
	var getArray = new Array(), finalArray = new Array();
	var getArrayName = new Array(), finalArrayName = new Array();
	for (var i = 0; i < form.elements.length; i++) {
		var element = form.elements[i];
		if (element.type == "submit" || element.type == "button" || element.type == "reset" || element.type == "image" 
		|| element.type == "file" || element.type == null || element.name == "FRDataField") {
			continue;
		}
		if (FRAction[3] == 2) {
			element.value = element.value.replace(/\"/g, "'");
		}
		var datai = quotes + element.value + quotes
		if (element.type == "select-one") {
			getArray[i] = isDelim ? datai : element.name + sep + element.value;
		}
		else if (element.type == "select-multiple") {
			var mArray = new Array();
			for (var j = 0; j < element.length; j++) {
				var dataj = quotes + element.options[j].value + quotes;
				if (element.options[j].selected) {
					mArray[j] = isDelim ? dataj : "  " + element.options[j].text + sep + dataj;
				}
				else {
					mArray[j] = isDelim ? quotes + quotes : "  " + element.options[j].text + sep + quotes + quotes;
				}
			}
			var m = delim + mArray.join(delim);
			getArray[i] = isDelim ? m : element.name + sep + m;
		}
		else if (element.type == "checkbox") {
			if (element.checked) {
				getArray[i] = isDelim ? datai : element.name + sep + datai;
			}
			else {
				getArray[i] = isDelim ? quotes + quotes : element.name + sep + quotes + quotes;
			}
		}
		else if (element.type == "radio") {
			if (element.checked) {
				getArray[i] = isDelim ? datai : element.name + sep + datai;
			}
		}
		else {
			getArray[i] = isDelim ? datai : element.name + sep + datai;
		}
		getArrayName[i] = isDelim && FRAction[3] ? quotes + element.name + quotes : element.name;
	}
	var j = 0;
	for (var i = 0; i < getArray.length; i++) {
		if (getArray[i] != null) {
			finalArray[j] = getArray[i];
			finalArrayName[j] = getArrayName[i];
			j++;
		}
	}
	var body = FRAction[5] && FRAction[3] != 0 ? finalArrayName.join(delim) + "\n" + finalArray.join(delim) : finalArray.join(delim);
	return body;
}
function FRCurrency(format, total) {
	if (format != "") {
		var num = total.toString();
		num = num.substr(0, num.indexOf(".") + 4);
		var format2isDec = format.search(/[\.,]#{2}$/) > -1;
		var format2DecIndex = format2isDec ? format.search(/[\.,]#{2}$/) : format.length;
		var num2isDec = num.search(/[\.,]/) > -1;
		var num2DecIndex = num2isDec ? num.search(/[\.,]/) : num.length;
		var numOfDec = num.length - num2DecIndex;
		var num2 = num2isDec ? num.substr(0, num2DecIndex).replace(/\D/g, "") : num.replace(/\D/g, "");
		var format2 = format2isDec ? format.substr(0, format2DecIndex).replace(/[\.\,\s]/g, "") : format.replace(/[\.\,\s]/g, "");
		if (num2.length > format2.length) return total;
		num = num.replace(/\D/g, "");
		if (format2isDec) {
			if (numOfDec == 0) num += "00";
			else if (numOfDec == 2) num += "0";
			else if (numOfDec > 3) {
				num = num.substr(0, num2DecIndex + 2);
			}
		}
		else if (!format2isDec && rd >= 1 && num2DecIndex > -1) num = num.substr(0, num2DecIndex);
		var newFormat = "", hashCounter = 0;
		for (var i = format.length-1; i >= 0 && hashCounter < num.length; i--) {
			newFormat = format.substr(i, 1) + newFormat;
			if (format.substr(i, 1) == "#") {
				hashCounter += 1;
			}
		}
		for (var i = 0; i < newFormat.length; i++) {
			newFormat = newFormat.replace(/#/, num.substr(i, 1));
		}
		total = newFormat;
	}
	return total;
}
function FRKillSubmit() {
	return false;
}
function FRVersion() {
	return true;
}
//
//-->

// WBMosaicSlideShow.action v3.0.1 - January, 2011
// Copyright © 2004 by Walter Blady
// All rights reserved
var MSSisFF = window.navigator.userAgent.indexOf("Firefox") >= 0;
var MSSisIE = window.navigator.userAgent.indexOf("MSIE") >= 0;
var MSSisMac = navigator.platform.indexOf("Mac") > -1;
var MSSisMacIE = MSSisMac && MSSisIE;
var MSSisW3C = document.getElementById ? true : false;
var MSSslideShow = new Object();
MSSslideShow.id = "MSSslideShow";
var MSSurl = "", MSSDoFading, MSSImageObject, MSSi = 0, W3CinitFlag = false;
function WBMosaicSlideShow(action) {
	if (MSSVersion()) {
		clearTimeout(MSSslideShow.sliTimeout);
		clearTimeout(MSSslideShow.transTimeout);
		try {
			MSSImg1();
		}
		catch (errorCode) {
			var mess = "MosaicSlideShow can not find the MSSImg.js file.\n";
			mess += "You must link the MSSImg.js file that is inside your site folder to this page."
			alert(mess);
			return;
		}
		if (!W3CinitFlag) MSSDivPrep();
		MSSslideShow.action = action;
		MSSslideShow.prep = MSSMosaicPrep;
		if (MSSslideShow.action[1] == 0) { MSSslideShow.prep(action); return; }
		if (MSSslideShow.action[1] != 6 && MSSslideShow.action[1] != 7) {
			MSSslideShow.transDuration = parseInt(action[10]);
			MSSslideShow.imageDuration = parseInt(action[11]) * 1000;
			MSSslideShow.mosaicInterval = parseInt(action[12]);
		}
		if (MSSslideShow.action[1] == 1 || MSSslideShow.action[1] == 2) {
			MSSslideShow.autoAdvance = true;
			MSSslideShow.pause = false;
			if (MSSslideShow.action[1] == 1) {
				MSSslideShow.slideCounter = this.startWithFirst ? 1 : 0;
			}
			MSSslideShow.advance = true;
			MSSslideShow.loop = MSSslideShow.action[13];
			MSSslideShow.doLoop = MSSslideShow.loop > 0;
			MSSslideShow.single = false;
			MSSslideShow.transition = MSSslideShow.action[9] == 1 ? true : false;
			MSSslideShow.dodisplay();
		}
		else if (MSSslideShow.action[1] == 3) {
			MSSslideShow.autoAdvance = true;
			MSSslideShow.pause = false;
			MSSslideShow.advance = false;
			MSSslideShow.loop = MSSslideShow.action[13];
			MSSslideShow.doLoop = MSSslideShow.loop > 0;
			MSSslideShow.single = false;
			MSSslideShow.transition = MSSslideShow.action[9] == 1 ? true : false;
			MSSslideShow.dodisplay();
		}
		else if (MSSslideShow.action[1] == 4) {
			MSSslideShow.advance = true;
			MSSslideShow.single = true;
			MSSslideShow.transition = MSSslideShow.action[9] == 1 ? true : false;
			MSSslideShow.dodisplay();
		}
		else if (MSSslideShow.action[1] == 5) {
			MSSslideShow.advance = false;
			MSSslideShow.single = true;
			MSSslideShow.transition = MSSslideShow.action[9] == 1 ? true : false;
			MSSslideShow.dodisplay();
		}
		else if (MSSslideShow.action[1] == 6 && MSSslideShow.autoAdvance) {
			if (MSSslideShow.advance && MSSslideShow.prevSlide < MSSslideShow.slideCounter) MSSslideShow.slideCounter -= 1;
			if (!MSSslideShow.advance && MSSslideShow.prevSlide > MSSslideShow.slideCounter) MSSslideShow.slideCounter += 1;
			if (MSSslideShow.pause) {
				MSSslideShow.sliTimeoutHold = MSSslideShow.sliTimeout;
				MSSslideShow.advance = MSSslideShow.prevAdvance;
				MSSslideShow.single = false;
				MSSslideShow.dodisplay();
			}
			else {
				MSSslideShow.prevAdvance = MSSslideShow.advance;
			}
			MSSslideShow.pause = MSSslideShow.pause ? 0 : 1;
		}
		else if (MSSslideShow.action[1] == 7 && MSSslideShow.autoAdvance) {
			MSSslideShow.doLoop = false;
			MSSslideShow.autoAdvance = false;
			MSSslideShow.pause = true;
			MSSslideShow.transition = false;
			if (MSSslideShow.prevSlide < MSSslideShow.slideCounter) MSSslideShow.slideCounter -= 1;
		}
	}
	return;
}
function MSSDisplayControl() {
	this.slideCounter += this.advance ? 1 : -1;
	if (this.slideCounter == -1)  this.slideCounter = this.totalSlides;
	if (this.slideCounter > this.totalSlides || this.slideCounter < 1) {
		this.prevSlide = this.slideCounter > this.totalSlides ? 0 : this.totalSlides-1;
		this.slideCounter = this.slideCounter > this.totalSlides ? 1 : this.totalSlides;
		if (this.doLoop) {
			this.loop -= 1;
			if (this.loop == 0) {
				this.slideCounter = this.advance ? this.totalSlides : 1;
				clearInterval(MSSslideShow.MSSmozInterval);
				return;
			}
		}
	}
	this.pixArray = new Array();
	this.transPixArray = new Array();
	var img = eval("MSSImg" + this.slideCounter + "()")
	for (var i = 0; i < this.objArray.length; i++) {
		this.objArray[i].MSSurl = MSSurl;
		if (this.objArray2) this.objArray2[i].MSSurl = MSSurl;
	}
	var overlay = MSSslideShow.transGroup != "" ? MSSslideShow.transGroup : MSStrans;
	var path = MSSslideShow.folderPath.lastIndexOf("/") < MSSslideShow.folderPath.length-1 ? MSSslideShow.folderPath + "/" : MSSslideShow.folderPath;
	for (var i = 0; i < this.totalMosaics; i++) { 
		var ii = i+1;
		var zero = ii < 10 ? "0" : "";
		this.transPixArray[i] = this.transition ? path + overlay + "_" + zero + ii + "." + MSSslideShow.transType : "";
		this.pixArray[i] = path + img + "_" + zero + ii + "." + MSSslideShow.displayType;
		if (this.cache) {
			if (this.slideCounter + 1 <= this.totalSlides) {
				var cacheImg = eval("MSSImg" + (this.slideCounter + 1) + "()")
				var cacheOvr = MSSslideShow.transGroup != "" ? MSSslideShow.transGroup : MSStrans;
				var fetchOvr = "", fetchImg = "";
				if (ii <= this.totalMosaics) {
					fetchOvr = path + cacheOvr + "_" + zero + ii + "." + MSSslideShow.transType;
					fetchImg = path + cacheImg + "_" + zero + ii + "." + MSSslideShow.displayType;
					MSSCacheImage(fetchOvr, fetchImg);
				}
			}
			else this.cache = false;
		}
	}
	var thisDate = new Date();
	var thisSec = thisDate.getSeconds();
	var k = 0;
	this.randArray = new Array();
	while (k < this.totalMosaics) {
		var rand = (Math.round(Math.random(thisSec)*100) % this.totalMosaics);
		if (this.randArray[rand] == null) { this.randArray[rand] = k; k++; }
	}
	this.topArray = this.objArray;
	this.prevSlide = this.slideCounter;
	if (this.transition) {
		clearInterval(this.mozInterval);
		MSSi = 0;
		this.mozInterval = setInterval("MSSslideShow.dotransmosaic()", this.mosaicInterval);
	}
	else {
		MSSslideShow.doslides();
	}
	return;
}
function MSSTransitionMosaic() {
	this.topArray[this.randArray[MSSi]].src = this.transPixArray[this.randArray[MSSi]];
	if (MSSi < this.topArray.length-1) {
		MSSi += 1;
	}
	else {
		clearInterval(this.mozInterval);
		this.sliTimeout = setTimeout("MSSslideShow.doslides()", this.transDuration);
	}
	return;
}
function MSSDoSlides() {
	clearInterval(this.mozInterval);
	MSSi = 0;
	this.mozInterval = setInterval("MSSslideShow.domosaic()", this.mosaicInterval);
	return;
}
function MSSDoMosaic() {
	if (this.duoLayer) {
		if (this.layer1.style.zIndex < this.layer2.style.zIndex) {
			this.layer1.style.zIndex += 1;
			this.layer2.style.zIndex -= 1;
			this.topArray = this.objArray;
		}
		else {
			this.layer1.style.zIndex -= 1;
			this.layer2.style.zIndex += 1;
			this.topArray = this.objArray2;
		}
	}
	this.mosaicObj = this.topArray[this.randArray[MSSi]];
	if (MSSi < this.topArray.length-1) {
		if (this.action[14]) {
			this.mosaicObj.transVal = 0;
			this.mosaicObj.startOpacity = parseInt(this.action[15]);
			this.mosaicObj.doOpacity = MSSDoOpacity;
			this.mosaicObj.doOpacity(this.mosaicObj.startOpacity);
			this.mosaicObj.transEnd = parseInt(this.action[16]);
			this.mosaicObj.transTics = parseInt(this.action[17]);
			this.mosaicObj.transInterval = parseInt(this.action[18]);
			this.mosaicObj.transVal = 0;
			this.mosaicObj.src = this.pixArray[this.randArray[MSSi]];
			var name = this.mosaicObj.name ? this.mosaicObj.name : this.mosaicObj.id;
			if (!MSSisFF) {
				this.mosaicObj.transInt = setInterval("MSSTransition(" + name + ")", this.mosaicObj.transInterval);
			}
			else {
				this.mosaicObj.transInt = setInterval(MSSTransition, this.mosaicObj.transInterval, this.mosaicObj);
			}
		}
		MSSi += 1;
	}
	else {
		clearInterval(this.mozInterval);
		if (this.action[14]) {
			this.mosaicObj.transVal = 0;
			this.mosaicObj.startOpacity = parseInt(this.action[15]);
			this.mosaicObj.doOpacity = MSSDoOpacity;
			this.mosaicObj.doOpacity(this.mosaicObj.startOpacity);
			this.mosaicObj.transEnd = parseInt(this.action[16]);
			this.mosaicObj.transTics = parseInt(this.action[17]);
			this.mosaicObj.transInterval = parseInt(this.action[18]);
			this.mosaicObj.transVal = 0;
			this.mosaicObj.src = this.pixArray[this.randArray[MSSi]];
			var name = this.mosaicObj.name ? this.mosaicObj.name : this.mosaicObj.id;
			if (!MSSisFF) {
				this.mosaicObj.transInt = setInterval("MSSTransition(" + name + ")", this.mosaicObj.transInterval);
			}
			else {
				this.mosaicObj.transInt = setInterval(MSSTransition, this.mosaicObj.transInterval, this.mosaicObj);
			}
		}
		if (!this.single && !this.pause) {
			this.transTimeout = setTimeout("MSSslideShow.dodisplay()", this.imageDuration);
		}
	}
	return;
}
function MSSFindImageObject(baseImage, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var imageObj = thisDocument[baseImage];
	if (imageObj) {
		return imageObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			imageObj = MSSFindImageObject(baseImage, thisDocument.layers[i]); 
			if (imageObj) {
				break;
			}
		}
	}
	return imageObj;
}
function MSSPrepareMosaics(action) {
	this.objArray = new Array();
	if (document.images[MSSslideShow.imgObjectName + "2_1"]) this.objArray2 = new Array();
	for (var i = 0; i < this.totalMosaics; i++) { 
		var ii = i+1;
		var zero = "";
		if (window.navigator.userAgent.indexOf("MSIE") > 0 || MSSisW3C) {
			this.objArray[i] = document.images[MSSslideShow.imgObjectName + "_" + zero + ii];
			if (this.objArray2) this.objArray2[i] = document.images[MSSslideShow.imgObjectName + "2_" + zero + ii];
		}
		else {
			if (parseInt(navigator.appVersion.charAt(0)) > 3) {
				this.objArray[i] = MSSFindImageObject(MSSslideShow.imgObjectName, 0) + "_" + zero + ii;
				if (this.objArray2) this.objArray2[i] = MSSFindImageObject(MSSslideShow.imgObjectName, 0) + "2_" + zero + ii;
			}
			else {
					this.objArray[i] = document.images[MSSslideShow.imgObjectName + "_" + zero + ii];
					if (this.objArray2) this.objArray2[i] = document.images[MSSslideShow.imgObjectName + "2_" + zero + ii];
			}
		}
		this.objArray[i].action = action;
		this.objArray[i].MSSurl = this.MSSurl;
		if (MSSisIE && !MSSisMacIE) {
			this.objArray[i].onmouseup = WBMosaicSlideShowLinks;
			this.objArray[i].style.filter = "progid:DXImageTransform.Microsoft.Alpha(enebled=true)";
		}
		else {
			if (this.objArray[i].addEventListener) {
				this.objArray[i].addEventListener("mouseup", WBMosaicSlideShowLinks, false);
			}
			else if (this.objArray[i].attachEvent) {
				this.objArray[i].attachEvent("onmouseup", WBMosaicSlideShowLinks);
			}
		}
		if (this.objArray2) {
			this.objArray2[i].action = action;
			this.objArray2[i].MSSurl = this.MSSurl;
			if (MSSisIE && !MSSisMacIE) {
				this.objArray2[i].onmouseup = WBMosaicSlideShowLinks;
				this.objArray2[i].style.filter = "progid:DXImageTransform.Microsoft.Alpha(enebled=true)";
			}
			else {
				if (this.objArray2[i].addEventListener) {
					this.objArray2[i].addEventListener("mouseup", WBMosaicSlideShowLinks, false);
				}
				else if (this.objArray2[i].attachEvent) {
					this.objArray2[i].attachEvent("onmouseup", WBMosaicSlideShowLinks);
				}
			}
		}
		if (this.cache) {
			var fetchOvr = "", fetchImg = "";
			var path = MSSslideShow.folderPath.lastIndexOf("/") < MSSslideShow.folderPath.length-1 ? MSSslideShow.folderPath + "/" : MSSslideShow.folderPath;
			var cacheImg = eval("MSSImg" + 1 + "()")
			var cacheOvr = MSSslideShow.transGroup != "" ? MSSslideShow.transGroup : MSStrans;
			if (ii <= this.totalMosaics) {
				fetchOvr = path + cacheOvr + "_" + zero + ii + "." + MSSslideShow.transType;
				fetchImg = path + cacheImg + "_" + zero + ii + "." + MSSslideShow.displayType;
				MSSCacheImage(fetchOvr, fetchImg);
			}
		}
	}
	return;
}
function MSSCacheImage(nextOverlay, nextImage) {
	if (nextOverlay != "") {
		var ovr = new Image();
		ovr.src = nextOverlay;
	}
	if (nextImage != "") {
		var img = new Image();
		img.src = nextImage;
	}
	return;
}
function MSSTransition(objName, obj) {
	objName.transVal += objName.transTics;
	var doFade = objName.transVal <= 100;
	if (doFade) {
		objName.doOpa = MSSDoOpacity;
		objName.doOpa(objName.transVal);
	}
	else {
		clearInterval(objName.transInt);
		objName.transVal = 0;
	}
	return;
}
function MSSDoOpacity(transVal) {
	if (this.style.MozOpacity != null) {
		this.style.MozOpacity = transVal/100;
	}
	else if (MSSisIE && !MSSisMacIE) {
		this.filters.item("DXImageTransform.Microsoft.Alpha").opacity = transVal != null ? transVal : 0;
	}
	else {
		this.style.opacity = transVal/100;
	}
	return;
}
function MSSMosaicPrep(action) {
	this.action = action;
	if (document.getElementById("MSSlayer1") && document.getElementById("MSSlayer2")) {
		this.layer1 = document.getElementById("MSSlayer1");
		this.layer2 = document.getElementById("MSSlayer2");
		this.duoLayer = true;
	}
	else this.duoLayer = false;
	this.preparemosaics = MSSPrepareMosaics;
	this.dodisplay = MSSDisplayControl;
	this.dotransmosaic = MSSTransitionMosaic;
	this.doslides = MSSDoSlides;
	this.domosaic = MSSDoMosaic;
	this.transGroup = this.action[2];
	this.transType = this.action[3];
	this.imgObjectName = this.action[4];
	this.displayType = this.action[5];
	this.folderPath = this.action[6];
	this.totalMosaics = parseInt(this.action[7]);
	this.cache = this.action[8];
	this.slideCounter = 0;
	this.autoAdvance = false;
	this.preparemosaics(action);
	for (var count = 1; eval("MSSImg" + count + "()") != ""; count++) { }
	this.totalSlides = count - 1;
	this.startWithFirst = true
	this.fadeIn = MSSTransition;
	this.finishTrans = MSSDoOpacity;
	return;
}
function WBMosaicSlideShowLinks() {
	var action = this.action;
	if (this.MSSurl == "") this.MSSurl = action[19];
	if (this.MSSurl != "" && this.MSSurl.indexOf("Reference!") == -1) {
		var MSSLisW3C = document.getElementById ? true : false;
		var params;
		if (action[20] == "") {
			window.location.href = this.MSSurl;
		}
		else {
			if (action[20].toLowerCase().indexOf("blank") != -1) {
				var newWidth = window.outerWidth;
				var newHeight = window.outerHeight;
				if (action[21] == 1) {
					newWidth = (action[22] <= screen.availWidth) ? action[22] : screen.availWidth;
					newHeight = (action[23] <= screen.availHeight) ? action[23] : screen.availHeight;
				}
				else if (action[21] == 2) {
					newWidth = (action[22]*screen.availWidth/100 <= screen.availWidth) ? Math.round(action[22]*screen.availWidth/100) : screen.availWidth;
					newHeight = (action[23]*screen.availWidth/100 <= screen.availHeight) ? Math.round(action[23]*screen.availWidth/100) : screen.availHeight;
				}
				else if (action[21] == 3) {
					newWidth = screen.availWidth;
					newHeight = screen.availHeight;
				}
				var params = "";
				var top = "";
				var left = "";
				if (action[32] == 1) {	
					top = action[33];
					left = action[34];
				}
				else if (action[32] == 2) {
					top = (Math.round(screen.availHeight-newHeight)/2);
					left = (Math.round(screen.availWidth-newWidth)/2);
				}
				params += "width=" + newWidth;
				params += ",height=" + newHeight;
				params += ",toolbar=" + (action[24] ? "1" : "0");
				params += ",location=" + (action[25] ? "1" : "0");
				params += ",directories=" + (action[26] ? "1" : "0");
				params += ",status=" + (action[27] ? "1" : "0");
				params += ",menubar=" + (action[28] ? "1" : "0");
				params += ",favorites=" + (action[29] ? "1" : "0");
				params += ",scrollbars=" + (action[30] ? "1" : "0");
				params += ",resizable=" + (action[31] ? "1" : "0");
				params += (MSSLisW3C) ? ",top=" + top + ",left=" + left : ",screenY=" + top + ",screenX=" + left;
				var MSSLnewWindow = window.open(this.MSSurl,"MSSLnewWindow", params);
				return;
			}
			else {
				params = eval(action[20] + ".window.location");
			}
			params.href = this.MSSurl;
		}
	}
	return;
}
function MSSDivPrep() {
	var d = document.getElementsByTagName("div");
	var rule = document.styleSheets[0].cssRules ? "cssRules" : "rules";
	for (var i = 0; i < document.styleSheets.length; i++) {
		for (var j = 0; j < document.styleSheets[i][rule].length; j++) {
			if (document.styleSheets[i][rule][j].selectorText && document.styleSheets[i][rule][j].selectorText.substr(0,1) == "#") {
				var name = document.styleSheets[i][rule][j].selectorText.toLowerCase();
				name = name.substr(1, name.length);
				for (var k = 0; k < d.length; k++) {
					if (name == d[k].id.toLowerCase()) {
						d[k].style.cssText = document.styleSheets[i][rule][j].style.cssText;
						break;
					}
				}
			}
		}
	}
	W3CinitFlag = true;
	return W3CinitFlag;
}
function MSSVersion() {
	return true;
}
//
//-->

// AutoScroll.action v4.2.3 - February 24, 2011
// Copyright © 2000 by Walter Blady
// All rights reserved
var ASisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
var ASisNN6 = navigator.userAgent.indexOf("Netscape6") >= 0;
var ASisIE = window.navigator.userAgent.indexOf("MSIE") >= 0;
var ASisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var ASisW3C = document.getElementById ? true : false;
var ASisOpera = navigator.userAgent.indexOf("Opera") >= 0;
var ASsuff = ASisOpera ? "" : "px";
var ASObject0 = new Object(), ASObject1 = new Object(), ASObject2 = new Object(), ASObject3 = new Object();
var W3CinitFlag = false, ASparamsDiv, ASaction, ASElementObj, ASget = new Array(), ASnam = new Array();
function WBAutoScroll(action) {
	ASaction = action;
	if (parseInt(action[16]) > 0) var t = setTimeout("WBAutoScrollStart()", parseInt(action[16])*1000);
	else WBAutoScrollStart();
	return;
}
function WBAutoScrollStart() {
	if (ASVersion()) {
		action = ASaction;
		var obj = eval("ASObject" + action[1]);
		obj.name = "ASObject" + action[1];
		if (obj && obj.clipingBoxDiv && obj.clipingBoxDiv.cursorScrolling) return;
		obj.ASaction = action;
		if (action[2] == 6) {
			if (obj.ASrep > 0) clearTimeout(obj.ASrep);
			if (obj.ASrepeat > 0) clearInterval(obj.ASrepeat);
			obj.ASstopFlag = true;
			return;
		}
		if (action[2] == 4 || action[2] == 5) {
			if (obj.ASrep > 0) clearTimeout(obj.ASrep);
			if (obj.ASrepeat > 0) clearInterval(obj.ASrepeat);
			obj.ASpauseFlag = false;
			if (ASaction[2] == 5) {
				if (obj.idx == 0 && !obj.ASstopFlag) obj.ASrepeat = setInterval("ASObject0.doscroll()", obj.ASdelay);
				if (obj.idx == 1 && !obj.ASstopFlag) obj.ASrepeat = setInterval("ASObject1.doscroll()", obj.ASdelay);
				if (obj.idx == 2 && !obj.ASstopFlag) obj.ASrepeat = setInterval("ASObject2.doscroll()", obj.ASdelay);
				if (obj.idx == 3 && !obj.ASstopFlag) obj.ASrepeat = setInterval("ASObject3.doscroll()", obj.ASdelay);
			}
			return;
		}
		if (action[2] == 11) { obj.ASlines += parseInt(action[13]); return; }
		if (action[2] == 12) {
			if (obj.ASlines - parseInt(action[13]) >= 1) { 
				obj.ASlines -= parseInt(action[13]);
			}
			return;
		}
		ASget.push(setInterval("{ if (ASGetElement()) WBAutoScroll2() }", 100));
		ASnam[ASget.length] = obj;
	}
	return;
}
function ASGetElement() {
	ASElementObj = eval("document.getElementById('" + ASnam[ASget.length].ASaction[5] + "')");
	return ASElementObj;
}
function WBAutoScroll2() {
	if (ASVersion()) {
		var obj = eval("ASObject" + ASnam[ASget.length].ASaction[1]);
		ASaction = obj.ASaction
		if (ASget.length > 0) clearInterval(ASget.pop());
		if (!obj.init) {
			obj.idx = ASaction[1];
			obj.init = true;
			obj.ASupDown = ASaction[2] == 0 || ASaction[2] == 1 || ASaction[2] == 8 || ASaction[2] == 10;
			obj.doinit = ASDoInit;
			obj.doinit2 = ASDoInit2;
			obj.doinit();
		}
		if (obj.contentBox.wrapBox && !obj.clipingBoxDiv.cursorScrolling) obj.doinit2();
		if (obj.contentBox.wrapBox) obj.ASyOrig = 0;
		if (obj.contentBox.wrapBox) obj.ASxOrig = 0;
		obj.ASstartDelay = parseInt(ASaction[7])*1000;
		obj.ASendDelay = parseInt(ASaction[8])*1000;
		if (ASaction[9].toLowerCase() == "full") {
			 if (ASaction[2] == 0 || ASaction[2] == 1 || ASaction[2] == 8 || ASaction[2] == 10) obj.ASpixelLines = obj.clipBoxHeight - 10;
			 if (ASaction[2] == 2 || ASaction[2] == 3 || ASaction[2] == 7 || ASaction[2] == 9) obj.ASpixelLines = obj.clipBoxWidth - 10;
		}
		else {
			obj.ASpixelLines = parseInt(ASaction[9]);
		}
		obj.ASlineDelay = parseInt(ASaction[10])*1000;
		obj.ASlines = obj.ASaction[2] == 7 || obj.ASaction[2] == 8 ? 0 : parseInt(ASaction[13]);
		obj.ASdelay = parseInt(ASaction[14]);
		obj.AShotzone = parseInt(ASaction[15]);
		obj.ASpauseFlag = false;
		if (obj.ASrep > 0) clearTimeout(obj.ASrep);
		if (obj.ASrepeat > 0) clearInterval(obj.ASrepeat);
		if (ASaction[2] == 0 || ASaction[2] == 8) {
			obj.ASupDown = true;
			obj.ASminus = false;
			if (obj.idx == 0) obj.ASrepeat = setInterval("ASObject0.doscroll()", obj.ASdelay);
			if (obj.idx == 1) obj.ASrepeat = setInterval("ASObject1.doscroll()", obj.ASdelay);
			if (obj.idx == 2) obj.ASrepeat = setInterval("ASObject2.doscroll()", obj.ASdelay);
			if (obj.idx == 3) obj.ASrepeat = setInterval("ASObject3.doscroll()", obj.ASdelay);
		}
		if (ASaction[2] == 1) {
			obj.ASupDown = true;
			obj.ASminus = true;
			if (obj.idx == 0) obj.ASrepeat = setInterval("ASObject0.doscroll()", obj.ASdelay);
			if (obj.idx == 1) obj.ASrepeat = setInterval("ASObject1.doscroll()", obj.ASdelay);
			if (obj.idx == 2) obj.ASrepeat = setInterval("ASObject2.doscroll()", obj.ASdelay);
			if (obj.idx == 3) obj.ASrepeat = setInterval("ASObject3.doscroll()", obj.ASdelay);
		}
		if (ASaction[2] == 2 || ASaction[2] == 7) {
			obj.ASupDown = false;
			obj.ASminus = false;
			if (obj.idx == 0) obj.ASrepeat = setInterval("ASObject0.doscroll()", obj.ASdelay);
			if (obj.idx == 1) obj.ASrepeat = setInterval("ASObject1.doscroll()", obj.ASdelay);
			if (obj.idx == 2) obj.ASrepeat = setInterval("ASObject2.doscroll()", obj.ASdelay);
			if (obj.idx == 3) obj.ASrepeat = setInterval("ASObject3.doscroll()", obj.ASdelay);
		}
		if (ASaction[2] == 3) {
			obj.ASupDown = false;
			obj.ASminus = true;
			if (obj.idx == 0) obj.ASrepeat = setInterval("ASObject0.doscroll()", obj.ASdelay);
			if (obj.idx == 1) obj.ASrepeat = setInterval("ASObject1.doscroll()", obj.ASdelay);
			if (obj.idx == 2) obj.ASrepeat = setInterval("ASObject2.doscroll()", obj.ASdelay);
			if (obj.idx == 3) obj.ASrepeat = setInterval("ASObject3.doscroll()", obj.ASdelay);
		}
	}
	return;
}
function ASDoScroll() {
	var panx = 0, pany = 0;
	if (!this.ASpauseFlag && this.ASautoFlag) {
		this.scrollto(this.contentBox, this.ASxloc, this.ASyloc, panx, pany);
		this.ASpauseFlag = true;
		this.ASautoFlag = false;
		if (this.idx == 0) this.ASrep = setTimeout("ASObject0.pause()", this.ASstartDelay);
		if (this.idx == 1) this.ASrep = setTimeout("ASObject1.pause()", this.ASstartDelay);
		if (this.idx == 2) this.ASrep = setTimeout("ASObject2.pause()", this.ASstartDelay);
		if (this.idx == 3) this.ASrep = setTimeout("ASObject3.pause()", this.ASstartDelay);
	}
	if (!this.ASpauseFlag && this.ASpixelLines > 0 && this.ASpixCount >= this.ASpixelLines) {
		this.ASpixCount = 0;
		this.ASpauseFlag = true;
		if (this.idx == 0) this.ASrep = setTimeout("ASObject0.pause()", this.ASlineDelay);
		if (this.idx == 1) this.ASrep = setTimeout("ASObject1.pause()", this.ASlineDelay);
		if (this.idx == 2) this.ASrep = setTimeout("ASObject2.pause()", this.ASlineDelay);
		if (this.idx == 3) this.ASrep = setTimeout("ASObject3.pause()", this.ASlineDelay);
	}
	if (!this.ASpauseFlag) {
		var origin, posOrig;
		if (this.ASupDown) {
			if (this.ASminus) {
				this.end = this.ASyloc <= this.ASyDest;
				if (!this.end) {
					origin = this.contentBox.wrapBox ? this.ASyDest : this.ASyOrig;
					posOrig = origin >= 0 ? this.ASyloc - this.ASlines <= origin : this.ASyloc - this.ASlines >= origin;
					if (this.contentBox.wrapBox) {
						this.ASyloc = posOrig ? this.ASyloc - this.ASlines : origin;
					}
					else {
						this.ASyloc = this.ASyloc - this.ASlines;
					}
					pany = this.ASyloc <= 0 ? this.contBoxHeight : -this.contBoxHeight;
				}
			}
			else {
				this.end = this.ASyloc >= Math.abs(this.ASyDestu);
				if (!this.end) {
					origin = this.contentBox.wrapBox ? this.ASyDestu : this.ASyOrig;
					posOrig = origin >= 0 ? this.ASyloc + this.ASlines <= origin : this.ASyloc + this.ASlines >= origin;
					if (this.contentBox.wrapBox) {
						this.ASyloc = posOrig ? this.ASyloc + this.ASlines : origin;
					}
					else {
						this.ASyloc = this.ASyloc + this.ASlines;
					}
					pany = this.ASyloc <= 0 ? this.contBoxHeight : -this.contBoxHeight;
				}
			}
		}
		else {
			if (this.ASminus) {
				this.end = this.ASxloc <= this.ASxDest;
				if (!this.end) {
					origin = this.contentBox.wrapBox ? this.ASxDest : this.ASxOrig;
					posOrig = origin >= 0 ? this.ASxloc - this.ASlines <= origin : this.ASxloc - this.ASlines >= origin;
					if (this.contentBox.wrapBox) {
						this.ASxloc = posOrig ? this.ASxloc - this.ASlines : origin;
					}
					else {
						this.ASxloc = this.ASxloc - this.ASlines;
					}
					panx = this.ASxloc <= 0 ? this.contBoxWidth : -this.contBoxWidth;
				}
			}
			else {
				this.end = this.ASxloc >= Math.abs(this.ASxDestl);
				if (!this.end) {
					origin = this.contentBox.wrapBox ? this.ASxDestl : this.ASxOrig;
					posOrig = origin >= 0 ? this.ASxloc + this.ASlines <= origin : this.ASxloc + this.ASlines >= origin;
					if (this.contentBox.wrapBox) {
						this.ASxloc = posOrig ? this.ASxloc + this.ASlines : origin;
					}
					else {
						this.ASxloc = this.ASxloc + this.ASlines;
					}
					panx = this.ASxloc <= 0 ? this.contBoxWidth : -this.contBoxWidth;
				}
			}
		}
		this.scrollto(this.contentBox, this.ASxloc, this.ASyloc, panx, pany);
		this.ASpixCount += this.ASlines;
	}
	if (this.end) {
		this.end = false;
		if (this.ASloop) {
			this.ASpauseFlag = true;
			this.ASautoFlag = true;
			this.ASyloc = this.ASyOrig;
			this.ASxloc = this.ASxOrig;
			this.ASpixCount = 0;
			if (this.contentBox.wrapBox) {
				this.scrollto(this.contentBox, this.ASxloc, this.ASyloc, panx, pany);
				this.ASpixCount += this.ASlines;
			}
			if (this.idx == 0) this.ASrep = setTimeout("ASObject0.pause()", this.ASendDelay);
			if (this.idx == 1) this.ASrep = setTimeout("ASObject1.pause()", this.ASendDelay);
			if (this.idx == 2) this.ASrep = setTimeout("ASObject2.pause()", this.ASendDelay);
			if (this.idx == 3) this.ASrep = setTimeout("ASObject3.pause()", this.ASendDelay);
		}
		else {
			if (this.ASrepeat > 0 && this.ASaction[2] != 7 && ASaction[2] != 8) clearInterval(this.ASrepeat);
			if (this.ASrep > 0) clearTimeout(this.ASrep);
		}
	}
	return;
}
function ASScrollTo(obj, x, y, panx, pany) {
	if (ASisW3C) {
		obj.left = x + ASsuff;
		obj.top = y + ASsuff;
		if (obj.wrapBox) {
			obj.wrapBox.left = (x + panx) + ASsuff;
			obj.wrapBox.top = (y + pany) + ASsuff;
		}
	}
	return;
}
function ASPause() {
	this.ASpauseFlag = false;
	clearTimeout(this.ASrep);
	return;
}
function ASGetObject(objName) {
	var params;
	if (ASisW3C) {
		params = eval('document.getElementById("' + objName + '").style');
		ASparamsDiv = eval('document.getElementById("' + objName + '")');
	}
	return params;
}
function ASFindLayerObject(layer, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = document;
	}
	var layerObj = thisDocument[layer];
	if (layerObj) {
		return layerObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			layerObj = ASFindLayerObject(layer, thisDocument.layers[i]); 
			if (layerObj) {
				break;
			}
		}
	}
	return layerObj;
}
function ASListenOn() {
	if (this.addEventListener) {
		this.addEventListener("mousemove", ASAutoScrollControl, false);
		this.addEventListener("mouseover", ASAutoScrollControl, false);
	}
	else if (document.attachEvent) {
		if (!ASisIE) {
			this.attachEvent("onmousemove", ASAutoScrollControl);
			this.attachEvent("onmouseover", ASAutoScrollControl);
		}
		else {
			this.onmousemove = ASAutoScrollControl;
			this.onmouseover = ASAutoScrollControl;
		}
	}
	return;
}
function ASBorderListenOn() {
	if (this.addEventListener) {
		this.addEventListener("mousemove", ASAutoScrollBorderControl, false);
	}
	else if (this.attachEvent) {
		if (!ASisIE) {
			this.attachEvent("onmousemove", ASAutoScrollBorderControl);
		}
		else {
			this.onmousemove = ASAutoScrollBorderControl;
		}
	}
	return;
}
function ASListenOff() {
	if (this.addEventListener) {
		this.removeEventListener("mousemove", ASAutoScrollControl, false);
		this.removeEventListener("mouseover", ASAutoScrollControl, false);
		this.removeEventListener("mousemove", ASAutoScrollBorderControl, false);
	}
	else if (this.attachEvent) {
		if (!ASisIE) {
			this.detachEvent("onmousemove", ASAutoScrollControl);
			this.detachEvent("onmouseover", ASAutoScrollControl);
			this.detachEvent("onmousemove", ASAutoScrollBorderControl);
		}
		else {
			this.onmousemove = null;
			this.onmouseover = null;
		}
	}
	return;
}
function ASAutoScrollControl(e) {
	var e = (ASisIE) ? event : e;
	this.x = e.pageX ? e.pageX : window.event.clientX;
	this.y = e.pageY ? e.pageY : window.event.clientY;
	var st = document.body.scrollTop + document.documentElement.scrollTop;
	var sl = document.body.scrollLeft + document.documentElement.scrollLeft;
	this.x = ASisIE ? this.x + sl : this.x;
	this.y = ASisIE ? this.y + st : this.y;
	if (!this.inbounds(e)) {
		clearTimeout(this.obj.ASrep);
		clearInterval(this.obj.ASrepeat);
		this.hotspoton = false;
		this.obj.clipingBoxDiv.cursorScrolling = false;
		this.obj.init = false;
	}
	if (this.hotspoton) {
		if (this.obj.ASaction[2] == 7) {
			this.obj.ASupDown = false;
			this.obj.ASminus = this.x >= this.obj.div.hmidpoint;
			var l = (((this.x-this.obj.div.clipBoxLeft) * -100 / (this.obj.div.clipBoxWidth/2)) + 100) *.1;
			var r = (((this.x-this.obj.div.clipBoxLeft) * 100 / (this.obj.div.clipBoxWidth/2)) - 100) *.1;
			this.obj.ASlines = this.x >= this.obj.div.hmidpoint ? r : l;
		}
		else if (this.obj.ASaction[2] == 8) {
			this.obj.ASupDown = true;
			this.obj.ASminus = this.y >= this.obj.div.vmidpoint;
			var t = (((this.y-this.obj.div.clipBoxTop) * -100 / (this.obj.div.clipBoxHeight/2)) + 100) *.1;
			var b = (((this.y-this.obj.div.clipBoxTop) * 100 / (this.obj.div.clipBoxHeight/2)) - 100) *.1;
			this.obj.ASlines = this.y >= this.obj.div.vmidpoint ? b : t;
		}
	}
	else {
		this.hotspoton = this.hotspot(e);
	}
	return;
}
function ASInBounds(e) {
	var e = (ASisIE) ? event : e;
	this.x = e.pageX ? e.pageX : window.event.clientX;
	this.y = e.pageY ? e.pageY : window.event.clientY;
	var st = document.body.scrollTop + document.documentElement.scrollTop;
	var sl = document.body.scrollLeft + document.documentElement.scrollLeft;
	this.x = ASisIE ? this.x + sl : this.x;
	this.y = ASisIE ? this.y + st : this.y;
	return this.x > this.obj.div.clipBoxLeft && this.x < (this.obj.div.clipBoxLeft + this.obj.div.clipBoxWidth) && this.y > this.obj.div.clipBoxTop && this.y < (this.obj.div.clipBoxTop + this.obj.div.clipBoxHeight);
}
function ASHotSpot(e) {
	var e = (ASisIE) ? event : e;
	this.x = e.pageX ? e.pageX : window.event.clientX;
	this.y = e.pageY ? e.pageY : window.event.clientY;
	var st = document.body.scrollTop + document.documentElement.scrollTop;
	var sl = document.body.scrollLeft + document.documentElement.scrollLeft;
	this.x = ASisIE ? this.x + sl : this.x;
	this.y = ASisIE ? this.y + st : this.y;
	if (this.obj.ASaction[2] == 7 || this.obj.ASaction[2] == 8) return this.x > this.obj.div.cursorL && this.x < this.obj.div.cursorR && this.y > this.obj.div.cursorT && this.y < this.obj.div.cursorB;
}
function ASAutoScrollBorderControl(e) {
	var e = (ASisIE) ? event : e;
	this.x = e.pageX ? e.pageX : window.event.clientX;
	this.y = e.pageY ? e.pageY : window.event.clientY;
	var st = document.body.scrollTop + document.documentElement.scrollTop;
	var sl = document.body.scrollLeft + document.documentElement.scrollLeft;
	this.x = ASisIE ? this.x + sl : this.x;
	this.y = ASisIE ? this.y + st : this.y;
	if (this.inborderbounds(e)) {
		if (!this.obj.div.scrolling) {
			if (this.obj.ASaction[2] == 9) {
				this.obj.ASminus = this.x >= this.obj.div.hmidpoint;
				if (this.obj.idx == 0) this.ASrepeat = setInterval("ASObject0.doscroll()", this.obj.ASdelay);
				if (this.obj.idx == 1) this.ASrepeat = setInterval("ASObject1.doscroll()", this.obj.ASdelay);
				if (this.obj.idx == 2) this.ASrepeat = setInterval("ASObject2.doscroll()", this.obj.ASdelay);
				if (this.obj.idx == 3) this.ASrepeat = setInterval("ASObject3.doscroll()", this.obj.ASdelay);
			}
			if (this.obj.ASaction[2] == 10) {
				this.obj.ASminus = this.y >= this.obj.div.vmidpoint;
				if (this.obj.idx == 0) this.ASrepeat = setInterval("ASObject0.doscroll()", this.obj.ASdelay);
				if (this.obj.idx == 1) this.ASrepeat = setInterval("ASObject1.doscroll()", this.obj.ASdelay);
				if (this.obj.idx == 2) this.ASrepeat = setInterval("ASObject2.doscroll()", this.obj.ASdelay);
				if (this.obj.idx == 3) this.ASrepeat = setInterval("ASObject3.doscroll()", this.obj.ASdelay);
			}
			this.obj.div.scrolling = true;
		}
	}
	else {
		clearTimeout(this.ASrep);
		clearInterval(this.ASrepeat);
		this.obj.div.scrolling = false;
		if (this.obj.ASxloc < 0 && this.obj.contentBox.wrapBox) this.obj.contentBox.wrapBox.left = this.obj.ASxloc + this.obj.contBoxWidth + "px";
	}
	return;
}
function ASInBorderBounds(e) {
	var isin = false;
	var e = (ASisIE) ? event : e;
	this.x = e.pageX ? e.pageX : window.event.clientX;
	this.y = e.pageY ? e.pageY : window.event.clientY;
	var con = this.obj.div.offsetParent;
	var ol = con ? con.offsetLeft : 0;
	var ot = con ? con.offsetTop : 0;
	var st = document.body.scrollTop + document.documentElement.scrollTop;
	var sl = document.body.scrollLeft + document.documentElement.scrollLeft;
	this.x = ASisIE ? this.x + sl - ol : this.x - ol;
	this.y = ASisIE ? this.y + st - ot : this.y - ot;
	var l1 = this.obj.div.clipBoxLeft+1, l2 = this.obj.div.clipBoxLeft+this.obj.AShotzone; r1 = this.obj.div.clipBoxLeft+this.obj.div.clipBoxWidth-this.obj.AShotzone, r2 = this.obj.div.clipBoxLeft+this.obj.div.clipBoxWidth-1;
	var t1 = this.obj.div.clipBoxTop+1, t2 = this.obj.div.clipBoxTop+this.obj.AShotzone; b1 = this.obj.div.clipBoxTop+this.obj.div.clipBoxHeight-this.obj.AShotzone, b2 = this.obj.div.clipBoxTop+this.obj.div.clipBoxHeight-1;
	if (this.obj.ASaction[2] == 9) var isin = ((this.x >= l1 && this.x <= l2) || (this.x >= r1 && this.x <= r2)) && this.y >= t1 && this.y <= b2;
	else if (this.obj.ASaction[2] == 10) var isin = ((this.y >= t1 && this.y <= t2) || (this.y >= b1 && this.y <= b2)) && this.x >= l1 && this.x <= r2;
	return isin;
}
function ASDoInit() {
	this.getobject = ASGetObject;
	this.scrollto = ASScrollTo;
	this.pause = ASPause;
	this.doscroll = ASDoScroll;
	this.clipingBox = this.getobject(this.ASaction[4]);
	this.clipingBoxDiv = ASparamsDiv;
	this.clipingBoxDiv.ASaction = this.ASaction;
	document.obj = this;
	document.obj.div = this.clipingBoxDiv;
	document.listenon = ASListenOn;
	document.listenoff = ASListenOff;
	document.hotspot = ASHotSpot;
	document.hotspoton = false;
	document.inbounds = ASInBounds;
	document.inborderbounds = ASInBorderBounds;
	document.listenborderon = ASBorderListenOn;
	document.hotborderspoton = false;
	this.contentBox = this.getobject(this.ASaction[5]);
	this.contentBoxDiv = ASparamsDiv;
	this.contentBox.wrapBox = null;
	if (this.ASaction[6] != "") {
		this.contentBox.wrapBox = this.getobject(this.ASaction[6]);
	}
	this.ASloop = this.contentBox.wrapBox ? true : this.ASaction[11];
	this.ASscrollOut = this.contentBox.wrapBox ? true : this.ASaction[12];
	this.ASstopFlag = false;
 	this.ASrepeat = 0;
 	this.ASrep = 0;
	this.ASstartDelay = 0;
	this.ASlineDelay = 0;
	this.ASendDelay = 0;
	this.ASyDest = 0;
	this.ASyOrig = 0;
	this.ASyloc = 0;
	this.ASxDest = 0;
	this.ASxOrig = 0;
	this.ASxloc = 0;
	this.ASpixCount = 0;
	this.ASpauseFlag = false;
	this.ASautoFlag = this.ASaction[3] == 0 ? true : false;
	this.ASstopFlag = false;
	this.end = false;
	if (ASisW3C) {
		var clipingBox = document.getElementById(this.ASaction[4]);
		var contentBox = document.getElementById(this.ASaction[5]);
		this.contBoxWidth = contentBox.clientWidth;
		this.contBoxHeight = contentBox.clientHeight;
		this.contBoxTop = contentBox.offsetTop;
		this.contBoxLeft = contentBox.offsetLeft;
		this.clipBoxWidth = clipingBox.clientWidth;
		this.clipBoxHeight = clipingBox.clientHeight;
		this.clipBoxTop = clipingBox.offsetTop;
		this.clipBoxLeft = clipingBox.offsetLeft;
		this.clipingBoxDiv.clipBoxWidth = clipingBox.clientWidth;
		this.clipingBoxDiv.clipBoxHeight = clipingBox.clientHeight;
		this.clipingBoxDiv.clipBoxTop = parseInt(this.clipBoxTop);
		this.clipingBoxDiv.clipBoxLeft = parseInt(this.clipBoxLeft);
		this.clipingBox.overflow = "hidden";
	}
	this.clipingBoxDiv.cursorL = this.clipingBoxDiv.clipBoxLeft;
	this.clipingBoxDiv.cursorR = this.clipingBoxDiv.clipBoxLeft + this.clipBoxWidth;
	this.clipingBoxDiv.cursorT = this.clipingBoxDiv.clipBoxTop;
	this.clipingBoxDiv.cursorB = this.clipingBoxDiv.clipBoxTop + this.clipBoxHeight;
	var opy = this.clipingBoxDiv.offsetParent ? this.clipingBoxDiv.offsetParent.offsetTop : 0;
	var opx = this.clipingBoxDiv.offsetParent ? this.clipingBoxDiv.offsetParent.offsetLeft : 0;
	this.clipingBoxDiv.hmidpoint = this.clipingBoxDiv.clipBoxLeft + (this.clipBoxWidth / 2 + opy);
	this.clipingBoxDiv.vmidpoint = this.clipingBoxDiv.clipBoxTop + (this.clipBoxHeight / 2) + opx;
	this.clipingBoxDiv.obj = this;
	if (this.contentBox.wrapBox) {
		if (ASisW3C) {
			if (this.ASupDown) {
				this.contentBox.wrapBox.left = this.contBoxLeft;
				this.contentBox.wrapBox.top = this.contBoxTop < 0 ? this.contBoxTop + this.contBoxHeight + ASsuff : this.contBoxTop - this.contBoxHeight + ASsuff;
			}
			else {
				this.contentBox.wrapBox.top = this.contBoxTop;
				this.contentBox.wrapBox.left = this.contBoxLeft < 0 ? this.contBoxLeft + this.contBoxWidth + ASsuff : this.contBoxLeft - this.contBoxWidth + ASsuff;
			}
		}
	}
	this.ASyOrig = this.contBoxTop;
	this.ASxOrig = this.contBoxLeft;
	this.ASyloc = this.contBoxTop;
	this.ASxloc = this.contBoxLeft;
	this.ASminus = this.ASaction[2] == 1 || this.ASaction[2] == 3;
	if (this.ASscrollOut) {
		this.ASyDest = -1*this.contBoxHeight;
		this.ASyDestu = this.contBoxHeight;
		this.ASxDest = -1*this.contBoxWidth;
		this.ASxDestl = this.contBoxWidth;
	}
	else {
		this.ASyDest = -1*(this.contBoxHeight - this.clipBoxHeight);
		this.ASyDestu = 0;
		this.ASxDest = -1*(this.contBoxWidth - this.clipBoxWidth);
		this.ASxDestl = 0;
	}
	if (this.ASaction[2] == 7 || this.ASaction[2] == 8) {
		document.listenoff();
		document.listenon();
		this.clipingBoxDiv.cursorScrolling = true;
	}
	if (this.ASaction[2] == 9 || this.ASaction[2] == 10) {
		document.listenoff();
		document.listenborderon();
		this.clipingBoxDiv.cursorScrolling = true;
	}
	return;
}
function ASDoInit2() {
	if (ASisW3C) {
		var clipingBox = document.getElementById(this.ASaction[4]);
		var contentBox = document.getElementById(this.ASaction[5]);
		this.contBoxWidth = contentBox.clientWidth;
		this.contBoxHeight = contentBox.clientHeight;
		this.contBoxTop = contentBox.offsetTop;
		this.contBoxLeft = contentBox.offsetLeft;
		this.clipBoxWidth = clipingBox.clientWidth;
		this.clipBoxHeight = clipingBox.clientHeight;
		this.clipBoxTop = clipingBox.offsetTop;
		this.clipBoxLeft = clipingBox.offsetLeft;
		this.clipingBoxDiv.clipBoxWidth = clipingBox.clientWidth;
		this.clipingBoxDiv.clipBoxHeight = clipingBox.clientHeight;
		this.clipingBoxDiv.clipBoxTop = parseInt(this.clipBoxTop);
		this.clipingBoxDiv.clipBoxLeft = parseInt(this.clipBoxLeft);
		this.clipingBox.overflow = "hidden";
	}
	this.clipingBoxDiv.cursorL = this.clipingBoxDiv.clipBoxLeft;
	this.clipingBoxDiv.cursorR = this.clipingBoxDiv.clipBoxLeft + this.clipBoxWidth;
	this.clipingBoxDiv.cursorT = this.clipingBoxDiv.clipBoxTop;
	this.clipingBoxDiv.cursorB = this.clipingBoxDiv.clipBoxTop + this.clipBoxHeight;
	this.clipingBoxDiv.hmidpoint = this.clipingBoxDiv.clipBoxLeft + (this.clipBoxWidth / 2);
	this.clipingBoxDiv.vmidpoint = this.clipingBoxDiv.clipBoxTop + (this.clipBoxHeight / 2);
	this.clipingBoxDiv.obj = this;
	this.scrolling = false;
	if (this.contentBox.wrapBox) {
		if (ASisW3C) {
			if (this.ASupDown) {
				this.contentBox.wrapBox.left = this.contBoxLeft;
				this.contentBox.wrapBox.top = this.ASminus ? this.contBoxTop + this.contBoxHeight + ASsuff : this.contBoxTop - this.contBoxHeight + ASsuff;
			}
			else {
				this.contentBox.wrapBox.top = this.contBoxTop;
				this.contentBox.wrapBox.left = this.ASminus ? this.contBoxLeft + this.contBoxWidth + ASsuff : this.contBoxLeft - this.contBoxWidth + ASsuff;
			}
		}
	}
	this.ASyOrig = this.contBoxTop;
	this.ASxOrig = this.contBoxLeft;
	this.ASyloc = this.contBoxTop;
	this.ASxloc = this.contBoxLeft;
	return;
}
function ASVersion() {
	return true;
}
//

//-->

// WBStickemUpsv.action sv3.1 - November 19, 2011
// Copyright © 1999 by Walter Blady
// All rights reserved
var SUisIE = window.navigator.userAgent.indexOf("MSIE") > -1;
var SUisW3C = document.getElementById ? true : false;
var SUisIE3 = navigator.appVersion.indexOf("MSIE 3") != -1;
var SUisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
var SUisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var SUisNN6 = navigator.userAgent.indexOf("Netscape6") >= 0;
var SUisMac = navigator.platform.indexOf("Mac") > -1;
var SUisNN = navigator.userAgent.indexOf("Navigator") >= 0;
var SUisMacNN = SUisMac && SUisNN && parseInt(navigator.appVersion.charAt(0)) < 8;
var SUisMacIE = SUisMac && SUisIE;
var SUNewWind = new Object(), SUWindowObj, SUWindowName, SUParams, SUTimer = 0, SUTimerArray = new Array();
var SUtimeOut, SUstate, W3CinitFlag = false, SUvis, SUhid;
function WBStickemUpsv(action) {
	if (SUVersion()) {
		if (!W3CinitFlag && SUisW3C) SUDivPrep();
		if (action[1] != "") {
			var tempName = action[1].replace(/ /g, "_");
			SUWindowObj = tempName;
			SUWindowName = tempName + "win";
			SUParams = "width=" + parseInt(action[2]) + ", height=" + parseInt(action[3]) + ", toolbar=0,locationbar=0,directories=0,statusbar=0,menubar=0,scrollbars=0,favorites=0,navigationbar=0,personalbar=0,resizable=1,sidebar=0";
			var screenWidth = screen.width;
			var screenHeight = screen.height;
			if (action[7] == 0) {
				var left = (screenWidth - (parseInt(action[2])+20))/2;
				var top = (screenHeight - (parseInt(action[3])+50))/2;
			}
			else if (action[7] == 1) {
				var left = 20;
				var top = 40;
			}
			else if (action[7] == 2) {
				var left = 20;
				var top = (screenHeight - (parseInt(action[3])+50));
			}
			else if (action[7] == 3) {
				var left = (screenWidth - (parseInt(action[2])+20));
				var top = 40;
			}
			else if (action[7] == 4) {
				var left = (screenWidth - (parseInt(action[2])+20));
				var top = (screenHeight - (parseInt(action[3])+50));
			}
			SUParams += (SUisIE || SUisW3C) ? ",top=" + top + ",left=" + left : ",screenY=" + top + ",screenX=" + left;
			var screenHeight = screen.height;
			var SUMess = '<html><head>';
			SUMess += '<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">';
			SUMess += '<title>' + action[1] + '</title>';
			if (action[6] != "") SUMess += '<style type="text/css"><!--.style1 {font-size:' + action[6] + '; font-family: Arial, Helvetica, sans-serif;} .style2 {font-size:12px; font-family: Arial, Helvetica, sans-serif;}--></style>';
			if (action[12] != "" && action[12].indexOf("Reference!") == -1) {
				SUMess += '<link href="' + action[12] + '" rel="stylesheet" media="screen">';
			}
			SUMess += '<script language="Javascript">function SUCloseWindow() { self.window.close(); return;}</' + 'script>';
			var color = "#SUSU00";
			if (action[5] != "") {
				color = "#" + action[5];
			}
			SUMess += '</head><body bgcolor="' + color + '">';
			var notice = "";
			if (SUNotices && action[10] != "") {
				notice = eval("SUNotice" + action[10] + "()");
			}
			if (action[12] != "") {
				SUMess += '<p>' + notice + '</p>';
			}
			else {
				SUMess += action[6] != "" ? '<p><span class="style1">' + notice + '</span></p>' : '<p>' + notice + '</p>';
			}
			SUMess += '<p><a href="Javascript:void(SUCloseWindow())">' + '<span class="style2">' + action[11] + '</span>' + '</a></p></body></html>';
			if (!SUNewWind[SUWindowObj] || SUNewWind[SUWindowObj].closed) {
				SUNewWind[SUWindowObj] = window.open("", SUWindowName, SUParams);
				SUNewWind[SUWindowObj].document.write(SUMess);
				SUNewWind[SUWindowObj].document.close();
				SUNewWind[SUWindowObj].focus();
			}
			else {
				SUNewWind[SUWindowObj].focus();
			}
			if (action[9] > 0 && SUWindowObj) {
				SUTimer = "SUCloseWind" + action[8] + "()";
				SUNewWind[SUWindowObj].value = setTimeout(SUTimer, parseInt(action[9])*1000);
				SUTimerArray[action[8]] = SUNewWind[SUWindowObj];
			}
		}
		if (action[13] != "") {
			SUvis = (SUisW3C || SUisIE4) ? "visible" : "show";
			SUhid = (SUisW3C || SUisIE4) ? "hidden" : "hide";
			SUParams = SUGetObject(action[13], "");
			if (SUParams) {
				if (SUParams.transSwipe) clearInterval(SUParams.transSwipe);
				SUParams.swipein = action[14];
				SUParams.openDelay = parseInt(action[19]) * 1000;
				SUParams.openDelay = SUisIE && SUParams.openDelay == 0 ? 1 : SUParams.openDelay
				SUParams.scrollInterval = 30;
				SUParams.scrollSpeed = parseInt(action[20]);
				SUParams.doOpacity = SUDoOpacity;
				if (SUParams.style.visibility == SUvis && SUParams.swipein < 5) return;
				if (SUParams.swipein < 5) {
					SUParams.borderWidth = parseInt(SUParams.style.borderLeftWidth + 0) + parseInt(SUParams.style.borderRightWidth + 0);
					SUParams.borderHeight = parseInt(SUParams.style.borderBottomWidth + 0) + parseInt(SUParams.style.borderTopWidth + 0);
					SUParams.style.borderRadius = action[18] + "px";
					SUParams.style.MozBorderRadius = action[18] + "px";
					SUParams.style.WebkitBorderRadius = action[18] + "px";
					var r = parseInt(action[26].substr(0, 2), 16)+",", g = parseInt(action[26].substr(2, 2), 16)+",", b = parseInt(action[26].substr(5, 2), 16)+",";
					var opa = SUisIE ? parseInt(action[27]) : parseInt(action[27])/100;
					var rgbcolor = "RGBa(" + r + g + b + opa + ")";
					SUParams.style.boxShadow = eval('"' + action[21] + "px " + action[22] + "px " + action[23] + "px " + action[24] + "px " + rgbcolor + '"');
					SUParams.style.MozBoxShadow = eval('"' + action[21] + "px " + action[22] + "px " + action[23] + "px " + action[24] + "px " + rgbcolor + '"');
					SUParams.style.WebkitBoxShadow = eval('"' + action[21] + "px " + action[22] + "px " + action[23] + "px " + action[24] + "px " + rgbcolor + '"');
					SUParams.shad = 3 * parseInt(SUParams.style.boxShadow);
					SUParams.paddingWidth = parseInt(SUParams.style.paddingLeft + 0) + parseInt(SUParams.style.paddingRight + 0);
					SUParams.paddingHeight = parseInt(SUParams.style.paddingTop + 0) + parseInt(SUParams.style.paddingBottom + 0);
					SUParams.widthComp = SUParams.borderWidth + SUParams.paddingWidth;
					SUParams.heightComp = SUParams.borderHeight + SUParams.paddingHeight;
					SUParams.orgWidth = parseInt(SUParams.style.width)+SUParams.widthComp;
					SUParams.orgHeight = parseInt(SUParams.style.height)+SUParams.heightComp;
					if (action[15] > 0 ) {
						var blank = SUisNav4 ? null : "Transparent";
						var color = action[15] == 2 ? blank : "#" + action[17];
						if (SUisNav4) {
							SUParams.bgColor = color;
						}
						else {
							SUParams.style.backgroundColor = color;
						}
					}
					var notice = "";
					if (action[28] != "") {
						try {
							SUNotices;
							notice = eval("SUNotice" + action[28] + "()");
							SUParams.innerHTML = SUParams.innerHTML.substr(0, SUParams.innerHTML.toLowerCase().indexOf("</div>")+6) + notice;
						}
						catch (errorCode) {
							var mess = "StickemUp can not find the SUNotices.js file.\n";
							mess += "You must link this file to this page."
							alert(mess);
							return;
						}
					}
					if (action[29] != "" && action[30] != "" && action[30].indexOf("Reference!") == -1) {
						var obj = window.frames[action[29]];
						obj.location.href = action[30];
					}
				}
				if (SUParams.swipein == 0) {
					var t = setTimeout("SUShowHide(SUParams, SUvis)", SUParams.openDelay);
				}
				else if (SUParams.swipein == 3) {
					SUParams.docenterswipe = SUDoCenterSwipeWindow;
					var t = setTimeout("SUParams.docenterswipe()", SUParams.openDelay);
				}
				else if (SUParams.swipein == 4) {
					SUParams.SUtransSta = 0;
					SUParams.SUtransEnd = !SUisMacNN ? 100 : 99;
					SUParams.SUtransVal = 0;
					SUParams.SUfadeIn = true;
					SUParams.odelay = setTimeout("SUTransFinish()", SUParams.openDelay);
				}
				else if (SUParams.swipein == 5) {
					SUShowHide(SUParams, SUhid);
				}
				else if (SUParams.swipein == 6) {
					SUParams.SUtransSta = 100;
					SUParams.SUtransEnd = 0;
					SUParams.SUtransVal = 100;
					SUParams.SUfadeIn = false;
					SUTransFinish();
				}
			}
		}
	}
	return;
}
function SUDoCenterSwipeWindow() {
	clearInterval(this.transSwipe);
	this.targetWidth = parseInt(this.orgWidth);
	this.targetHeight = parseInt(this.orgHeight);
	this.tracktop = (this.targetHeight/2) - 0;
	this.trackright = (this.targetWidth/2) + 0;
	this.trackbottom = (this.targetHeight/2) + 0;
	this.trackleft = (this.targetWidth/2) - 0;
	this.ticHeight = (parseInt(SUParams.orgHeight)*SUParams.scrollSpeed)/parseInt(SUParams.orgWidth);
	this.style.clip = "rect(" + this.tracktop + "px " + this.trackright + "px "  + this.trackbottom + "px " + this.trackleft + "px)";
	SUShowHide(this, SUvis);
	this.transSwipe = setInterval("SUCStretchBoth()", this.scrollInterval);
	return;
}
function SUCStretchBoth() {
	SUParams.style.clip = "rect(" + SUParams.tracktop + "px " + SUParams.trackright + "px "  + SUParams.trackbottom + "px " + SUParams.trackleft + "px)";
	SUParams.tracktop -= SUParams.ticHeight/2;
	SUParams.trackbottom += SUParams.ticHeight/2;
	SUParams.trackleft -= SUParams.scrollSpeed/2;
	SUParams.trackright += SUParams.scrollSpeed/2;
	if (SUParams.tracktop <= 0) {
		SUParams.tracktop = 0, SUParams.trackbottom = SUParams.targetHeight;
	}
	if (SUParams.trackleft <= 0) {
		SUParams.trackleft = 0, SUParams.trackright = SUParams.targetWidth;
	}
	if (SUParams.tracktop == 0 && SUParams.trackleft == 0) {
		SUParams.style.clip = "rect(" + SUParams.tracktop + "px " + SUParams.trackright + "px "  + SUParams.trackbottom + "px " + SUParams.trackleft + "px)";
		clearInterval(SUParams.transSwipe);
		SUParams.style.clip = !SUisIE ? "" : "rect(-2000px 2000px 2000px -2000px)";
	}
	return;
}
function SUTransFinish() {
	if (SUParams.SUtransInt != null) clearInterval(SUParams.SUtransInt);
	SUParams.doOpacity(SUParams.SUtransSta);
	SUShowHide(SUParams, SUvis);
	SUParams.SUtransInt = setInterval("SUTransition()", SUParams.scrollInterval);
	return;
}
function SUTransition() {
	if (SUParams.SUfadeIn) {
		SUParams.SUtransVal += SUParams.scrollSpeed;
	}
	else {
		SUParams.SUtransVal -= SUParams.scrollSpeed;
	}
	var doFade = SUParams.SUfadeIn ? SUParams.SUtransVal <= SUParams.SUtransEnd : SUParams.SUtransVal >= SUParams.SUtransEnd;
	if (doFade) {
		SUParams.doOpacity(SUParams.SUtransVal);
	}
	else {
		clearInterval(SUParams.SUtransInt);
		if (!SUParams.SUfadeIn) {
			SUShowHide(SUParams, SUhid);
			SUParams.doOpacity(100);
		}
	}
	return;
}
function SUDoOpacity(opa) {
	if (SUisIE && !SUisMacIE) {
		this.style.filter = "progid:DXImageTransform.Microsoft.Alpha(enebled=true)";
	}
	if (this.style.MozOpacity != null) {
		this.style.MozOpacity = opa != null ? opa/100 : null;
	}
	else if (SUisIE && !SUisMacIE) {
		this.filters.item("DXImageTransform.Microsoft.Alpha").opacity = opa != null ? opa : 0;
	}
	else {
		this.style.opacity = opa != null ? opa/100 : 0;
	}
	return;
}
function SUGetObject(objName, frameName) {
	var path = frameName != "" ? frameName + "." : "";
	if (SUisW3C) {
		SUParams = eval(path + 'document.getElementById("' + objName + '")');
	}
	else if (SUisIE4) {
		SUParams = eval(path + "document.all." + objName);
	}
	else {
		SUParams = SUFindLayerObject(path, objName, 0);
	}
	return SUParams;
}
function SUFindLayerObject(path, layer, thisLayer) {
	if (thisLayer) {
		var thisDocument = eval(path + "thisLayer.document");
	}
	else {
		var thisDocument = eval(path + "document");
	}
	var layerObj = thisDocument[layer];
	if (layerObj) {
		return layerObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			layerObj = SUFindLayerObject("", layer, thisDocument.layers[i]);
			if (layerObj) {
				break;
			}
		}
	}
	return layerObj;
}
function SUShowHide(object, state) {
	if (!object) return;
	if (SUisW3C) {
		object.style.visibility = state;
		var innerObjs = object.getElementsByTagName("div");
		for (var i = 0; i < innerObjs.length; i++) {
			innerObjs[i].style.visibility = state;
		}
	}
	else if (SUisIE4) {
		object.style.visibility = state;
		for (var i = 0; i < object.children.length; i++) {
			object.children[i].style.visibility = state;
			if (object.children[i].children.length > 0) {
				layerObj = SUShowHide(object.children[i], state);
			}
		}
	}
	else if (SUisNav4) {
		object.visibility = state;
		for (var i = 0; i < object.layers.length; i++) {
			object.layers[i].visibility = state;
			if (object.layers[i].layers.length > 0) {
				layerObj = SUShowHide(object.layers[i], state);
			}
		}
	}
	return;
}
function SUDivPrep() {
	var d = document.getElementsByTagName("div");
	var s = document.getElementsByTagName("style");
	for (var i = 0; i < s.length; i++) {
		var html = (s[i].innerHTML);
		var start = html.indexOf("!--") + 3;
		var end = html.lastIndexOf("}") + 1 - start;
		html = html.indexOf("!--") > -1 ? html.substr(start, end) : html;
		html = html.replace(/^\s*/, "");
		html = html.replace(/:\s*#/g, ": ~");
		html = html.replace(/[\n\r]/g, "");
		var styleArray = html.split(/\s*\}\s*/);
		for (var j = 0; j < styleArray.length; j++) {
			var name = styleArray[j].substr(styleArray[j].search(/\w/), styleArray[j].search(/{/));
			name = name.replace(/[ \{].+/g, "")
			for (var k = 0; k < d.length; k++) {
				var match = (name == d[k].id && name != "");
				if (match) break;
			}
			if (styleArray[j] != "" && match) {
				styleArray[j] = styleArray[j].replace(/\**#/, "");
				styleArray[j] = styleArray[j].replace(/~/g, "#");
				var styleName = styleArray[j].substr(0, styleArray[j].indexOf("{"));
				styleName = styleName.replace(/\s*/g, "");
				styleArray[j] = styleArray[j].toLowerCase();
				var t = eval("d." + styleName + ".style");
				var divName = eval("d." + styleName + ".id");
				t.name = divName;
				var styleString = styleArray[j].replace(/^.*\{\s*/, "");
				styleString = styleString.replace(/\s*\}.*$|\s*\}.*\n.*$|\s*\}.*\r.*$/, "");
				styleString = styleString.replace(/\;$/, "");
				var divArray = styleString.split(/\;\s*/g);
				for (var k = 0; k < divArray.length; k++) {
					var propertyName = divArray[k].substr(0, divArray[k].indexOf(":"));
					if (propertyName.indexOf("-") > -1) {
						var nameArray = propertyName.split("-");
						for (var n = 1; n < nameArray.length; n++) {
							nameArray[n] = nameArray[n].substring(0, 1).toUpperCase() + nameArray[n].substring(1, nameArray[n].length);
						}
						propertyName = nameArray.join("");
					}
					var propertyValue = divArray[k].substr(divArray[k].indexOf(":"), divArray[k].length);
					propertyValue = propertyValue.replace(/:*(-->)*}*\n*/g, "");
					propertyValue = propertyValue.replace(/^\s*|\s*$/, "");
					if (SUisNN6 && propertyValue.indexOf("(") > -1) {
						propertyValue = propertyValue.replace(/auto|pt|pi|px|em|ex|SU|cm|in|%/g, "$& ");
						propertyValue = propertyValue.replace(/ \)/g, ")");
					}
					try {
						t[propertyName] = propertyValue;
					}
					catch (errorCode) {
						var mess = errorcode + "\n\n";
						mess += "The property " + t[propertyName] + " = " + propertyValue + " in the\n";
						mess += t.name + " style object is not compatible with this browser.";
						alert(mess);
					}
				}
			}
		}
	}
	W3CinitFlag = true;
	return;
}
function SUVersion() {
	return true;
}
//
//-->



