/* -- 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) {
	var s=si.toUpperCase();
	var myID=id.toUpperCase()+":";
	var id1=s.indexOf(myID);
	if (id1==-1) return "";
	s=s.substring(id1+myID.length+1,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");
		if (style.top=="") style.top=CSGetStyleAttrValue(si,"top");
		if (style.width=="") style.width=CSGetStyleAttrValue(si,"width");
		if (style.height=="") style.height=CSGetStyleAttrValue(si,"height");
		if (style.visibility=="") style.visibility=CSGetStyleAttrValue(si,"visibility");
		if (style.zIndex=="") style.zIndex=CSGetStyleAttrValue(si,"z-index");
	}
}
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 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 */
}

// ZipScroller.action v1.0.2 - November, 2002
// © Copyright 2002 by Walter Blady
// All rights reserved
var ZSisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
var ZSisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var ZSW3C = document.getElementById ? true : false;
var ZSisNN6 = navigator.userAgent.indexOf("Netscape6") >= 0;
var ZSisNN = navigator.userAgent.indexOf("Netscape") >= 0;
var ZScontObj, ZSclipObj, ZSprevObj = null, ZSprevMenu, ZSyloc = 0, ZSxloc = 0, ZSx, ZSy;
var ZSscrollSpeed = 0, ZSscrollDelay = 0, ZSscrollSpeedHold, ZSrepeatScroll = 0, ZSeaseOutLimit;
var ZSscrollReduce, ZSAutoCloseDelay, ZSAutoOpenDelay, ZSeaseout, ZStimer, ZSmouseAutocloseTimer = 0;
var ZScustomBox, ZSscrollDirection;
var W3CinitFlag = false, ZSscrollingBackFlag = false, ZSscrollOutFlag = false; ZSballoonText = "";
var i = setInterval("ZSshiftUp()", 1000);
clearInterval(i);
var ZSmenuArray = new Array(), ZSmenu;
var ZSvis = (ZSW3C || ZSisIE4) ? "visible" : "show";
var ZShid = (ZSW3C || ZSisIE4) ? "hidden" : "hide";
function WBZipScroller(action) {
	if (ZSVersion()) {
		if (action[1].length > 0) {
			var obj = ZSGetObject(action[1]);
			obj.onmouseover = ZSAutoCloseTimerQuit;
			obj.onmouseout = ZSAutoClose;
		}
		clearTimeout(ZSmouseAutocloseTimer);
		ZSAutoOpenDelay = action[8];
		ZSAutoCloseDelay = action[9];
		ZSscrollDirection = action[4];
		if (action[2].length > 0) {
			ZSclipObj = ZSGetObject(action[2]);
			if (ZSW3C || ZSisIE4) ZSclipObj.style.overflow = "hidden";
			var isOn = false, showOne, stillOn = false;
			isOn = ZSisNav4 ? ZSclipObj.visibility == ZSvis : ZSclipObj.style.visibility == ZSvis;
			if (isOn) return;
			if (ZSprevObj && ZSclipObj != ZSprevObj) ZSShowHide(ZSprevMenu, ZSprevObj.level, ZShid, false);
			ZSclipObj.onmouseover = ZSAutoCloseTimerQuit;
			ZSclipObj.onmouseout = ZSAutoClose;
			if (!W3CinitFlag && ZSW3C) {
				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++) {
						if (styleArray[j] != "" && styleArray[j].toLowerCase().indexOf("position:") > -1) {
							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.*$/, "");
							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 (ZSisNN6 && 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;
			}
			ZSeaseout = action[7] ? true : false;
			if (!ZSmenuArray[1]) ZSmenuArray[1] = new Array();
			ZSmenu = ZSmenuArray[1];
			ZSprevObj = ZSclipObj;
			ZSprevMenu = ZSmenu;
			ZSclipObj.menu = 0;
			ZSclipObj.level = 1;
			ZScontObj = ZSGetObject(action[3]);
			ZScontObj.menu = 0;
			ZScontObj.level = 1;
			ZSclipObj.container = ZScontObj;
			ZSmenu[1] = ZSclipObj;
			ZSscrollDelay = action[5];
			ZSscrollSpeed = action[6];
			ZSscrollSpeedHold = ZSscrollSpeed;
			clearInterval(ZSrepeatScroll);
			if (ZSclipObj.container.xorig == null) {
				if (ZSW3C) {
					ZScontObj.boxWidth = parseInt(ZScontObj.style.width);
					ZScontObj.boxHeight = parseInt(ZScontObj.style.height);
					ZScontObj.boxTop = parseInt(ZScontObj.style.top);
					ZScontObj.boxLeft = parseInt(ZScontObj.style.left);
					ZSclipObj.boxWidth = parseInt(ZSclipObj.style.width);
					ZSclipObj.boxHeight = parseInt(ZSclipObj.style.height);
				}
				else if (ZSisIE4) {
					ZScontObj.boxWidth = ZScontObj.style.pixelWidth;
					ZScontObj.boxHeight = ZScontObj.style.pixelHeight;
					ZScontObj.boxTop = ZScontObj.style.pixelTop;
					ZScontObj.boxLeft = ZScontObj.style.pixelLeft;
					ZSclipObj.boxWidth = ZSclipObj.style.pixelWidth;
					ZSclipObj.boxHeight = ZSclipObj.style.pixelHeight;
				}
				else {
					ZScontObj.boxWidth = ZScontObj.clip.width;
					ZScontObj.boxHeight = ZScontObj.clip.height;
					ZScontObj.boxTop = ZScontObj.top;
					ZScontObj.boxLeft = ZScontObj.left;
					ZSclipObj.boxWidth = ZSclipObj.clip.width;
					ZSclipObj.boxHeight = ZSclipObj.clip.height;
				}
				ZSyloc = ZScontObj.boxTop;
				ZSxloc = ZScontObj.boxLeft;
				ZSclipObj.container.xorig = ZSxloc;	
				ZSclipObj.container.yorig = ZSyloc;
				if (action[4] == 0) ZSclipObj.container.ZSscrollBack = 1;
				if (action[4] == 1) ZSclipObj.container.ZSscrollBack = 0;
				if (action[4] == 2) ZSclipObj.container.ZSscrollBack = 3;
				if (action[4] == 3) ZSclipObj.container.ZSscrollBack = 2;
			}
			else {
				ZSxloc = ZSclipObj.container.xorig;
				ZSyloc = ZSclipObj.container.yorig;
			}
			ZSx = 0;
			ZSy = 0;
			ZSShowHide(ZSmenu, ZSclipObj.level, ZSvis, true);
			var t1 = setTimeout("ZSScroll(ZSscrollDirection)", ZSAutoOpenDelay);
			if (action[10] && !ZSscrollingBackFlag) {
				ZStimer = setInterval("ZSAutoCloseCheck()", 1000);
			}
		}
	}
	return;
}
function ZSAutoCloseCheck() {
	if (ZSscrollOutFlag) {
		clearInterval(ZStimer);
		ZSAutoClose();
	}
	return;
}
function ZSAutoClose() {
	ZSmouseAutocloseTimer = setTimeout("ZSAutoCloseFunc()", ZSAutoCloseDelay);
	return;
}
function ZSAutoCloseFunc() {
	clearInterval(ZSrepeatScroll);
	ZSeaseout = false;
	ZSscrollingBackFlag = true;
	ZSx = ZSclipObj.container.xorig;
	ZSy = ZSclipObj.container.yorig;
	ZSScroll(ZSclipObj.container.ZSscrollBack);
	return;
}
function ZSAutoCloseTimerQuit() {
	clearTimeout(ZSmouseAutocloseTimer);
	return;
}
function ZSShowHide(menu, level, state, show) {
	clearTimeout(ZSmouseAutocloseTimer);	
	clearInterval(ZStimer);
	if (ZSW3C) {
		for (var i = level; i < menu.length; i++) {
			if (menu[i] != null) {
				menu[i].style.visibility = state;
				if (!show) {
					ZSScrollTo(menu[i].container, menu[i].container.xorig, menu[i].container.yorig);
				}
				var innerObjs = menu[level].getElementsByTagName("div");
				for (var j = 0; j < innerObjs.length; j++) {
					innerObjs[j].style.visibility = state;
				}
			}
			if (show) break;
		}
	}
	else if (ZSisIE4) {
		for (var i = level; i < menu.length; i++) {
			if (menu[i] != null) {
				menu[i].style.visibility = state;
				if (!show) {
					ZSScrollTo(menu[i].container, menu[i].container.xorig, menu[i].container.yorig);
				}
				for (var j = 0; j < document.all[menu[i].id].children.length; j++) {
					menu[i].children[j].style.visibility = state;
				}
			}
			if (show) break;
		}
	}
	else if (ZSisNav4) {
		for (var i = level; i < menu.length; i++) {
			if (menu[i] != null) {
				menu[i].visibility = state;
				if (!show) {
					ZSScrollTo(menu[i].container, menu[i].container.xorig, menu[i].container.yorig);
				}
				for (var j = 0; j < menu[i].layers.length; j++) {
					menu[i].layers[j].visibility = state;
				}
			}
			if (show) break;
		}
	}
	return;
}
function ZSScroll(mode) {
	ZSscrollSpeed = ZSscrollSpeedHold;
	ZSeaseOutLimit = ZSscrollSpeed + 5;
	clearInterval(ZSrepeatScroll);
	if (mode == 0) ZSrepeatScroll = setInterval("ZSSlideDown()", ZSscrollDelay);
	if (mode == 1) ZSrepeatScroll = setInterval("ZSSlideUp()", ZSscrollDelay);
	if (mode == 2) ZSrepeatScroll = setInterval("ZSSlideRight()", ZSscrollDelay);
	if (mode == 3) ZSrepeatScroll = setInterval("ZSSlideLeft()", ZSscrollDelay);
}
function ZSSlideDown() {
	if (ZSeaseout) {
		ZSscrollSpeed = Math.abs(ZSyloc) <= ZSeaseOutLimit ? 1 : Math.round(ZSscrollSpeed);
	}
	ZSyloc = (ZSyloc + ZSscrollSpeed <= ZSy) ? ZSyloc + ZSscrollSpeed : ZSy;
	ZSScrollTo(ZScontObj, ZSxloc, ZSyloc);
	if (ZSyloc == ZSy) {
		ZSHideBack();
	}
	return;
}
function ZSSlideUp() {
	if (ZSeaseout) {
		ZSscrollSpeed = Math.abs(ZSyloc) <= ZSeaseOutLimit ? 1 : Math.round(ZSscrollSpeed);
	}
	ZSyloc = (ZSyloc - ZSscrollSpeed >= ZSy) ? ZSyloc - ZSscrollSpeed : ZSy;
	ZSScrollTo(ZScontObj, ZSxloc, ZSyloc);
	if (ZSyloc == ZSy) {
		ZSHideBack();
	}
	return;
}
function ZSSlideRight() {
	if (ZSeaseout) {
		ZSscrollSpeed = Math.abs(ZSxloc) <= ZSeaseOutLimit ? 1 : Math.round(ZSscrollSpeed);
	}
	ZSxloc = (ZSxloc + ZSscrollSpeed <= ZSx) ? ZSxloc + ZSscrollSpeed : ZSx;
	ZSScrollTo(ZScontObj, ZSxloc, ZSyloc);
	if (ZSxloc == ZSx) {
		ZSHideBack();
	}
	return;
}
function ZSSlideLeft() {
	if (ZSeaseout) {
		ZSscrollSpeed = Math.abs(ZSxloc) <= ZSeaseOutLimit ? 1 : Math.round(ZSscrollSpeed);
	}
	ZSxloc = (ZSxloc - ZSscrollSpeed >= ZSx) ? ZSxloc - ZSscrollSpeed : ZSx;
	ZSScrollTo(ZScontObj, ZSxloc, ZSyloc);
	if (ZSxloc == ZSx) {
		ZSHideBack();
	}
	return;
}
function ZSHideBack() {
	clearInterval(ZSrepeatScroll);
	ZSscrollOutFlag = true;
	if (ZSscrollingBackFlag) {
		ZSShowHide(ZSmenu, 1, ZShid, true);
		ZSscrollingBackFlag = false;
		ZSscrollOutFlag = false;
	}
	return;
}
function ZSScrollTo(obj, x, y) {
	if (ZSW3C) {
		obj.style.left = x + "px";
		obj.style.top = y + "px";
	}
	else if (ZSisIE4) {
		obj.style.pixelLeft = x;
		obj.style.pixelTop = y;
	}
	else {
		obj.moveTo(x, y);
	}
	return;
}
function ZSGetObject(objName) {
	var params;
	if (ZSW3C) {
		params = eval('document.getElementById("' + objName + '")');
	}
	else if (ZSisIE4) {
		params = eval("document.all." + objName);
	}
	else {
		params = ZSFindLayerObject(objName, 0);
	}
	return params;
}
function ZSFindLayerObject(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 = ZSFindLayerObject(layer, thisDocument.layers[i]); 
			if (layerObj) {
				break;
			}
		}
	}
	return layerObj;
}
function ZSVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
function CSSlideNewWindow(action) {
var wh = ""
if (action[7] || action[8] || action[9] == true) wh=action[4]-125
else wh = action[4]

var wf = "";	
wf = wf + "width=" + action[3];
wf = wf + ",height=" + wh;
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");		

if(navigator.appVersion.charAt(0) >=4) {
var sw=screen.width-20;
var sh=screen.height;
var newwidth=action[3]; 
var newheight=action[4];
var positionleft=(sw-newwidth)/2;
var positiontop=""
if (action[7] || action[8] || action[9] == true) positiontop=(sh-newheight)/3;
else positiontop=(sh-newheight)/2.5;
}
newwindow=window.open(action[1],action[2],wf); 
newwindow.focus()	
if(navigator.appVersion.charAt(0) >=4) {
	for(width1 = 1 ; width1 < positionleft ; width1 = width1 + 10)
	newwindow.moveTo(width1,positiontop)
	}
}

function CSCloseWindow() { 
if (self.parent.frames.length != 0) {
	self.parent.close()	
	} else {
	window.close()
	}
}

function CSSetImageURL(action) {
	var img=CSGetImage(action[1]);
	if (img) img.src=action[2];
}

// Multi Preloader Action 1.0.2 by Nate Baldwin, www.mindpalette.com, copyright 2002
var MPMultiPreldCount1 = 0;
var MPMultiPreldArray1 = new Array();
function MPMultiPreload(action) {
	MPMultiPreldArray1[MPMultiPreldCount1] = new Array();
	for (i=1; i<=20; i++) {
		if (action[i] != "#" && action[i] != "(EmptyReference!)" && action[i] != "(Empty Reference)" && action[i] != "") {
			MPMultiPreldArray1[MPMultiPreldCount1][i] = new Image();
			MPMultiPreldArray1[MPMultiPreldCount1][i].src = action[i];
			}
		}
	MPMultiPreldCount1++;
	}
//Anti Spam Action ver. 1.6
function RDasPro2(action){
if(action[18] == 10) var den=action[16];
if(action[18] == 20) var den='<img src="'+action[17]+'" border="0" alt="Email" title="Email">';
var ASA = '<a href="mailto:'+action[1]+'@'+action[2]+'.'+action[3]+'';
if(action[12]==true) {ASA += '?subject='+action[13]+' ' ;}
if(action[4]==true) {ASA += '&cc='+action[5] +'@'+action[6]+'.'+action[7]+'';}
if(action[8]==true) {ASA += '&bcc='+action[9]+'@'+action[10]+'.'+action[11]+'';}
if(action[14]==true) {ASA += '&body='+action[15]+'';}
ASA += '">'+den+'<\/a>';
document.write(ASA);
}
//-->


