/*---- dt tools v3.0.2 MOD *//*
Written by: David Tsuji
Help: dt.flodge.com
Last Updated: Tuesday 09 Jan 2007 : 0807

Removed insertAdjacent HTML fix 200706051434

*/

function dt_error() { try{window.status="Old browser software. Please upgrade."}catch(e){} }

/*---- dt.tools */
dt_toolbox = function() {
	browserDetection = function() {
		var agt = navigator.userAgent.toLowerCase();
		
		this._ie		=	agt.match(/msie(.*)?windows/)?true:false;
		this._safari	=	agt.match(/mac(.*)?safari/)?true:false;
		this._firefox	=	agt.match(/mozilla(.*)?firefox/)?true:false;
		this._mozilla	=	agt.match(/mozilla(.*)?gecko/)&&!this._firefox?true:false;
		this._os		=	agt.match(/windows/)?"win":agt.match(/macintosh/)?"mac":"other";
		this._version	=	this._ie?parseFloat(agt.match(/msie .../).toString().split(" ")[1]):
							this._firefox||this._safari?parseFloat(agt.match(/(firefox|safari)\/.../).toString().split("/")[1]):0;
		
	}
	this.browser = new browserDetection();
	
	this.attachEvent = function(obj, evt, func) {
		try {
			obj.attachEvent(evt,func);
		} catch(e) {
			try { obj.addEventListener(evt.split("on").join(""),func,false) }catch(e){dt_error()}
		}
	}
	this.detachEvent = function(obj, evt, func) {
		try {
			obj.detachEvent(evt, func);
		} catch(e) {
			try { obj.removeEventListener(evt.split("on").join(""),func) }catch(e){dt_error()}
		}
	}
	this.getPosition = function(o) {
		var x, y;
		
		try {
			x = (o.getBoundingClientRect().left -2) + document.body.scrollLeft;
			y = (o.getBoundingClientRect().top -2) + document.body.scrollTop;
		} catch(e) {
			try {
				x = document.getBoxObjectFor(o).x;
				y = document.getBoxObjectFor(o).y;
			}catch(e) {
				
				try {
					notie_getx = function(p_el) {
						while (p_el.tagName.toLowerCase() == "a") p_el = p_el.firstChild;
						var _xPos = p_el.offsetLeft, _tempEl = p_el.offsetParent;
				
						while ( _tempEl != null ) {
							_xPos += _tempEl.offsetLeft;
							_tempEl = _tempEl.offsetParent;
						}
						return _xPos;
					}
					
					notie_gety = function(p_el) {
						while (p_el.tagName.toLowerCase() == "a") p_el = p_el.firstChild;
						var _yPos = p_el.offsetTop, _tempEl = p_el.offsetParent;
				
						while ( _tempEl != null ) {
							_yPos += _tempEl.offsetTop;
							_tempEl = _tempEl.offsetParent;
						}
						return _yPos;
					}
					x = notie_getx(o);
					y = notie_gety(o);

				} catch(e) {
					x = 0;
					y = 0;
				}
			}
		}
		
		o._x = x;
		o._y = y;
	
	}
	this.flyouts = function() {
		dt.flyouts.fo_arr = new Array();
		dt.attachEvent(window, "onload", dt.flyouts.onload);
	}
	this.flyouts.onload = function() {
		var menu_o;

		try {
			menu_o = document.getElementsByName("fomenu");
			for (var i=0;i<menu_o.length;i++) dt.flyouts.init(menu_o[i]);
		} catch(e) {}

		if (dt.flyouts.hasRun != true) {
			try {	dt.attachEvent(document.body, "onclick", dt.flyouts.kill)					}catch(e){}
			try {	dt.attachEvent(window, "onresize", dt.flyouts.fixPositionsAfterEvent)		}catch(e){}
			try {	dt.attachEvent(window, "onscroll", dt.flyouts.fixPositionsAfterEvent)		}catch(e){}
		}
		
		//-- So the events do not keep attaching
		dt.flyouts.hasRun = true;
	}
	this.flyouts.fixPositionsAfterEvent = function() {
		try { clearInterval(dt.flyouts.fixpos_iid) }catch(e){}
		dt.flyouts.fixpos_iid = setInterval(dt.flyouts.fixPositions, 100);
	}
	this.flyouts.fixPositions = function() {
		var menu_o, flyout_o;
		
		try { clearInterval(dt.flyouts.fixpos_iid) }catch(e){}
		
		menu_o = document.getElementsByName("fomenu");
		for (var i=0;i<menu_o.length;i++) {
			try {
				var foba = navigator.userAgent.toLowerCase();
				var pos_definition_arr = new Array();
				flyout_o = menu_o[i];
				dt.getPosition(flyout_o);
				mpos = flyout_o.getAttribute("foposition").split(",");
				switch(mpos.length) {
					case 2:
						pos_definition_arr.push(0);
						pos_definition_arr.push(1);
					break;
					case 4:
						if ((foba.indexOf("msie") != -1) && (foba.indexOf("opera") == -1)) {
							pos_definition_arr.push(0);
							pos_definition_arr.push(1);
						} else {
							pos_definition_arr.push(2);
							pos_definition_arr.push(3);
						}
					break;
					default:
						if ((foba.indexOf("msie") != -1) && (foba.indexOf("opera") == -1)) {
							pos_definition_arr.push(0);
							pos_definition_arr.push(1);
						} else if (	(foba.indexOf('mozilla')!=-1) && (foba.indexOf('spoofer')==-1)
									&& (foba.indexOf('compatible') == -1) && (foba.indexOf('opera')==-1)
									&& (foba.indexOf('webtv')==-1) && (foba.indexOf('hotjava')==-1)
									&& (foba.indexOf('safari')==-1) ) {
							pos_definition_arr.push(2);
							pos_definition_arr.push(3);
						} else {
							pos_definition_arr.push(4);
							pos_definition_arr.push(5);
						}
					break;
				}

				if (isNaN(mpos[pos_definition_arr[0]])) {
					if (mpos[pos_definition_arr[0]].indexOf("this") != -1) mpos[pos_definition_arr[0]] = mpos[pos_definition_arr[0]].replace("this", "flyout_o._x");
					
					if (mpos[pos_definition_arr[0]].indexOf("element") != -1) {
						mpos[pos_definition_arr[0]] = mpos[pos_definition_arr[0]].split("element").join("flyout_o");
					}
					
					mpos[pos_definition_arr[0]] = eval(mpos[pos_definition_arr[0]]);
				}
				if (isNaN(mpos[pos_definition_arr[1]])) {
					if (mpos[pos_definition_arr[1]].indexOf("this") != -1) mpos[pos_definition_arr[1]] = mpos[pos_definition_arr[1]].replace("this", "flyout_o._y");
					
					if (mpos[pos_definition_arr[1]].indexOf("element") != -1) {
						mpos[pos_definition_arr[1]] = mpos[pos_definition_arr[1]].split("element").join("flyout_o");
					}
					
					mpos[pos_definition_arr[1]] = eval(mpos[pos_definition_arr[1]]);
				}

				document.getElementsByName(flyout_o.getAttribute("fomenu"))[0].style.left = mpos[pos_definition_arr[0]]+"px";
				document.getElementsByName(flyout_o.getAttribute("fomenu"))[0].style.top = mpos[pos_definition_arr[1]]+"px";
			}catch(e){}
		}
	}
	this.flyouts.show = function() {
		var o = dt.flyouts.fo_arr[0];
		try {
			
			while(o.getAttribute("fochildof")!=null) {
				o = document.getElementsByName(o.getAttribute("fochildof"))[0];
				dt.flyouts.fo_arr.push(o);
			}
			
		}catch(e){}
		
		for (var i=0; i<dt.flyouts.fo_arr.length; i++) {
			dt.flyouts.fo_arr[i].style.visibility = "visible";
		}

		dt.flyouts.showHideSelects("hidden");
		try { clearInterval(dt.flyouts.check_iid) }catch(e){}
		dt.flyouts.check_iid = setInterval(dt.flyouts.hide, 1500);
	}
	this.flyouts.init = function(flyout_o) {
		var sticky_bln = false;

		// Used in the vertical navs where the flyouts double as sticky static navs
		//if (o.getAttribute("stickonurl")) if (location.href.match(o.getAttribute("stickonurl"))) sticky_bln = true;
		if (flyout_o.getAttribute("fomenu") == null) {

			try {
				if (dt.flyouts.hasRun != true) dt.attachEvent(flyout_o, "onmouseover", dt.flyouts.kill);
			} catch(e){}
			
		} else if (flyout_o.getAttribute("fomenu") && sticky_bln == false) {

			/*---- Fix Positions */
			dt.flyouts.fixPositions();
			/*---- Fix Positions */

			/*---- Mouse Events */
				//-- Flyout elements
				fo_over_fn = function() {
					var this_o, exist_bln = false;
					try { this_o = event.srcElement } catch(e) { this_o = this }
					try { while (!this_o.getAttribute("fomenu")&&this_o.parentNode) this_o = this_o.parentNode } catch(e){}
					if (dt.flyouts.fo_arr[0] != document.getElementsByName(this_o.getAttribute("fomenu"))[0])
						dt.flyouts.kill();
					dt.flyouts.over_bln = true;
					dt.flyouts.fo_arr.push(document.getElementsByName(this_o.getAttribute("fomenu"))[0]);
					dt.flyouts.show();
				}
		
				fo_out_fn = function() {
					dt.flyouts.over_bln = false;
				}
				
				//-- Flyout elements
				fo_el_over_fn = function() {
					dt.flyouts.over_bln = true;
				}
				
				fo_el_out_fn = function() {
					dt.flyouts.over_bln = false;
				}
				
				//-- Apply mouse events
				if (dt.flyouts.hasRun != true) {
					dt.attachEvent(flyout_o, "onmouseover", fo_over_fn);
					dt.attachEvent(flyout_o, "onmouseout", fo_out_fn);
					try {
						dt.attachEvent(document.getElementsByName(flyout_o.getAttribute("fomenu"))[0], "onmouseover", fo_el_over_fn);
						dt.attachEvent(document.getElementsByName(flyout_o.getAttribute("fomenu"))[0], "onmouseout", fo_el_out_fn);
					} catch(e){}
				}
			/*---- Mouse Events */

		}
	}
	this.flyouts.kill = function(fn) {
		for (var i=0; i<dt.flyouts.fo_arr.length; i++) {
			
			dt.flyouts.fo_arr[i].style.visibility = "hidden";
			
		}
		dt.flyouts.fo_arr = new Array();
		dt.flyouts.over_bln = false;
		try { clearInterval(dt.flyouts.check_iid) } catch(e){}
		dt.flyouts.check_iid = null;
		dt.flyouts.showHideSelects("visible");
	}
	this.flyouts.hide = function() {
		if (dt.flyouts.over_bln != true) dt.flyouts.kill();
	}
	this.flyouts.showHideSelects = function() {
		try {
			for (var i=0; (select_o=document.getElementsByTagName("SELECT")[i]); i++)
				select_o.style.visibility = type;
		} catch(e){}
	}
	this.connect = function(url,my_form,func,dt_loading_anime) {
		var oargs = new Array(), xmlhttp, form_str="", field_type;
		
		(!dt_loading_anime) ? dt_loading_anime = "dt_loading_anime" : void(0);
		
		try { clearInterval(dt.connect.timeout_iid) } catch(e){}
		try { document.getElementsByName(dt_loading_anime)[0].style.visibility="visible" } catch(e){}
	
		// Collate and format form data if it exists
		if (my_form) {
			name_fn = function(f) {
				if (f.getAttribute("id")!="") return f.getAttribute("id");
				else return f.getAttribute("name");
			}
			ampersand_fn = function(i) { if (i<(my_form.length-1)) return "&"; else return "" }
			for (var i=0; i<my_form.length; i++) {
				try { field_type = my_form[i].type } catch(e){field_type="none"}
				switch (field_type.toLowerCase()) {
					case "checkbox":
						if (my_form[i].checked)
							form_str += name_fn(my_form[i]) + "=" + escape(my_form[i].value) + ampersand_fn(i);
					break;
					
					case "radio":
						if (my_form[i].checked)
							form_str += name_fn(my_form[i]) + "=" + escape(my_form[i].value) + ampersand_fn(i);
					break;
					
					default:
						form_str += name_fn(my_form[i]) + "=" + escape(my_form[i].value) + ampersand_fn(i);
					break;
				}
			}
		}

		try {
			xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
		} catch(e) {
			try {
				xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
			} catch(f) {
				try {
					xmlhttp = new XMLHttpRequest();
				} catch (g) {}
			}
		}

		done_fn = function() {
			var write_error_bln;
			hide_anime_fn = function() {try { document.getElementsByName(dt_loading_anime)[0].style.visibility="hidden" } catch(e) {}}
			if (xmlhttp.readyState==4) {
				clearInterval(dt.connect.timeout_iid);
				if (	xmlhttp.responseText.match(/Microsoft VBScript runtime error/)!=null ||
						xmlhttp.responseText.match(/runtime error/)!=null ||
						xmlhttp.responseText.match(/line \d/)!=null ||
						xmlhttp.responseText.match(/Variable is undefined/)!=null ||
						xmlhttp.responseText.match(/The page cannot be found/)!=null ||
						xmlhttp.responseText.match(/HTTP Error/)!=null ||
						xmlhttp.responseText.match(/ADODB.Recordset error/)!=null ||
						xmlhttp.responseText.match(/Microsoft JET Database Engine error/)!=null
						) write_error_bln = true;
				if (xmlhttp.status==200&&write_error_bln!=true) {
					hide_anime_fn();
					try { func(xmlhttp.responseText) } catch(e) {}
				} else {
						
					var shadow = dt.shadow.show(80);
					shadow.innerHTML = "<p align=\"center\"><span style=\"border:1px solid #000;margin-top:30px;padding:10px;width:500px;background-color:#FFFFFF\"><p style=\"font-size:20px;font-weight:bold\">server error</p>"+xmlhttp.responseText+"<p style=\"color:#FF0000;cursor:hand\" onclick=\"dt.shadow.hide()\">close</p></span></p>";
					
					hide_anime_fn();

				}
			}
		}

		try {
			window.attachEvent();
			xmlhttp.onreadystatechange = done_fn;
		} catch (e) {
			xmlhttp.onreadystatechange = function() { done_fn() }
		}
		
		//-- Fix cache
		var cache_id = new Date();
		cache_id = cache_id.getTime();
		url += (url.match("\\?")) ? "&cache_id=" + cache_id : "?cache_id=" + cache_id;
		//-- Fix cache
		
		if (my_form) {
			xmlhttp.open("POST",url,true);
			xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
			xmlhttp.send(form_str);
		} else {
			xmlhttp.open("GET",url,true);
			xmlhttp.send(null);		
		}
		timeout_fn = function() {
			clearInterval(dt.connect.timeout_iid);
			window.status = "There was an error connecting to the server - try again in a few minutes";
		}
		dt.connect.timeout_iid = setInterval(timeout_fn, 20000);
	}
	this.xmlhttp = function(file_txt, form_el) { /*---- 200701081405 */
		
		/*---- declaration */
		window.xmlhttp_id = !window.xmlhttp_id?1:window.xmlhttp_id+=1;
		this._conn = {	xmlhttp:null,
						id:window.xmlhttp_id,
						timeout:20000,
						timeoutID:null,
						check:50,
						intervalID:null,
						types:new Array('MSXML2.XMLHTTP.3.0','MSXML2.XMLHTTP','Microsoft.XMLHTTP'),
						method:"GET",
						header:"application/x-www-form-urlencoded",
						postdata:null,
						state:null }

		this._file = (file_txt==undefined)?null:file_txt;
		this._form = (form_el==undefined)?"null":form_el;

		/*---- declaration */
		
		
		/*---- INIT */
		try {
			this._conn.xmlhttp = new XMLHttpRequest();
		} catch(e) {
			for(var i=0; i<this._conn.types.length; i++){
				try {
					this._conn.xmlhttp = new ActiveXObject(this._conn.types[i]);
					break;
				} catch(e){}
			}
		}
		/*---- INIT */
		
		
		/*---- callbacks */
		this.onComplete	= function(){}			
		this.onAbort	= function(){}
		this.onError	= function(){}
		/*---- callbacks */
		
		
		/*---- functions */
		this.abort = function(noEvent_bln) {
			
			//-- Check if the object is currently running, then abort it
			try {

				try { this._conn.xmlhttp.abort() }catch(e){}
				try {window.clearInterval(this._conn.intervalID) }catch(e){}
				delete this._conn.intervalID;
				delete this._conn.timeoutID;
				if (noEvent_bln!=true) this.onAbort();
					
			}catch(e){this.onError(this.getError(40))}

		}
		
		/*
		this.getForm is from Yahoo's "Connection Manager" setForm:function(formId, isUpload, secureUri)
		
		Copyright (c) 2006, Yahoo! Inc. All rights reserved.
		Code licensed under the BSD License:
		http://developer.yahoo.net/yui/license.txt
		Version: 0.11.3

		*/
		this.getForm = function(oForm) {
	
			var oElement, oName, oValue, oDisabled;
			var hasSubmit = false;
			var _sFormData = "";
	
			// Iterate over the form elements collection to construct the
			// label-value pairs.
			for (var i=0; i<oForm.elements.length; i++){
				oElement = oForm.elements[i];
				oDisabled = oForm.elements[i].disabled;
				oName = oForm.elements[i].name;
				oValue = oForm.elements[i].value;
	
				// Do not submit fields that are disabled or
				// do not have a name attribute value.
				if(!oDisabled && oName)
				{
					switch (oElement.type)
					{
						case 'select-one':
						case 'select-multiple':
							for(var j=0; j<oElement.options.length; j++){
								if(oElement.options[j].selected){
									if(window.ActiveXObject){
										_sFormData += encodeURIComponent(oName) + '=' + encodeURIComponent(oElement.options[j].attributes['value'].specified?oElement.options[j].value:oElement.options[j].text) + '&';
									}
									else{
										_sFormData += encodeURIComponent(oName) + '=' + encodeURIComponent(oElement.options[j].hasAttribute('value')?oElement.options[j].value:oElement.options[j].text) + '&';
									}
	
								}
							}
							break;
						case 'radio':
						case 'checkbox':
							if(oElement.checked){
								_sFormData += encodeURIComponent(oName) + '=' + encodeURIComponent(oValue) + '&';
							}
							break;
						case 'file':
							// stub case as XMLHttpRequest will only send the file path as a string.
						case undefined:
							// stub case for fieldset element which returns undefined.
						case 'reset':
							// stub case for input type reset button.
						case 'button':
							// stub case for input type button elements.
							break;
						case 'submit':
							if(hasSubmit == false){
								_sFormData += encodeURIComponent(oName) + '=' + encodeURIComponent(oValue) + '&';
								hasSubmit = true;
							}
							break;
						default:
							_sFormData += encodeURIComponent(oName) + '=' + encodeURIComponent(oValue) + '&';
							break;
					}
				}
			}

			_sFormData = _sFormData.substr(0, _sFormData.length - 1);
			
			return _sFormData;

		}
		this.handleResponse = function() {
			this.onComplete(this._conn.xmlhttp.responseText);
		}
		this.startListener = function() {

			var o = this;

			this._conn.timeoutID = window.setTimeout(function(){

				if (o._conn.timeoutID != undefined) {
					o.abort(true);
					o.onError(o.getError(12));
				}
				
			}, this._conn.timeout);
			
			this._conn.intervalID = window.setInterval(function(){
				
				try {

					if (o._conn.xmlhttp.readyState == 4 && o._conn.intervalID != undefined) {
						window.clearInterval(o._conn.intervalID);
						delete o._conn.intervalID;
						delete o._conn.timeoutID;
						o.handleResponse();
					}
					//} else o.onError(o.getError(13));
					
				}catch(e){o.onError(o.getError(30))}
														 
			}, this._conn.check);

		}
		this.getError = function(code_num) {
			var output_obj;
			switch (code_num.toString()) {
				case "10":
					output_obj = {code:code_num, description:"Error creating XMLHTTP object"};
				break;
				case "11":
					output_obj = {code:code_num, description:"Unknown error while trying to connect"};
				break;
				case "12":
					output_obj = {code:code_num, description:"A timeout occured"};
				break;
				case "13":
					output_obj = {code:code_num, description:"Connection error. Possibly a network error or a data transfer error."};
				break;
				case "20":
					output_obj = {code:code_num, description:"Error collating form data"};
				break;
				case "30":
					output_obj = {code:code_num, description:"Error checking the status of the connection"};
				break;
				case "40":
					output_obj = {code:code_num, description:"Error aborting the connection"};
				break;
				default:
					output_obj = {code:12222, description:"An unknown error occured"};
				break;
			}
			return output_obj;
		}
		/*---- functions */

		
		
		/*---- start connection */
		this.connect = function() {
			try {
				
				//-- If this object is already running, kill the running process
				try {
					this.abort(true);
				}catch(e){}
				
				//-- Append form data to the file
				try {
					
					this._form = (this._form!="null")?this._form:"null";
					
					if (this._form != "null") {
						if (this._form.nodeName.toLowerCase() == "form") {

							this._conn.postdata = this.getForm(this._form);
							this._conn.method = "POST";

						}
					}
					
				}catch(e){this.onError(this.getError(20))}
				
				try {
					
					//-- Fix cache
					var cache_id = new Date();
					cache_id = cache_id.getTime();
					this._file += (this._file.match("\\?")) ? "&cache_id=" + cache_id : "?cache_id=" + cache_id;
					//-- Fix cache

					this._conn.xmlhttp.open(this._conn.method, this._file, true);
					if (this._conn.method=="POST") this._conn.xmlhttp.setRequestHeader("Content-Type", this._conn.header);
					this.startListener();
					this._conn.xmlhttp.send(this._conn.postdata);
				
				}catch(e){this.onError(this.getError(10))}

			}catch(e){this.onError(this.getError(11))}

		}
		/*---- start connection */
		
	}
	this.shadow = function(){} /*---- 200701090800 */
	this.shadow.show = function(opacity_num) {
		/*
		[WRITTEN]	JSA DIGITAL (David Tsuji) | www.jsa.com.au
		[VERSION]	1.0.0 CREATE SHADOW
		*/
		
		var o, opacity_arr = new Array("00","11","22","33","44","55","66","77","88","99","A1","A9","B1","B9","C1","C9","D1","D9","E1","FF");
		
		opacity_num = (parseFloat(opacity_num)) ? opacity_num : 90;
		
		try { dt.shadow.hide() } catch(e) {}
		
		try {
			for (var i=0; i<document.getElementsByTagName("SELECT").length; i++) {
				s = document.getElementsByTagName("SELECT")[i];
				s.style.display = "none";
			}
		} catch(e) {}
		
		try {
			document.body.insertAdjacentHTML("afterBegin", ""+
			"<div id=\"dtshadow_div\" name=\"dtshadow_div\" onclick=\"null\" style=\"z-index:9999;position:absolute;filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#"+opacity_arr[Math.round(opacity_num/5)]+"000000', EndColorStr='#"+opacity_arr[Math.round(opacity_num/5)]+"000000');opacity:"+(opacity_num/100)+";-moz-opacity:"+(opacity_num/100)+";\">"+
			"</div>");

			o = document.getElementById("dtshadow_div");
			try {
				with (o.style) {
					backgroundColor="#000000";
					filter="alpha(opacity="+(opacity_num)+")";
				}
			} catch(e) {}
			
			reset_shadow_pos = function() {
				var db = document.body;
				try {
					var o = document.getElementById("dtshadow_div");
					o.style.width	= db.clientWidth;
					o.style.height	= db.clientHeight;
					o.style.left	= db.scrollLeft;
					o.style.top		= db.scrollTop;
				}catch(e){}
			}

			// OnMove Events
			o.style.backgroundImage = "url(images/filler.gif)";
			dt.attachEvent(window, "onresize", reset_shadow_pos);
			dt.attachEvent(window, "onscroll", reset_shadow_pos);
			reset_shadow_pos();
			o.style.height = document.body.clientHeight;
			o.style.width = document.body.clientWidth;
			return o;
		} catch(e) {}
	}
	this.shadow.hide = function() {
		var s;
		try {
			dt.detachEvent(window, "onresize", reset_shadow_pos);
			dt.detachEvent(window, "onscroll", reset_shadow_pos);
		}catch(e){}
		try {
			document.getElementById("dtshadow_div").removeNode(true);
		} catch(e) {
			try {
				document.getElementById("dtshadow_div").parentNode.removeChild(document.getElementById("dtshadow_div"));	
			}catch(e){}
		}
		try {
			for (var i=0; i<document.getElementsByTagName("SELECT").length; i++) {
				s = document.getElementsByTagName("SELECT")[i];
				s.style.display = "inline";
			}
		} catch(e) {}
	}
	this.upload = function(){}
	this.upload.show = function(src, func, valid_arr, args, extra_form_data, _target) {
		var db = document.body, valid_bln = false, valid_files_arr;
		var o_dte = new Date(), o_txt = "div_uploader";
		var hidden_fields="";
		try { valid_files_arr = valid_arr.split(",") } catch(e){}
		try {
			for (var i=0; i<extra_form_data.split("&").length; i++) {
				hidden_fields +=	"<input type=\"hidden\" name=\""+extra_form_data.split("&")[i].split("=")[0]+"\""+
									" id=\""+extra_form_data.split("&")[i].split("=")[0]+"\""+
									" value=\"" + extra_form_data.split("&")[i].split("=")[1]+"\">";
			}
		} catch(e) {}
		(!_target)?_target="iframe_img_upload":void(0);
		var o = "<div id=\""+o_txt+"\" name=\""+o_txt+"\" style=\"display:block;width:393px;height:140px;position:absolute;top:"+(db.scrollHeight-db.scrollTop)+";left:"+((db.scrollWidth/2)-(196))+"\"><form action=\""+src+"\" method=\"post\" enctype=\"multipart/form-data\" name=\"img_upload\" target=\""+_target+"\" id=\"img_upload\" onSubmit=\"return init_progress_bar(this)\" style=\"margin-bottom:0px;width:391px\"><table width=\"100%\" border=\"0\" cellpadding=\"10\" cellspacing=\"3\" bgcolor=\"#FFFFFF\" style=\"border:1px solid #C0C0C0\"><tr><td nowrap style=\"filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#22000000', EndColorStr='#00000000')\"><h1>upload file</h1><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"35\"><tr><td><span id=\"progress_field\" name=\"progress_field\" style=\"display:none;\"></span><span id=\"file_field\" name=\"file_field\"><input type=\"file\" id=\"myfile\" name=\"myfile\" style=\"width:100%\"></span></td></tr></table><p align=\"right\"><input type=\"button\" name=\"Button\" value=\"Cancel\" onClick=\"dt.upload.hide()\"><input name=\"submit_btn\" type=\"submit\" id=\"submit_btn\" value=\"start uploading\"></p></td></tr></table><iframe id=\"iframe_img_upload\" name=\"iframe_img_upload\" style=\"position:absolute;display:none\"></iframe><input type=\"hidden\" name=\"file_name_change\" id=\"file_name_change\" value=\"empty\">"+hidden_fields+"</form></div>";
		dt.shadow.show(90);
		try {
			document.body.insertAdjacentHTML("beforeEnd",o);
			o = document.getElementsByName(o_txt)[0];
			reset_upload_pos = function() {
				var db = document.body, o = document.getElementsByName("div_uploader")[0];
				var body_width	= db.clientWidth;
				var body_height	= db.clientHeight;
				try {
					o.style.left	= db.scrollLeft + ((body_width/2)-(o.offsetWidth/2));
					o.style.top		= db.scrollTop + ((body_height/2)-(o.offsetHeight/2));
				}catch(e){}
			}

			dt.attachEvent(window, "onresize", reset_upload_pos);
			dt.attachEvent(window, "onscroll", reset_upload_pos);
			reset_upload_pos();
		} catch(e) {}
		
		init_progress_bar = function(f) {
			
			var Session = new String();
			
			show_progress_fn = function() {
				var o = document.getElementsByName("progress_field")[0];
				var src, iid, ok_to_query_bln = true;
				server_response_fn = function() {
					write_response_fn = function(bln) {
						o.innerHTML = bln.split("//uploaded//").join("");;
						ok_to_query_bln = true;
		
						if (bln.match("//uploaded//")) {
							clearInterval(iid);
							ok_to_query_bln = false;
							wait_for_changes_fn = function() {
								alert("Your file was uploaded successfully");
								src = (f.file_name_change.value=="empty")?f.myfile.value:f.file_name_change.value;
								try {func(src.split("\\")[src.split("\\").length-1],args)}catch(e){}
								dt.upload.hide();
							}
							setTimeout(wait_for_changes_fn,2000);
						}
		
					}
					if (ok_to_query_bln==true) {
						ok_to_query_bln = false;
						dt.connect("../_dt_connect/dtc_uploadfile_status.asp?Session="+Session, "", write_response_fn);
					}
				}
				iid = setInterval(server_response_fn, 500);
			}
			
			if (valid_files_arr) {
				
				for (var i=0; i<valid_files_arr.length; i++)
					if (f.myfile.value.match(valid_files_arr[i])) valid_bln = true;
					
			} else valid_bln = true;
		
			if (valid_bln == false) {
				alert("only the following file types are permitted to this field.\n\n"+valid_files_arr+"\n\nChoose another file and try again");
				return false;
			} else {
		
				show_progress_fn();
				
				f.submit_btn.disabled = true;
				
				document.getElementsByName("file_field")[0].style.display = "none";
				document.getElementsByName("progress_field")[0].style.display = "block";
			
				Session = Math.floor(Math.random() * 0xFFFFFF).toString(16);
				f.action += "?Session=" + Session;
				
				return true;

			}
		
		}
		
		return o;
	}
	this.upload.hide = function(id) {
		try {
			dt.detachEvent(window, "onresize", reset_upload_pos);
			dt.detachEvent(window, "onscroll", reset_upload_pos);
		}catch(e){}
		try { document.getElementsByName("iframe_img_upload")[0].src = "" } catch(e) {}
		try { dt.shadow.hide() } catch(e) {}
		try { document.getElementsByName("div_uploader")[0].removeNode(true) } catch(e) {}
	}
	this.rollovers = function() {
		for (var i=0;(img=document.images[i]);i++) {
			try {
				if (location.href.match(img.getAttribute("stickonurl"))) {
					img.src = img.getAttribute("stickimg")?img.getAttribute("stickimg"):img.getAttribute("rollover");
				}
			}catch(e){}
			if (img.getAttribute("rollover")&&img.done_bln!=true) {
				img.o=new Image();
				img.n=new Image();
				img.o.src = img.getAttribute("rollover");
				img.n.src = img.src;
				img.done_bln = true;
				over_fn = function() {
					var o;
					try { o=event.srcElement } catch(e) { o=this };
					o.src = o.o.src;
				}
				out_fn = function() {
					var o;
					try { o=event.srcElement } catch(e) { o=this };
					o.src = o.n.src;
				}
				dt.attachEvent(img, "onmouseover", over_fn);
				dt.attachEvent(img, "onmouseout", out_fn);
			}
		}
	}

	this.flash = function(_file, _id, _width, _height, _bgcolor, _requiredversion) {
		
		this._version		= deconcept.SWFObjectUtil.getPlayerVersion().major;
		this._installed		= (this._version>0);

		this._file				= _file;
		this._width				= _width;
		this._height			= _height;
		this._requiredversion	= _requiredversion==undefined&&!parseFloat(_requiredversion)?this._version:parseFloat(_requiredversion);
		this._id				= (_id==undefined||_id=="")?"el"+new Date().getTime():_id;
		this._bgcolor			= _bgcolor;
		this._noflash			= "";
		this._values			= new Array();
		this._settings			= new Array();
		
		this.add = function(_var, _val) {
			this._values.push([_var, _val]);
		}
		
		this.set = function(_var, _val) {
			this._settings.push([_var, _val]);
		}

		this.attach = function(_el) {
			this._el = _el;
			
			if (this._file && this._id && this._el && this._width && this._height) {
				
				if (this._bgcolor == "transparent") this.set("wmode", "transparent");
				
				try { // Trying to write the flash content
					var so = new SWFObject(this._file, this._id, this._width, this._height, this._requiredversion, this._bgcolor);
					try { for (var i=0; i<this._values.length; i++) so.addVariable(this._values[i][0], this._values[i][1]) }catch(e){}
					try { for (var i=0; i<this._settings.length; i++) so.addParam(this._settings[i][0], this._settings[i][1]) }catch(e){}
					so.write(_el);
				}catch(e){}
				try { // Trying to write the non-flash content
					if (this._version < this._requiredversion) document.getElementById(this._el).innerHTML=this._noflash;
				}catch(e){}

			} else alert("An error occured constructing the flash object (possibly missing a required parameter or a parameter was the wrong type)");
		}

	}
	this.validate = function(f, arr) {
		var ei=-1, field, msg = "Please correct the following fields:\n\n", bln = true;
		var email_re  = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
		error_fn = function(i) {
			var fld = eval("f."+arr[i].split(",")[0]);
			bln=false; ei++;
			msg += "- "+arr[i].split(",")[2]+"\n";
			try {
				(ei==0)?fld.focus():void(0);
				(ei==0)?fld.select():void(0);
				fld.style.borderColor="#FF0000";
				fld.has_error = true;
				fld.oktoclear_bln = false;
			}catch(e){}
		}
		try {
			
			for (var i=0; (i<arr.length); i++) try { eval("f."+arr[i].split(",")[0]+".oktoclear_bln=true") }catch(e){}
			for (var i=0; (i<arr.length); i++) {
			
				field = eval("f."+arr[i].split(",")[0]);
				try { (field.has_error==true&&field.oktoclear_bln==true)?field.style.borderColor="":void(0) }catch(e){}
			
				switch (arr[i].split(",")[1]) {
				
					case "req":	(field.value=="")?error_fn(i):void(0);				break;
					case "eml":	(!field.value.match(email_re))?error_fn(i):void(0);	break;
					case "num":	(!parseFloat(field.value)&&field.value!="0")?error_fn(i):void(0);		break;
					default:	(eval(arr[i].split(",")[1]))?error_fn(i):void(0);	break;

				}
			
			}
			(bln==false)?alert(msg):void(0);
			return bln;
				
		} catch(e) {}

	}
	this.alert = function() { /*---- 200701090800 */
		this.alert.autohide_iid = null;
	}
	this.alert.hide = function() {
		try { var o = document.getElementsByName("dt_alert_holder")[0] } catch(e){}
		try {
			dt.detachEvent(window, "onscroll", fix_dtAlert_pos_fn);
			dt.detachEvent(window, "onresize", fix_dtAlert_pos_fn);
			o.innerHTML = "";
		}catch(e){}
		try { clearInterval(dt.alert.autohide_iid) }catch(e){}
		try {
			o.removeNode(true);
		} catch(e) {
			try {o.parentNode.removeChild(o) }catch(e){}
		}
	}
	
	this.alert.show = function(msg, time) {
		
		try {
			
			time = (!time)?9999:time;
			
			try { clearInterval(dt.alert.autohide_iid); }catch(e){}
			
			try {
				dt.alert.autohide_iid = setInterval("dt.alert.hide()", parseFloat(time)*1000);
			}catch(e){}
			
			var o_holder, o_content_tbl, o_content;			
			
			if (document.getElementsByName("dt_alert_holder").length == 0) {
				document.body.insertAdjacentHTML("afterBegin", "<div id=\"dt_alert_holder\" name=\"dt_alert_holder\" style=\"position:absolute;z-index:99999\"><table id=\"dt_alert_bar\" name=\"dt_alert_bar\"><tr><td name=\"dt_alert_content\" id=\"dt_alert_content\"></td><td width=1%><input type=button value=close onclick=dt.alert.hide()></td></tr></table><table style=\"width:100%;height:20px;filter:progid:DXImageTransform.Microsoft.gradient(enabled='true',startColorstr=#99000000, endColorstr=#00000000)\"><tr><td>&nbsp;</td></tr></table></div>");
			}
	
			try {
				o_holder		= document.getElementsByName("dt_alert_holder")[0];
				o_content_tbl	= document.getElementsByName("dt_alert_bar")[0];
				o_content		= document.getElementsByName("dt_alert_content")[0];
		
				o_holder.style.left = "0px";
				o_holder.style.top = "0px";
		
				o_content_tbl.style.borderBottom = "1px solid #EFB539";
				o_content_tbl.style.width = "100%";
				o_content_tbl.style.backgroundColor = "#FFF993";
				o_content_tbl.style.filter = "progid:DXImageTransform.Microsoft.gradient(enabled='true',startColorstr=#FFFFFFAA, endColorstr=#FFFFD16C)";
		
				o_content.style.color = "#000000";
				o_content.style.padding = "10px";
						
				o_content.innerHTML = msg;
				
				o_holder.style.top		= document.body.scrollTop - o_holder.offsetHeight;
			}catch(e){}
			
			fix_dtAlert_pos_fn = function(top_bln) {
				try {
					var o = document.getElementsByName("dt_alert_holder")[0];
					o.style.left	= document.body.scrollLeft;
					o.style.width	= "100%";
					if (top_bln==true)	dt.tween(o_holder, "style.top", "", "this.offsetTop", "document.body.scrollTop", .3);
					else				o.style.top		= document.body.scrollTop;
				}catch(e){}
			}
			fix_dtAlert_pos_fn(true);
			
			try {
				dt.attachEvent(window, "onscroll", fix_dtAlert_pos_fn);
				dt.attachEvent(window, "onresize", fix_dtAlert_pos_fn);
			}catch(e){}
			
		} catch(e){alert(msg)}
	}
		
	this.tween = function(o, property, easingType, start, end, seconds) {
		try {clearInterval(o.tween.iid) }catch(e){ o.tween = new Object() }
		fn = function() {
			moveto = function(t, b, c, d) {
				if ((t/=d/2) < 1) return c/2*t*t + b;
				return -c/2 * ((--t)*(t-2) - 1) + b;
			}
			try {
				eval("o."+property+" = moveto(o.tween.t, o.tween.b, o.tween.c, o.tween.d)");
				o.tween.t += 10;
				if (o.tween.t > o.tween.d) clearInterval(o.tween.iid);
			}catch(e){ try{clearInterval(o.tween.iid)}catch(e){} }
		}
		o.tween.t = 0;
		o.tween.b = parseFloat(eval(start.toString().split("this").join("o")));
		o.tween.c = parseFloat(eval(end.toString().split("this").join("o")))-parseFloat(eval(start.split("this").join("o")));
		o.tween.d = seconds*1000;
		o.tween.iid = setInterval(fn, 10);
	}
	
	this.calendar = function(_obj, el_txt, _attr) {

		var close_html;
		_attr = (!_attr)?"":_attr;

		close_html = _attr.match("close_html=")?_attr:"";
		
		
		
		try {
			this._el = document.getElementsByName(el_txt)[0];
		}catch(e){}

		this.onChangeMonth = function(){}
		this.getDate = function() {
			return eval(_obj+".selected_dte");
		}
		this.getDisplayDate = function() {
			return eval(_obj+".displayed_dte");
		}
		this.onSelect = function(){}
		this.hide = function() {
			try {
				document.getElementsByName(el_txt)[0].style.display = "none";
			}catch(e){}
		}
		this.show = function() {
			try {
				document.getElementsByName(el_txt)[0].style.display = "block";
			}catch(e){}
		}
		this.write = function(_dte, display_dte) {
			var _el, _html="", uid = new Date().getTime(), td_dte;
			var month_names_arr = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
			var row_html="<tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr>";
			
			//-- If the display date is specified to none set the flag
			var cal_dte, display_dte_bln = (display_dte == "none")?false:true;
		
			//-- If no date is specified, set current client date
			_dte = (!_dte||_dte.indexOf("/")==-1)?new Date():new Date(_dte.split("/")[2],parseFloat(_dte.split("/")[1])-1,_dte.split("/")[0]);
			display_dte = (!display_dte||display_dte.indexOf("/")==-1)?new Date(_dte.getTime()):new Date(display_dte.split("/")[2],parseFloat(display_dte.split("/")[1])-1,display_dte.split("/")[0]);
			
			eval(_obj+".selected_dte = new Date(_dte.getTime())");
			eval(_obj+".displayed_dte = new Date(display_dte.getTime())");
			
			cal_dte = new Date(display_dte.getTime());
			
			try {
				_el = document.getElementsByName(el_txt)[0];
			}catch(e) {}

			try {

				row_html = row_html.split("<td").join("<td id="+uid+" name="+uid);
				
				formatDte_fn = function(_dte, _type, adjust_num) {
					adjust_num = (display_dte_bln==false&&_type==1)?adjust_num-1:adjust_num;
					adjust_num = (display_dte_bln==false&&_type==3)?adjust_num+1:adjust_num;
					return (display_dte_bln==false&&(_type==2||_type==4))?"none":_dte.getDate()+"/"+(_dte.getMonth()+adjust_num)+"/"+_dte.getFullYear();
				}
				
				_html +=	"<div style=\"border:1px solid #5F9DE4;background-color:#F7F9FB;width:170px\">"+
							"<div style=\"padding:2px;padding-left:5px;float:left;cursor:pointer\" onmouseover=\"this.style.color='#FF0000'\" onmouseout=\"this.style.color=''\" onclick=\""+_obj+".write('"+formatDte_fn(_dte, 1, 1)+"', '"+formatDte_fn(display_dte, 2, 0)+"')\" title=\"Previous Month\">&lt;</div>"+
							"<div style=\"padding:2px;float:left;cursor:pointer\" onmouseover=\"this.style.color='#FF0000'\" onmouseout=\"this.style.color=''\" onclick=\""+_obj+".write('"+formatDte_fn(_dte, 3, 1)+"', '"+formatDte_fn(display_dte, 4, 2)+"')\" title=\"Next Month\">&gt;</div>"+
							(_attr.indexOf("close=false")==-1?"<div style=\"padding:2px;padding-right:5px;float:right;cursor:pointer\" onmouseover=\"this.style.color='#FF0000'\" onmouseout=\"this.style.color=''\" onclick=\""+_obj+".hide()\" title=\"Close this calendar\">x</div>":"")+
							"<div style=\"text-align:center;padding:2px;font-weight:bold\">"+
							month_names_arr[display_dte.getMonth()]+" "+display_dte.getFullYear()+
							"</div>"+
							"<table cellpadding=0 cellpadding=0 border=0 style=\"margin:3px;\">"+
							"<tr>"+
							"<td align=center style=\"font-size:10px;\">MO</td>"+
							"<td align=center style=\"font-size:10px;\">TU</td>"+
							"<td align=center style=\"font-size:10px;\">WE</td>"+
							"<td align=center style=\"font-size:10px;\">TH</td>"+
							"<td align=center style=\"font-size:10px;\">FR</td>"+
							"<td align=center style=\"font-size:10px;\">SA</td>"+
							"<td align=center style=\"font-size:10px;\">SU</td>"+
							"</tr>"+
							row_html+row_html+row_html+row_html+row_html+row_html+
							"</table>"+
							"</div>";

				try {
					_el.innerHTML = _html;
				}catch(e){alert(e.description)}
				
				while (cal_dte.getDay() > 1 || cal_dte.getMonth() == display_dte.getMonth())
					cal_dte = new Date(cal_dte.getTime()-(1000*60*60*24));

				if (	new Date(cal_dte.getTime() + (1000*60*60*24)).getDate() == 1 &&
						new Date(cal_dte.getTime() + (1000*60*60*24)).getDay() == 1 )
						cal_dte = new Date(cal_dte.getTime()+(1000*60*60*24));	

				for (var i=0; i<document.getElementsByName(uid).length; i++) {
					td_dte = document.getElementsByName(uid)[i];
					td_dte.setAttribute("align", "center");
					td_dte.style.borderTop = "1px solid #FFFFFF";
					td_dte.style.borderRight = "1px solid #CCCCCC";
					td_dte.style.borderBottom = "1px solid #CCCCCC";
					td_dte.style.borderLeft = "1px solid #FFFFFF";
					td_dte.style.width = "17px";
					td_dte.style.height = "17px";
					td_dte.style.fontFamily = "Tahoma, Arial";
					td_dte.style.fontSize = "10px";
					td_dte.style.padding = "3px";
					td_dte.style.cursor = "pointer";
					
					td_dte.style_backgroundColor = "";
					td_dte.style_color = "";
					
					td_dte.my_dte = cal_dte.getDate() + "/" + (cal_dte.getMonth()+1) + "/" + cal_dte.getFullYear();
					
					td_dte.onmouseover = function() {
						this.style.backgroundColor = "#EFB539";
						this.style.color = "#FFFFFF";
					}
					
					td_dte.onmouseout = function() {
						this.style.backgroundColor = this.style_backgroundColor;
						this.style.color = this.style_color;
					}
					
					td_dte.onclick = function() {
						eval(_obj+".onSelect('"+this.my_dte+"')");
					}
					
					if (cal_dte.getMonth() != display_dte.getMonth()) {
						td_dte.style_backgroundColor = "#DEE0E2";
						td_dte.style.backgroundColor = td_dte.style_backgroundColor;
					}
					
					if (cal_dte.getDate() == _dte.getDate() && cal_dte.getMonth() == _dte.getMonth() && cal_dte.getFullYear() == _dte.getFullYear() && display_dte_bln == true) {
						td_dte.style_backgroundColor = "#5F9DE4";
						td_dte.style.backgroundColor = td_dte.style_backgroundColor;
						td_dte.style_color = "#FFFFFF";
						td_dte.style.color = td_dte.style_color;
					}
					
					td_dte.innerHTML = cal_dte.getDate();

					cal_dte = new Date(cal_dte.getTime() + (1000*60*60*24));
				}

			}catch(e){}
		}
		
	}
}
var dt = new dt_toolbox();
/*---- dt.tools */


/*---- INIT IMAGE ROLLOVERS */
// Written by: David Tsuji
// Date: Thu 25 August 2005 : 1743
dt.attachEvent(window,"onload", dt.rollovers);
/*---- INIT IMAGE ROLLOVERS */


/*---- THIRD-PARTY */
/**
 * SWFObject v1.4.4: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2006 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 * **SWFObject is the SWF embed script formerly known as FlashObject. The name was changed for
 *   legal reasons.
 */
if(typeof deconcept=="undefined"){var deconcept=new Object();}
if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}
if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}
deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){if(!document.getElementById){return;}
this.DETECT_KEY=_b?_b:"detectflash";
this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);
this.params=new Object();
this.variables=new Object();
this.attributes=new Array();
if(_1){this.setAttribute("swf",_1);}
if(id){this.setAttribute("id",id);}
if(w){this.setAttribute("width",w);}
if(h){this.setAttribute("height",h);}
if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}
this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();
if(c){this.addParam("bgcolor",c);}
var q=_8?_8:"high";
this.addParam("quality",q);
this.setAttribute("useExpressInstall",_7);
this.setAttribute("doExpressInstall",false);
var _d=(_9)?_9:window.location;
this.setAttribute("xiRedirectUrl",_d);
this.setAttribute("redirectUrl","");
if(_a){this.setAttribute("redirectUrl",_a);}};
deconcept.SWFObject.prototype={setAttribute:function(_e,_f){
this.attributes[_e]=_f;
},getAttribute:function(_10){
return this.attributes[_10];
},addParam:function(_11,_12){
this.params[_11]=_12;
},getParams:function(){
return this.params;
},addVariable:function(_13,_14){
this.variables[_13]=_14;
},getVariable:function(_15){
return this.variables[_15];
},getVariables:function(){
return this.variables;
},getVariablePairs:function(){
var _16=new Array();
var key;
var _18=this.getVariables();
for(key in _18){_16.push(key+"="+_18[key]);}
return _16;},getSWFHTML:function(){var _19="";
if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){
if(this.getAttribute("doExpressInstall")){
this.addVariable("MMplayerType","PlugIn");}
_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";
_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";
var _1a=this.getParams();
for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}
var _1c=this.getVariablePairs().join("&");
if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";
}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");}
_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";
_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";
var _1d=this.getParams();
for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}
var _1f=this.getVariablePairs().join("&");
if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}
return _19;
},write:function(_20){
if(this.getAttribute("useExpressInstall")){
var _21=new deconcept.PlayerVersion([6,0,65]);
if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){
this.setAttribute("doExpressInstall",true);
this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));
document.title=document.title.slice(0,47)+" - Flash Player Installation";
this.addVariable("MMdoctitle",document.title);}}
if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){
var n=(typeof _20=="string")?document.getElementById(_20):_20;
n.innerHTML=this.getSWFHTML();return true;
}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}
return false;}};
deconcept.SWFObjectUtil.getPlayerVersion=function(){
var _23=new deconcept.PlayerVersion([0,0,0]);
if(navigator.plugins&&navigator.mimeTypes.length){
var x=navigator.plugins["Shockwave Flash"];
if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}
}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}
catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}
catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}
catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}
return _23;};
deconcept.PlayerVersion=function(_27){
this.major=_27[0]!=null?parseInt(_27[0]):0;
this.minor=_27[1]!=null?parseInt(_27[1]):0;
this.rev=_27[2]!=null?parseInt(_27[2]):0;
};
deconcept.PlayerVersion.prototype.versionIsValid=function(fv){
if(this.major<fv.major){return false;}
if(this.major>fv.major){return true;}
if(this.minor<fv.minor){return false;}
if(this.minor>fv.minor){return true;}
if(this.rev<fv.rev){
return false;
}return true;};
deconcept.util={getRequestParameter:function(_29){
var q=document.location.search||document.location.hash;
if(q){var _2b=q.substring(1).split("&");
for(var i=0;i<_2b.length;i++){
if(_2b[i].substring(0,_2b[i].indexOf("="))==_29){
return _2b[i].substring((_2b[i].indexOf("=")+1));}}}
return "";}};
deconcept.SWFObjectUtil.cleanupSWFs=function(){if(window.opera||!document.all){return;}
var _2d=document.getElementsByTagName("OBJECT");
for(var i=0;i<_2d.length;i++){_2d[i].style.display="none";for(var x in _2d[i]){
if(typeof _2d[i][x]=="function"){_2d[i][x]=function(){};}}}};
deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};
__flash_savedUnloadHandler=function(){};
if(typeof window.onunload=="function"){
var _30=window.onunload;
window.onunload=function(){
deconcept.SWFObjectUtil.cleanupSWFs();_30();};
}else{window.onunload=deconcept.SWFObjectUtil.cleanupSWFs;}};
if(typeof window.onbeforeunload=="function"){
var oldBeforeUnload=window.onbeforeunload;
window.onbeforeunload=function(){
deconcept.SWFObjectUtil.prepUnload();
oldBeforeUnload();};
}else{window.onbeforeunload=deconcept.SWFObjectUtil.prepUnload;}
if(Array.prototype.push==null){
Array.prototype.push=function(_31){
this[this.length]=_31;
return this.length;};}
var getQueryParamValue=deconcept.util.getRequestParameter;
var FlashObject=deconcept.SWFObject;
var SWFObject=deconcept.SWFObject;
/* ---- */
