/* -- Adobe GoLive JavaScript Library */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 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 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 newImage(arg) {	if (document.images) {		rslt = new Image();		rslt.src = arg;		return rslt;	}}function changeImagesArray(array) {	if (preloadFlag == true) {		var d = document; var img;		for (var i=0; i<array.length; i+=2) {			img = null; var n = array[i];			if (d.images) {img = d.images[n];}			if (!img && d.getElementById) {img = d.getElementById(n);}			if (img) {img.src = array[i+1];}		}	}}function changeImages() {	changeImagesArray(changeImages.arguments);}function CSOpenAlert(action) { alert(action[1]); }function CSOpenWindowPrompt(action) {var where = self.location.hrefvar nw = prompt("Enter a new width:","")if (nw != null) {var nh = prompt("Enter a new height:","")}var wf = "";	wf = wf + "width=" + nw;wf = wf + ",height=" + nh;wf = wf + ",resizable=" + (action[1] ? "yes" : "no");wf = wf + ",scrollbars=" + (action[2] ? "yes" : "no");wf = wf + ",menubar=" + (action[3] ? "yes" : "no");wf = wf + ",toolbar=" + (action[4] ? "yes" : "no");wf = wf + ",directories=" + (action[5] ? "yes" : "no");wf = wf + ",location=" + (action[6] ? "yes" : "no");wf = wf + ",status=" + (action[7] ? "yes" : "no");			if (nw == null || nh == null) { 	return null	} else {	window.open(where,'testwin',wf);	}}function CSDocWrite(action) { document.write(action[1]); }function CSvisits(action) {mycookie = action[8]cookieExpires = new DatecookieExpires.setMonth(cookieExpires.getMonth() + 12)visits = eval(cookieVal(mycookie))visits++document.cookie = mycookie+"="+visits+";expires=" + cookieExpires.toGMTString()                function cookieVal(cookieName) {	thisCookie = document.cookie.split("; ")		for (i=0; i<thisCookie.length; i++) {			if (cookieName == thisCookie[i].split("=")[0]) {			return thisCookie[i].split("=")[1]			}	} return 0}	if(visits == 1 && action[1] == true) alert(action[2])	else	if(action[5] == true) alert(action[3] + " " + visits)	if(action[6] == true) {		if(visits == action[7])		alert(action[4])		}}function CSCallFunction(action){	var str = action[1];	str += "(";	str += action[2];	str += ");"	return eval(str);}function CSCallAction(action){	CSAction(new Array(action[1]));}CSStateArray = new Object;CSCookieArray = new Object;CSCookieValArray = new Object;function CSWriteCookie(action) {	var name   = "DFT" + action[1];	var hrs    = action[2];	var path   = action[3];	var domain = action[4];	var secure = action[5];		var exp    = new Date((new Date()).getTime() + hrs * 3600000);		var cookieVal = "";	for(var prop in CSCookieArray) {		if(("DFT" + CSCookieArray[prop]) == name) {			if(cookieVal != "") cookieVal += "&";			cookieVal += prop + ":" + escape(CSStateArray[prop]);		}	}	if(hrs != 0)		cookieVal += "; expires=" + exp.toGMTString();	if(path != "")		cookieVal += "; path=" + path;	if(domain != "")		cookieVal += "; domain=" + domain;	if(secure == true)		cookieVal += "; secure";	document.cookie = name + '=' + cookieVal;}function CSReadCookie(action) {	var name    = "DFT" + action[1];	var cookies = document.cookie;	if(cookies == "") return;	var start = cookies.indexOf(name);	if(start == -1) return;	start += name.length + 1;	var end = cookies.indexOf(";", start);	if(end == -1) end = cookies.length;	var cookieVal = cookies.substring(start, end);	var arr = cookieVal.split('&');	for(var i = 0; i < arr.length; i++) {		var a = arr[i].split(':');		CSStateArray[a[0]] = unescape(a[1]);	}	}function CSDefineState(action) {	CSCookieArray[action[1]] = action[3]; }function CSSetState(action) {	CSStateArray[action[1]] = action[2];}function CSInitState(action) {	if(typeof(CSStateArray[action[1]]) == "undefined")		CSStateArray[action[1]] = action[2];}function CSCheckState(action) {	var obj1 = CSStateArray[action[1]];	var obj2 = action[2];	if(typeof(obj1) == "object") {		for(var i=0;i<obj1.length;i++) {			if(obj1[i] != obj2[i])				return false;			}		return true;		}	var res;	var op = action[3];		     if(op == "==") res = (CSStateArray[action[1]] == action[2]);			else if(op == "!=") res = (CSStateArray[action[1]] != action[2]);			else if(op == ">" ) res = (CSStateArray[action[1]] >  action[2]);			else if(op == ">=") res = (CSStateArray[action[1]] >= action[2]);			else if(op == "<" ) res = (CSStateArray[action[1]] <  action[2]);			else if(op == "<=") res = (CSStateArray[action[1]] <= action[2]);		return res;}function CSFieldValidate(action) { var form = action[1];var elem = action[2];var theEntry  = document.forms[form].elements[elem].valuevar theFormElem = document.forms[form].elements[elem]var badEntry = ""	function theAlert () { 	alert(action[6]);	theFormElem.select();	theFormElem.focus();	}  		function isEmpty() { 		if (theEntry == "") { 		theAlert()		} 		}	function isNumber() { 			if (theEntry == "") { 			theAlert()			} 				for (i=0; i<theEntry.length; i++) {  			if (theEntry.charAt(i) < "0" || theEntry.charAt(i) > "9") {  				badEntry = "notnumber"				} 			}  				if (badEntry == "notnumber") {		theAlert()			}		} 			function isAlpha() { 			if (theEntry == "") { 			theAlert()			} 				for (i=0; i<theEntry.length; i++) {  			if (theEntry.charAt(i) >= "0" && theEntry.charAt(i) <= "9") {  				badEntry = "notalpha"				} 			}  				if (badEntry == "notalpha") {		theAlert()			}		} 					function requiredChars() {	numofChars = theEntry.length		if (numofChars != action[4]) {			theAlert()		} 	}		function exactString() {		if (theEntry != action[5]) {			theAlert()		} 	}			function validEmail() {		invalidChars = " /:,;"				if (theEntry == "") { 			badEntry = "badEmail"			}		for (i=0; i < 5; i++)  {			badChar = invalidChars.charAt(i)				if (theEntry.indexOf(badChar,0) > -1) {				badEntry = "badEmail"				}		}		atsignLoc = theEntry.indexOf("@",1)		if (atsignLoc == -1) {			badEntry = "badEmail"		}				if (theEntry.indexOf("@",atsignLoc+1) > -1) {		badEntry = "badEmail"		}	dotLoc = theEntry.indexOf(".",atsignLoc)		if (dotLoc == -1) {		badEntry = "badEmail"		}		if (dotLoc+3 > theEntry.length) {		badEntry = "badEmail"		}		if (badEntry == "badEmail") {		theAlert()		}	}	function validCC() { 	var theNumber = new Array(theEntry.length);	var i = 0	var total = 0		for (i = 0; i < theEntry.length; ++i) {		theNumber[i] = parseInt(theEntry.charAt(i))		}		for (i = theNumber.length -2; i >= 0; i-=2) {  		theNumber[i] *= 2;							 		if (theNumber[i] > 9) theNumber[i]-=9;			 		}										 		for (i = 0; i < theNumber.length; ++i) {		total += theNumber[i];						 		}			isinteger = total/10		if(parseInt(isinteger)!=isinteger) {		theAlert()		}	}	var type=action[3];if(type==0) isEmpty()else if(type==1) isNumber()else if(type==2) isAlpha()else if(type==3) requiredChars()else if(type==4) exactString()else if(type==5) validEmail()else if(type==6) validCC()}