/* -- Adobe GoLive JavaScript Library */

CSAg = window.navigator.userAgent; CSBVers = parseInt(CSAg.charAt(CSAg.indexOf("/")+1),10);
CSIsW3CDOM = ((document.getElementById) && !(IsIE()&&CSBVers<6)) ? true : false;
function IsIE() { return CSAg.indexOf("MSIE") > 0;}
function CSIEStyl(s) { return document.all.tags("div")[s].style; }
function CSNSStyl(s) { if (CSIsW3CDOM) return document.getElementById(s).style; else return CSFindElement(s,0);  }
CSIImg=false;
function CSInitImgID() {if (!CSIImg && document.images) { for (var i=0; i<document.images.length; i++) { if (!document.images[i].id) document.images[i].id=document.images[i].name; } CSIImg = true;}}
function CSFindElement(n,ly) { if (CSBVers<4) return document[n];
	if (CSIsW3CDOM) {CSInitImgID();return(document.getElementById(n));}
	var curDoc = ly?ly.document:document; var elem = curDoc[n];
	if (!elem) {for (var i=0;i<curDoc.layers.length;i++) {elem=CSFindElement(n,curDoc.layers[i]); if (elem) return elem; }}
	return elem;
}
function CSGetImage(n) {if(document.images) {return ((!IsIE()&&CSBVers<5)?CSFindElement(n,0):document.images[n]);} else {return null;}}
CSDInit=false;
function CSIDOM() { if (CSDInit)return; CSDInit=true; if(document.getElementsByTagName) {var n = document.getElementsByTagName('DIV'); for (var i=0;i<n.length;i++) {CSICSS2Prop(n[i].id);}}}
function CSICSS2Prop(id) { var n = document.getElementsByTagName('STYLE');for (var i=0;i<n.length;i++) { var cn = n[i].childNodes; for (var j=0;j<cn.length;j++) { CSSetCSS2Props(CSFetchStyle(cn[j].data, id),id); }}}
function CSFetchStyle(sc, id) {
	var s=sc; while(s.indexOf("#")!=-1) { s=s.substring(s.indexOf("#")+1,sc.length); if (s.substring(0,s.indexOf("{")).toUpperCase().indexOf(id.toUpperCase())!=-1) return(s.substring(s.indexOf("{")+1,s.indexOf("}")));}
	return "";
}
function CSGetStyleAttrValue (si, id, st) {
	var s=si.toUpperCase();
	var myID=id.toUpperCase()+":";
	var id1=s.indexOf(myID,st);
	if (id1==-1) return "";
	var ch=s.charAt(id1-1);
	if (ch!=" " && ch!="\t" && ch!="\n" && ch!=";" && ch!="{")
		return CSGetStyleAttrValue (si, id, id1+1);
	var start=id1+myID.length;
	ch=s.charAt(start);
	while(ch==" " || ch=="\t" || ch=="\n") {start++; ch=s.charAt(start);}
	s=s.substring(start,si.length);
	var id2=s.indexOf(";");
	return ((id2==-1)?s:s.substring(0,id2));
}
function CSSetCSS2Props(si, id) {
	var el=document.getElementById(id);
	if (el==null) return;
	var style=document.getElementById(id).style;
	if (style) {
		if (style.left=="") style.left=CSGetStyleAttrValue(si,"left",0);
		if (style.top=="") style.top=CSGetStyleAttrValue(si,"top",0);
		if (style.width=="") style.width=CSGetStyleAttrValue(si,"width",0);
		if (style.height=="") style.height=CSGetStyleAttrValue(si,"height",0);
		if (style.visibility=="") style.visibility=CSGetStyleAttrValue(si,"visibility",0);
		if (style.zIndex=="") style.zIndex=CSGetStyleAttrValue(si,"z-index",0);
	}
}
function CSSetStyleVis(s,v) {
	if (CSIsW3CDOM){CSIDOM();document.getElementById(s).style.visibility=(v==0)?"hidden":"visible";}
	else if(IsIE())CSIEStyl(s).visibility=(v==0)?"hidden":"visible";
	else CSNSStyl(s).visibility=(v==0)?'hide':'show';
}
function CSGetStyleVis(s) {
	if (CSIsW3CDOM) {CSIDOM();return(document.getElementById(s).style.visibility=="hidden")?0:1;}
	else if(IsIE())return(CSIEStyl(s).visibility=="hidden")?0:1;
	else return(CSNSStyl(s).visibility=='hide')?0:1;
}
function CSSetStylePos(s,d,p) {
	if (CSIsW3CDOM)d==0?document.getElementById(s).style.left=p+"px":document.getElementById(s).style.top=p+"px";
	else if(IsIE())(d==0)?CSIEStyl(s).posLeft=p:CSIEStyl(s).posTop=p;
	else (d==0)?CSNSStyl(s).left=p:CSNSStyl(s).top=p;
}
function CSGetStylePos(s,d) {
	if (CSIsW3CDOM){CSIDOM();return parseInt((d==0)?document.getElementById(s).style.left:document.getElementById(s).style.top);}
	else if (IsIE()) {CSIEWinInit();return(d==0)?CSIEStyl(s).posLeft:CSIEStyl(s).posTop;}
	else {return (d==0)?CSNSStyl(s).left:CSNSStyl(s).top;}
}
CSIEWInit=false;
function CSIEWinInit() { if(CSIEWInit==true) return; else CSIEWInit=true; if (IsIE()&&CSBVers==4) { var i=0; var lyr=document.all.tags("div")[i++]; while(lyr) {lyr.style.posLeft=lyr.offsetLeft; lyr.style.posTop=lyr.offsetTop; lyr=document.all.tags("div")[i++];}}}
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 */
}

function CSShowHide(action) {
	if (action[1] == '') return;
	var type=action[2];
	if(type==0) CSSetStyleVis(action[1],0);
	else if(type==1) CSSetStyleVis(action[1],1);
	else if(type==2) { 
		if (CSGetStyleVis(action[1]) == 0) CSSetStyleVis(action[1],1);
		else CSSetStyleVis(action[1],0);
	}
}

// AutoScroll.action v2.1 - June, 2006
// © 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 ASisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var ASW3C = 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;
function WBAutoScroll(action) {
	if (ASVersion()) {
		if (!W3CinitFlag) ASBoxPrep();
		var obj = eval("ASObject" + action[1]);
		if (obj.idx == null) {
			obj.idx = action[1];
			obj.doinit = ASDoInit;
			obj.action = action;
			obj.doinit();
		}
		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 (action[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 (obj.ASrep > 0) clearTimeout(obj.ASrep);
		if (obj.ASrepeat > 0) clearInterval(obj.ASrepeat);
		obj.ASpauseFlag = false;
		obj.ASstartDelay = action[5]*1000;
		obj.ASlineDelay = action[8]*1000;
		obj.ASendDelay = action[6]*1000;
		if (action[2] == 0) {
			obj.ASupDown = true;
			obj.ASminus = false;
			if (obj.idx == 0) obj.ASrepeat = setInterval("ASObject0.doscroll()", action[12]);
			if (obj.idx == 1) obj.ASrepeat = setInterval("ASObject1.doscroll()", action[12]);
			if (obj.idx == 2) obj.ASrepeat = setInterval("ASObject2.doscroll()", action[12]);
			if (obj.idx == 3) obj.ASrepeat = setInterval("ASObject3.doscroll()", action[12]);
		}
		if (action[2] == 1) {
			obj.ASupDown = true;
			obj.ASminus = true;
			if (obj.idx == 0) obj.ASrepeat = setInterval("ASObject0.doscroll()", action[12]);
			if (obj.idx == 1) obj.ASrepeat = setInterval("ASObject1.doscroll()", action[12]);
			if (obj.idx == 2) obj.ASrepeat = setInterval("ASObject2.doscroll()", action[12]);
			if (obj.idx == 3) obj.ASrepeat = setInterval("ASObject3.doscroll()", action[12]);
		}
		if (action[2] == 2) {
			obj.ASupDown = false;
			obj.ASminus = false;
			if (obj.idx == 0) obj.ASrepeat = setInterval("ASObject0.doscroll()", action[12]);
			if (obj.idx == 1) obj.ASrepeat = setInterval("ASObject1.doscroll()", action[12]);
			if (obj.idx == 2) obj.ASrepeat = setInterval("ASObject2.doscroll()", action[12]);
			if (obj.idx == 3) obj.ASrepeat = setInterval("ASObject3.doscroll()", action[12]);
		}
		if (action[2] == 3) {
			obj.ASupDown = false;
			obj.ASminus = true;
			if (obj.idx == 0) obj.ASrepeat = setInterval("ASObject0.doscroll()", action[12]);
			if (obj.idx == 1) obj.ASrepeat = setInterval("ASObject1.doscroll()", action[12]);
			if (obj.idx == 2) obj.ASrepeat = setInterval("ASObject2.doscroll()", action[12]);
			if (obj.idx == 3) obj.ASrepeat = setInterval("ASObject3.doscroll()", action[12]);
		}
	}
	return;
}
function ASDoScroll() {
	if (!this.ASpauseFlag && this.ASstartFlag) {
		this.scrollto(this.contentBox, this.ASxloc, this.ASyloc);
		this.ASpauseFlag = true;
		this.ASstartFlag = 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 end = false;
		if (this.ASupDown) {
			if (this.ASminus) {
				this.ASyloc = (this.ASyloc - this.ASlines >= this.ASyDest) ? this.ASyloc - this.ASlines : this.ASyDest;
				end = (this.ASyloc == this.ASyDest);
			}
			else {
				this.ASyloc = (this.ASyloc + this.ASlines <= this.ASyOrig) ? this.ASyloc + this.ASlines : this.ASyOrig;
				end = (this.ASyloc == this.ASyOrig);
			}
		}
		else {
			if (this.ASminus) {
				this.ASxloc = (this.ASxloc - this.ASlines >= this.ASxDest) ? this.ASxloc - this.ASlines : this.ASxDest;
				end = (this.ASxloc == this.ASxDest);
			}
			else {
				this.ASxloc = (this.ASxloc + this.ASlines <= this.ASxOrig) ? this.ASxloc + this.ASlines : this.ASxOrig;
				end = (this.ASxloc == this.ASxOrig);
			}
		}
		this.scrollto(this.contentBox, this.ASxloc, this.ASyloc);
		this.ASpixCount += this.ASlines;
	}
	if (end) {
		if (this.ASloop) {
			this.ASpauseFlag = true;
			this.ASstartFlag = true;
			if (this.action[2] == 1 || this.action[2] == 3) {
				this.ASyloc = this.ASyOrig;
				this.ASxloc = this.ASxOrig;
			}
			else if (this.action[2] == 0 || this.action[2] == 2){
				this.ASyloc = this.ASyDest;
				this.ASxloc = this.ASxDest;
			}
			this.ASpixCount = 0;
			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) clearInterval(this.ASrepeat);
			if (this.ASrep > 0) clearTimeout(this.ASrep);
		}
	}
	return;
}
function ASScrollTo(obj, x, y) {
	if (ASW3C) {
		obj.left = x + ASsuff;
		obj.top = y + ASsuff;		
	}
	else if (ASisIE4) {
		obj.pixelLeft = x;
		obj.pixelTop = y;
	}
	else {
		obj.moveTo(x, y);
	}
	return;
}
function ASPause() {
	this.ASpauseFlag = false;
	clearTimeout(this.ASrep);
	return;
}
function ASGetObject(objName) {
	var params;
	if (ASW3C) {
		params = eval('document.getElementById("' + objName + '").style');
	}
	else if (ASisIE4) {
		params = eval("document.all." + objName + ".style");
	}
	else {
		params = ASFindLayerObject(objName, 0);
	}
	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 ASDoInit() {
	this.getobject = ASGetObject;
	this.scrollto = ASScrollTo;
	this.pause = ASPause;
	this.doscroll = ASDoScroll;
	this.clipingBox = this.getobject(this.action[3]);
	this.contentBox = this.getobject(this.action[4]);
	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.ASstartFlag = this.action[13] == 0 ? true : false;
	this.ASstopFlag = false;
	this.ASpixelLines = this.action[7];
	this.ASloop = this.action[9];
	this.ASlines = this.action[11];
	this.ASdelay = this.action[12];
	if (ASW3C) {
		if (ASisOpera) {
			var clipingBox = document.getElementById(this.action[3]);
			var contentBox = document.getElementById(this.action[4]);
			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.clipingBox.clip = "rect(" + 0 + " " + clipingBox.clientWidth + " " + clipingBox.clientHeight + " " + 0 + ")";
			this.clipingBox.overflow = "hidden";
		}
		else {
			this.contBoxWidth = parseInt(this.contentBox.width);
			this.contBoxHeight = parseInt(this.contentBox.height);
			this.contBoxTop = parseInt(this.contentBox.top);
			this.contBoxLeft = parseInt(this.contentBox.left);
			this.clipBoxWidth = parseInt(this.clipingBox.width);
			this.clipBoxHeight = parseInt(this.clipingBox.height);
			this.clipingBox.clip = "rect(" + 0 + " " + this.clipingBox.width + " " + this.clipingBox.height + " " + 0 + ")";
			this.clipingBox.overflow = "hidden";
		}
	}
	else if (document.all) {
		this.contBoxWidth = this.contentBox.width;
		this.contBoxHeight = this.contentBox.height;
		this.contBoxTop = this.contentBox.pixelTop;
		this.contBoxLeft = this.contentBox.pixelLeft;
		this.clipBoxWidth = this.clipingBox.width;
		this.clipBoxHeight = this.clipingBox.height;
		this.clipingBox.clip = "rect(" + 0 + " " + this.clipingBox.width + " " + this.clipingBox.height + " " + 0 + ")";
		this.clipingBox.overflow = "hidden";
	}
	else {
		this.contBoxWidth = this.contentBox.clip.width;
		this.contBoxHeight = this.contentBox.clip.height;
		this.contBoxTop = this.contentBox.top;
		this.contBoxLeft = this.contentBox.left;
		this.clipBoxWidth = this.clipingBox.clip.width;
		this.clipBoxHeight = this.clipingBox.clip.height;
		this.clipingBox.clip = "rect(" + 0 + " " + this.clipingBox.clip.width + " " + this.clipingBox.clip.height + " " + 0 + ")";
		this.clipingBox.overflow = "hidden";
	}
	this.scrollto(this.contentBox, this.contBoxTop, this.contBoxLeft);
	this.ASyOrig = this.contBoxTop;
	this.ASxOrig = this.contBoxLeft;
	this.ASyloc = this.contBoxTop;
	this.ASxloc = this.contBoxLeft;
	if (this.action[10]) {
		this.ASyDest = this.contBoxTop < 0 ? this.clipBoxHeight : -1*this.contBoxHeight;
		this.ASxDest = this.contBoxLeft < 0 ? this.clipBoxWidth : -1*this.contBoxWidth;
	}
	else {
		this.ASyDest = this.contBoxTop < 0 ? 0 : -1*(this.contBoxHeight - this.clipBoxHeight);
		this.ASxDest = this.contBoxLeft < 0 ? 0 : -1*(this.contBoxWidth - this.clipBoxWidth);
	}
	return;
}
function ASBoxPrep() {
	if (!W3CinitFlag && ASW3C && document.getElementsByTagName("style")[0].innerHTML != "") {
		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");
					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 (ASisNN6 && propertyValue.indexOf("(") > -1) {
							propertyValue = propertyValue.replace(/auto|pt|pi|px|em|ex|mm|cm|in|%/g, "$& ");
							propertyValue = propertyValue.replace(/ \)/g, ")");
						}
						t.name = divName;
						t[propertyName] = propertyValue;
					}
				}
			}
		}
		W3CinitFlag = true;
	}
	return;
}
function ASVersion() {
	return true;
}
//-->

function CSSetImageURL(action) {
	var img=CSGetImage(action[1]);
	if (img) img.src=action[2];
}

function CSOpenWindow(action) {
	var wf = "";	
	wf = wf + "width=" + action[3];
	wf = wf + ",height=" + action[4];
	wf = wf + ",resizable=" + (action[5] ? "yes" : "no");
	wf = wf + ",scrollbars=" + (action[6] ? "yes" : "no");
	wf = wf + ",menubar=" + (action[7] ? "yes" : "no");
	wf = wf + ",toolbar=" + (action[8] ? "yes" : "no");
	wf = wf + ",directories=" + (action[9] ? "yes" : "no");
	wf = wf + ",location=" + (action[10] ? "yes" : "no");
	wf = wf + ",status=" + (action[11] ? "yes" : "no");		
	window.open(action[1],action[2],wf);
}

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];
}

function CSMoveBy(action)
{
	x = CSGetStylePos(action[1], 0);
	y = CSGetStylePos(action[1], 1);
	x += parseInt(action[2]);
	y += parseInt(action[3]);
	x = CSSetStylePos(action[1], 0, x);
	y = CSSetStylePos(action[1], 1, y);
}



