// JavaScript Document<!--function MM_reloadPage(init) {  //reloads the window if Nav4 resized  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();}MM_reloadPage(true);function MM_findObj(n, d) { //v4.01  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);  if(!x && d.getElementById) x=d.getElementById(n); return x;}function MM_showHideLayers() { //v6.0  var i,p,v,obj,args=MM_showHideLayers.arguments;  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }    obj.visibility=v; }}  var bites = document.cookie.split("; "); // break cookie into array of bites  function getCookie(name) {    for (i=0; i < bites.length; i++) {      nextbite = bites[i].split("="); // break into name and value      if (nextbite[0] == name) // if name matches        return unescape(nextbite[1]); // return value    }    return null; // if no match return null  }  var today = new Date();  var expiry = new Date(today.getTime() + 24 * 60 * 60 * 1000); // plus 1 day  function setCookie(name, value) { // use: setCookie("name", value);    if (value != null && value != "")      document.cookie=name + "=" + escape(value) + "; expires=" + expiry.toGMTString();    bites = document.cookie.split("; "); // update cookie bites  }   /* -- Adobe GoLive JavaScript Library *//* -- Global Functions */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);}CSInit = new Array;CSExit = new Array;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 */}/* -- Action Functions */// Version 1.1. A Michael Ahgren action.function CSRemoveIEbox(){if (document.images&&navigator.userAgent.indexOf("MSIE")!=-1){	for(i=0;i<document.links.length;i++){		target=eval("document.links[i]")		target.onfocus=blurHandler		}	}}function blurHandler(){obj=window.event.srcElementif(obj.tagName == "A"||obj.tagName=="AREA") obj.blur()}/* EOF */function openCenterWindow(URL,winName,w,h,features) {  // if screen.dimension is true (available),   // then calculate the position using that value, else use a fixed value  xPos = (screen.width) ? (screen.width-w)/2 : 50;  yPos = (screen.height) ? (screen.height-h)/2 : 50;    // assemble all window settings from calculations and parameters  settings = 'height='+h+',width='+w+',top='+yPos+',left='+xPos+','+features    // open the window and bring it to front  thisWin=window.open(URL,winName,settings);  thisWin.focus();}/*Source: Webmonkey Code LibraryAuthor: Nadav SavioAuthor Email: nadav@wired.com*/// This next little bit of code tests whether the user accepts cookies.var WM_acceptsCookies = false;if(document.cookie == '') {    document.cookie = 'WM_acceptsCookies=yes'; // Try to set a cookie.    if(document.cookie.indexOf('WM_acceptsCookies=yes') != -1) {	WM_acceptsCookies = true;     }// If it succeeds, set variable} else { // there was already a cookie  WM_acceptsCookies = true;}function WM_setCookie (name, value, hours, path, domain, secure) {    if (WM_acceptsCookies) { // Don't waste your time if the browser doesn't accept cookies.	var not_NN2 = (navigator && navigator.appName 		       && (navigator.appName == 'Netscape') 		       && navigator.appVersion 		       && (parseInt(navigator.appVersion) == 2))?false:true;	if(hours && not_NN2) { // NN2 cannot handle Dates, so skip this part	    if ( (typeof(hours) == 'string') && Date.parse(hours) ) { // already a Date string		var numHours = hours;	    } else if (typeof(hours) == 'number') { // calculate Date from number of hours		var numHours = (new Date((new Date()).getTime() + hours*3600000)).toGMTString();	    }	}	document.cookie = name + '=' + escape(value) + ((numHours)?(';expires=' + numHours):'') + ((path)?';path=' + path:'') + ((domain)?';domain=' + domain:'') + ((secure && (secure == true))?'; secure':''); // Set the cookie, adding any parameters that were specified.    }} // WM_setCookiefunction WM_readCookie(name) {	if(document.cookie == '') { // there's no cookie, so go no further	return '';     } else { // there is a cookie	var firstChar, lastChar;	var theBigCookie = document.cookie;	firstChar = theBigCookie.indexOf(name);	// find the start of 'name'	var NN2Hack = firstChar + name.length;	if((firstChar != -1) && (theBigCookie.charAt(NN2Hack) == '=')) { // if you found the cookie	    firstChar += name.length + 1; // skip 'name' and '='	    lastChar = theBigCookie.indexOf(';', firstChar); // Find the end of the value string (i.e. the next ';').	    if(lastChar == -1) lastChar = theBigCookie.length;	    return unescape(theBigCookie.substring(firstChar, lastChar));	} else { // If there was no cookie of that name, return false.	    return '';	}    }	} // WM_readCookiefunction WM_killCookie(name, path, domain) {  var theValue = WM_readCookie(name); // We need the value to kill the cookie  if(theValue) {      document.cookie = name + '=' + theValue + '; expires=Fri, 13-Apr-1970 00:00:00 GMT' + ((path)?';path=' + path:'') + ((domain)?';domain=' + domain:''); // set an already-expired cookie  }} // WM_killCookiefunction popup(){//var adstate = WM_readCookie("popstate");//if (WM_acceptsCookies && adstate ==''){//openCenterWindow("pop.html","Reader",400,400,"status=no,toolbar=no,menubar=no,location=no,scrollbars=0");//window.open("pop.html", "win1", "height=400,width=400,status=no,toolbar=no,menubar=no,location=no,scrollbars=0");//WM_setCookie ("popstate", true, 24);//}}//v1.0//Copyright 2006 Adobe Systems, Inc. All rights reserved.function AC_AddExtension(src, ext){  if (src.indexOf('?') != -1)    return src.replace(/\?/, ext+'?');   else    return src + ext;}function AC_Generateobj(objAttrs, params, embedAttrs) {   var str = '<object ';  for (var i in objAttrs)    str += i + '="' + objAttrs[i] + '" ';  str += '>';  for (var i in params)    str += '<param name="' + i + '" value="' + params[i] + '" /> ';  str += '<embed ';  for (var i in embedAttrs)    str += i + '="' + embedAttrs[i] + '" ';  str += ' ></embed></object>';  document.write(str);}function AC_FL_RunContent(){  var ret =     AC_GetArgs    (  arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"     , "application/x-shockwave-flash"    );  AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);}function AC_SW_RunContent(){  var ret =     AC_GetArgs    (  arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"     , null    );  AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);}function AC_GetArgs(args, ext, srcParamName, classid, mimeType){  var ret = new Object();  ret.embedAttrs = new Object();  ret.params = new Object();  ret.objAttrs = new Object();  for (var i=0; i < args.length; i=i+2){    var currArg = args[i].toLowerCase();        switch (currArg){	      case "classid":        break;      case "pluginspage":        ret.embedAttrs[args[i]] = args[i+1];        break;      case "src":      case "movie":	        args[i+1] = AC_AddExtension(args[i+1], ext);        ret.embedAttrs["src"] = args[i+1];        ret.params[srcParamName] = args[i+1];        break;      case "onafterupdate":      case "onbeforeupdate":      case "onblur":      case "oncellchange":      case "onclick":      case "ondblClick":      case "ondrag":      case "ondragend":      case "ondragenter":      case "ondragleave":      case "ondragover":      case "ondrop":      case "onfinish":      case "onfocus":      case "onhelp":      case "onmousedown":      case "onmouseup":      case "onmouseover":      case "onmousemove":      case "onmouseout":      case "onkeypress":      case "onkeydown":      case "onkeyup":      case "onload":      case "onlosecapture":      case "onpropertychange":      case "onreadystatechange":      case "onrowsdelete":      case "onrowenter":      case "onrowexit":      case "onrowsinserted":      case "onstart":      case "onscroll":      case "onbeforeeditfocus":      case "onactivate":      case "onbeforedeactivate":      case "ondeactivate":      case "type":      case "codebase":        ret.objAttrs[args[i]] = args[i+1];        break;      case "width":      case "height":      case "align":      case "vspace":       case "hspace":      case "class":      case "title":      case "accesskey":      case "name":      case "id":      case "tabindex":        ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];        break;      default:        ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];    }  }  ret.objAttrs["classid"] = classid;  if (mimeType) ret.embedAttrs["type"] = mimeType;  return ret;} // Check to see if cookies enabled/*setCookie("test", "on");var test =getCookie("test");cookieEnabled=(test=="on")? true : false;setCookie("test", "idle"); //erase dummy valueif (cookieEnabled==false) {	document.location = "cookieAlert.html";	} else {	var accepted =getCookie("accept");	if (accepted!=="true") {	document.location = "index.html";	}}*///-->