// -------------------------------------------------------------------
// DHTML Window Widget- By Dynamic Drive, available at: http://www.dynamicdrive.com
// v1.0: Script created Feb 15th, 07'
// v1.01: Feb 21th, 07' (see changelog.txt)
// v1.02: March 26th, 07' (see changelog.txt)
// v1.03: May 5th, 07' (see changelog.txt)
// -------------------------------------------------------------------

	/***********************************************
	* DHTML Window Widget- ? Dynamic Drive (www.dynamicdrive.com)
	* This notice must stay intact for legal use.
	* Visit http://www.dynamicdrive.com/ for full source code
	***********************************************/
var dhtmlwindow={
imagefiles:['/custom/images/min.gif', '/custom/images/close.gif', '/custom/images/restore.gif', '/custom/images/resize.gif'], //Path to 4 images used by script, in that order
ajaxbustcache: true, //Bust caching when fetching a file via Ajax?

minimizeorder: 0,
tobjects: [], //object to contain references to dhtml window divs, for cleanup purposes

init:function(t){
	var domwindow=document.createElement("div") //create dhtml window div
	domwindow.id=t
	domwindow.className="dhtmlwindow"
	var domwindowdata=''
	domwindowdata='<div class="drag-handle">'
	domwindowdata+='DHTML Window <div class="drag-controls"><img src="'+this.imagefiles[0]+'" title="Minimize" /><img src="'+this.imagefiles[1]+'" title="Close" /></div>'
	domwindowdata+='</div>'
	domwindowdata+='<div class="drag-contentarea"></div>'
	domwindowdata+='<div class="drag-statusarea"><div class="drag-resizearea" style="background: transparent url('+this.imagefiles[3]+') top right no-repeat;">&nbsp;</div></div>'
	domwindowdata+='</div>'
	domwindow.innerHTML=domwindowdata
	document.getElementById("dhtmlwindowholder").appendChild(domwindow)
	this.zIndexvalue=(this.zIndexvalue)? this.zIndexvalue+1 : 100 //z-index value for DHTML window: starts at 0, increments whenever a window has focus
	var t=document.getElementById(t)
	var divs=t.getElementsByTagName("div")
	for (var i=0; i<divs.length; i++){ //go through divs inside dhtml window and extract all those with class="drag-" prefix
		if (/drag-/.test(divs[i].className))
			t[divs[i].className.replace(/drag-/, "")]=divs[i] //take out the "drag-" prefix for shorter access by name
	}
	t.style.zIndex=this.zIndexvalue //set z-index of this dhtml window
	t.handle._parent=t //store back reference to dhtml window
	t.resizearea._parent=t //same
	t.controls._parent=t //same
	t.onclose=function(){return true} //custom event handler "onclose"
	t.onmousedown=function(){dhtmlwindow.zIndexvalue++; this.style.zIndex=dhtmlwindow.zIndexvalue} //Increase z-index of window when focus is on it
	t.handle.onmousedown=dhtmlwindow.setupdrag //set up drag behavior when mouse down on handle div
	t.resizearea.onmousedown=dhtmlwindow.setupdrag //set up drag behavior when mouse down on resize div
	t.controls.onclick=dhtmlwindow.enablecontrols
	t.show=function(){dhtmlwindow.show(this)} //public function for showing dhtml window
	t.hide=function(){dhtmlwindow.close(this)} //public function for hiding dhtml window
	t.setSize=function(w, h){dhtmlwindow.setSize(this, w, h)} //public function for setting window dimensions
	t.moveTo=function(x, y){dhtmlwindow.moveTo(this, x, y)} //public function for moving dhtml window (relative to viewpoint)
	t.isResize=function(bol){dhtmlwindow.isResize(this, bol)} //public function for specifying if window is resizable
	t.isScrolling=function(bol){dhtmlwindow.isScrolling(this, bol)} //public function for specifying if window content contains scrollbars
	t.load=function(contenttype, contentsource, title){dhtmlwindow.load(this, contenttype, contentsource, title)} //public function for loading content into window
	this.tobjects[this.tobjects.length]=t
	return t //return reference to dhtml window div
},

open:function(t, contenttype, contentsource, title, attr, recalonload){
	var d=dhtmlwindow //reference dhtml window object
	function getValue(Name){
		var config=new RegExp(Name+"=([^,]+)", "i") //get name/value config pair (ie: width=400px,)
		return (config.test(attr))? parseInt(RegExp.$1) : 0 //return value portion (int), or 0 (false) if none found
	}
	if (document.getElementById(t)==null) //if window doesn't exist yet, create it
		t=this.init(t) //return reference to dhtml window div
	else
		t=document.getElementById(t)
	t.setSize(getValue(("width")), (getValue("height"))) //Set dimensions of window
	var xpos=getValue("center")? "middle" : getValue("left") //Get x coord of window
	var ypos=getValue("center")? "middle" : getValue("top") //Get y coord of window
	//t.moveTo(xpos, ypos) //Position window
	if (typeof recalonload!="undefined" && recalonload=="recal" && this.scroll_top==0){ //reposition window when page fully loads with updated window viewpoints?
		if (window.attachEvent && !window.opera) //In IE, add another 400 milisecs on page load (viewpoint properties may return 0 b4 then)
			this.addEvent(window, function(){setTimeout(function(){t.moveTo(xpos, ypos)}, 400)}, "load")
		else
			this.addEvent(window, function(){t.moveTo(xpos, ypos)}, "load")
	}
	t.isResize(getValue("resize")) //Set whether window is resizable
	t.isScrolling(getValue("scrolling")) //Set whether window should contain scrollbars
	t.style.visibility="visible"
	t.style.display="block"
	t.contentarea.style.display="block"
	t.moveTo(xpos, ypos) //Position window
	t.load(contenttype, contentsource, title)
	if (t.state=="minimized" && t.controls.firstChild.title=="Restore"){ //If window exists and is currently minimized?
		t.controls.firstChild.setAttribute("src", dhtmlwindow.imagefiles[0]) //Change "restore" icon within window interface to "minimize" icon
		t.controls.firstChild.setAttribute("title", "Minimize")
		t.state="fullview" //indicate the state of the window as being "fullview"
	}
	return t
},

setSize:function(t, w, h){ //set window size (min is 150px wide by 100px tall)
	t.style.width=Math.max(parseInt(w), 150)+"px"
	t.contentarea.style.height=Math.max(parseInt(h), 100)+"px"
},

moveTo:function(t, x, y){ //move window. Position includes current viewpoint of document
	this.getviewpoint() //Get current viewpoint numbers
	t.style.left=(x=="middle")? this.scroll_left+(this.docwidth-t.offsetWidth)/2+"px" : this.scroll_left+parseInt(x)+"px"
	t.style.top=(y=="middle")? this.scroll_top+(this.docheight-t.offsetHeight)/2+"px" : this.scroll_top+parseInt(y)+"px"
},

isResize:function(t, bol){ //show or hide resize inteface (part of the status bar)
	t.statusarea.style.display=(bol)? "block" : "none"
	t.resizeBool=(bol)? 1 : 0
},

isScrolling:function(t, bol){ //set whether loaded content contains scrollbars
	t.contentarea.style.overflow=(bol)? "auto" : "hidden"
},

load:function(t, contenttype, contentsource, title){ //loads content into window plus set its title (3 content types: "inline", "iframe", or "ajax")
	var contenttype=contenttype.toLowerCase() //convert string to lower case
	if (typeof title!="undefined")
		t.handle.firstChild.nodeValue=title
	if (contenttype=="inline")
		t.contentarea.innerHTML=contentsource
	else if (contenttype=="div"){
		t.contentarea.innerHTML=document.getElementById(contentsource).innerHTML //Populate window with contents of specified div on page
		document.getElementById(contentsource).style.display="none" //hide that div
	}
	else if (contenttype=="iframe"){
		t.contentarea.style.overflow="hidden" //disable window scrollbars, as iframe already contains scrollbars
		if (!t.contentarea.firstChild || t.contentarea.firstChild.tagName!="IFRAME") //If iframe tag doesn't exist already, create it first
			t.contentarea.innerHTML='<iframe src="" style="margin:0; padding:0; width:100%; height: 100%" name="_iframe-'+t.id+'"></iframe>'
		window.frames["_iframe-"+t.id].location.replace(contentsource) //set location of iframe window to specified URL
		}
	else if (contenttype=="ajax"){
		this.ajax_connect(contentsource, t) //populate window with external contents fetched via Ajax
	}
	t.contentarea.datatype=contenttype //store contenttype of current window for future reference
},

setupdrag:function(e){
	var d=dhtmlwindow //reference dhtml window object
	var t=this._parent //reference dhtml window div
	d.etarget=this //remember div mouse is currently held down on ("handle" or "resize" div)
	var e=window.event || e
	d.initmousex=e.clientX //store x position of mouse onmousedown
	d.initmousey=e.clientY
	d.initx=parseInt(t.offsetLeft) //store offset x of window div onmousedown
	d.inity=parseInt(t.offsetTop)
	d.width=parseInt(t.offsetWidth) //store width of window div
	d.contentheight=parseInt(t.contentarea.offsetHeight) //store height of window div's content div
	if (t.contentarea.datatype=="iframe"){ //if content of this window div is "iframe"
		t.style.backgroundColor="#F8F8F8" //colorize and hide content div (while window is being dragged)
		t.contentarea.style.visibility="hidden"
	}
	document.onmousemove=d.getdistance //get distance travelled by mouse as it moves
	document.onmouseup=function(){
		if (t.contentarea.datatype=="iframe"){ //restore color and visibility of content div onmouseup
			t.contentarea.style.backgroundColor="white"
			t.contentarea.style.visibility="visible"
		}
		d.stop()
	}
	return false
},

getdistance:function(e){
	var d=dhtmlwindow
	var etarget=d.etarget
	var e=window.event || e
	d.distancex=e.clientX-d.initmousex //horizontal distance travelled relative to starting point
	d.distancey=e.clientY-d.initmousey
	if (etarget.className=="drag-handle") //if target element is "handle" div
		d.move(etarget._parent, e)
	else if (etarget.className=="drag-resizearea") //if target element is "resize" div
		d.resize(etarget._parent, e)
	return false //cancel default dragging behavior
},

getviewpoint:function(){ //get window viewpoint numbers
	var ie=document.all && !window.opera
	var domclientWidth=document.documentElement && parseInt(document.documentElement.clientWidth) || 100000 //Preliminary doc width in non IE browsers
	this.standardbody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body //create reference to common "body" across doctypes
	this.scroll_top=(ie)? this.standardbody.scrollTop : window.pageYOffset
	this.scroll_left=(ie)? this.standardbody.scrollLeft : window.pageXOffset
	this.docwidth=(ie)? this.standardbody.clientWidth : (/Safari/i.test(navigator.userAgent))? window.innerWidth : Math.min(domclientWidth, window.innerWidth-16)
	this.docheight=(ie)? this.standardbody.clientHeight: window.innerHeight
},

rememberattrs:function(t){ //remember certain attributes of the window when it's minimized or closed, such as dimensions, position on page
	this.getviewpoint() //Get current window viewpoint numbers
	t.lastx=parseInt((t.style.left || t.offsetLeft))-dhtmlwindow.scroll_left //store last known x coord of window just before minimizing
	t.lasty=parseInt((t.style.top || t.offsetTop))-dhtmlwindow.scroll_top
	t.lastwidth=parseInt(t.style.width) //store last known width of window just before minimizing/ closing
},

move:function(t, e){
	t.style.left=dhtmlwindow.distancex+dhtmlwindow.initx+"px"
	t.style.top=dhtmlwindow.distancey+dhtmlwindow.inity+"px"
},

resize:function(t, e){
	t.style.width=Math.max(dhtmlwindow.width+dhtmlwindow.distancex, 150)+"px"
	t.contentarea.style.height=Math.max(dhtmlwindow.contentheight+dhtmlwindow.distancey, 100)+"px"
},

enablecontrols:function(e){
	var d=dhtmlwindow
	var sourceobj=window.event? window.event.srcElement : e.target //Get element within "handle" div mouse is currently on (the controls)
	if (/Minimize/i.test(sourceobj.getAttribute("title"))) //if this is the "minimize" control
		d.minimize(sourceobj, this._parent)
	else if (/Restore/i.test(sourceobj.getAttribute("title"))) //if this is the "restore" control
		d.restore(sourceobj, this._parent)
	else if (/Close/i.test(sourceobj.getAttribute("title"))) //if this is the "close" control
		d.close(this._parent)
	return false
},

minimize:function(button, t){
	dhtmlwindow.rememberattrs(t)
	button.setAttribute("src", dhtmlwindow.imagefiles[2])
	button.setAttribute("title", "Restore")
	t.state="minimized" //indicate the state of the window as being "minimized"
	t.contentarea.style.display="none"
	t.statusarea.style.display="none"
	if (typeof t.minimizeorder=="undefined"){ //stack order of minmized window on screen relative to any other minimized windows
		dhtmlwindow.minimizeorder++ //increment order
		t.minimizeorder=dhtmlwindow.minimizeorder
	}
	t.style.left="10px" //left coord of minmized window
	t.style.width="200px"
	var windowspacing=t.minimizeorder*10 //spacing (gap) between each minmized window(s)
	t.style.top=dhtmlwindow.scroll_top+dhtmlwindow.docheight-(t.handle.offsetHeight*t.minimizeorder)-windowspacing+"px"
},

restore:function(button, t){
	dhtmlwindow.getviewpoint()
	button.setAttribute("src", dhtmlwindow.imagefiles[0])
	button.setAttribute("title", "Minimize")
	t.state="fullview" //indicate the state of the window as being "fullview"
	t.style.display="block"
	t.contentarea.style.display="block"
	if (t.resizeBool) //if this window is resizable, enable the resize icon
		t.statusarea.style.display="block"
	t.style.left=parseInt(t.lastx)+dhtmlwindow.scroll_left+"px" //position window to last known x coord just before minimizing
	t.style.top=parseInt(t.lasty)+dhtmlwindow.scroll_top+"px"
	t.style.width=parseInt(t.lastwidth)+"px"
},


close:function(t){
	try{
		var closewinbol=t.onclose()
	}
	catch(err){ //In non IE browsers, all errors are caught, so just run the below
		var closewinbol=true
 }
	finally{ //In IE, not all errors are caught, so check if variable isn't defined in IE in those cases
		if (typeof closewinbol=="undefined"){
			alert("An error has occured somwhere inside your \"onclose\" event handler")
			var closewinbol=true
		}
	}
	if (closewinbol){ //if custom event handler function returns true
		if (t.state!="minimized") //if this window isn't currently minimized
			dhtmlwindow.rememberattrs(t) //remember window's dimensions/position on the page before closing
		t.style.display="none"
	}
	return closewinbol
},

show:function(t){
	if (t.lastx) //If there exists previously stored information such as last x position on window attributes (meaning it's been minimized or closed)
		dhtmlwindow.restore(t.controls.firstChild, t) //restore the window using that info
	else
		t.style.display="block"
	t.state="fullview" //indicate the state of the window as being "fullview"
},

ajax_connect:function(url, t){
	var page_request = false
	var bustcacheparameter=""
	if (window.XMLHttpRequest) // if Mozilla, IE7, Safari etc
		page_request = new XMLHttpRequest()
	else if (window.ActiveXObject){ // if IE6 or below
		try {
		page_request = new ActiveXObject("Msxml2.XMLHTTP")
		} 
		catch (e){
			try{
			page_request = new ActiveXObject("Microsoft.XMLHTTP")
			}
			catch (e){}
		}
	}
	else
		return false
	page_request.onreadystatechange=function(){dhtmlwindow.ajax_loadpage(page_request, t)}
	if (this.ajaxbustcache) //if bust caching of external page
		bustcacheparameter=(url.indexOf("?")!=-1)? "&"+new Date().getTime() : "?"+new Date().getTime()
	page_request.open('GET', url+bustcacheparameter, true)
	page_request.send(null)
},

ajax_loadpage:function(page_request, t){
	if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1)){
	t.contentarea.innerHTML=page_request.responseText
	}
},


stop:function(){
	dhtmlwindow.etarget=null //clean up
	document.onmousemove=null
	document.onmouseup=null
},

addEvent:function(target, functionref, tasktype){ //assign a function to execute to an event handler (ie: onunload)
	var tasktype=(window.addEventListener)? tasktype : "on"+tasktype
	if (target.addEventListener)
		target.addEventListener(tasktype, functionref, false)
	else if (target.attachEvent)
		target.attachEvent(tasktype, functionref)
},

cleanup:function(){
	for (var i=0; i<dhtmlwindow.tobjects.length; i++){
		dhtmlwindow.tobjects[i].handle._parent=dhtmlwindow.tobjects[i].resizearea._parent=dhtmlwindow.tobjects[i].controls._parent=null
	}
	window.onload=null
}

} //End dhtmlwindow object

document.write('<div id="dhtmlwindowholder"><span style="display:none">.</span></div>') //container that holds all dhtml window divs on page
window.onunload=dhtmlwindow.cleanup


// -------------------------------------------------------------------
// DHTML Modal window- By Dynamic Drive, available at: http://www.dynamicdrive.com
// v1.0: Script created Feb 27th, 07'
// v1.01 May 5th, 07' Minor change to modal window positioning behavior (not a bug fix)
// REQUIRES: DHTML Window Widget (v1.01 or higher): http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/
// -------------------------------------------------------------------

if (typeof dhtmlwindow=="undefined")
alert('ERROR: Modal Window script requires all files from "DHTML Window widget" in order to work!')

var dhtmlmodal={
veilstack: 0,
open:function(t, contenttype, contentsource, title, attr, recalonload){
	var d=dhtmlwindow //reference dhtmlwindow object
	this.interVeil=document.getElementById("interVeil") //Reference "veil" div
	this.veilstack++ //var to keep track of how many modal windows are open right now
	this.loadveil()
	if (typeof recalonload!="undefined" && recalonload=="recal" && d.scroll_top==0)
		d.addEvent(window, function(){dhtmlmodal.loadveil()}, "load")
		var t=d.open(t, contenttype, contentsource, title, attr, recalonload)
	t.controls.firstChild.style.display="none" //Disable "minimize" button
	t.controls.onclick=function(){dhtmlmodal.forceclose(this._parent)} //OVERWRITE default control action with new one
	t.show=function(){dhtmlmodal.show(this)} //OVERWRITE default t.show() method with new one
	t.hide=function(){dhtmlmodal.close(this)} //OVERWRITE default t.hide() method with new one
return t
},


loadveil:function(){
	var d=dhtmlwindow
	d.getviewpoint()
	this.docheightcomplete=(d.standardbody.offsetHeight>d.standardbody.scrollHeight)? d.standardbody.offsetHeight : d.standardbody.scrollHeight
	this.interVeil.style.width=d.docwidth+"px" //set up veil over page
	this.interVeil.style.height=this.docheightcomplete+"px" //set up veil over page
	this.interVeil.style.left=0 //Position veil over page
	this.interVeil.style.top=0 //Position veil over page
	this.interVeil.style.visibility="visible" //Show veil over page
	this.interVeil.style.display="block" //Show veil over page
},

adjustveil:function(){ //function to adjust veil when window is resized
	if (this.interVeil && this.interVeil.style.display=="block") //If veil is currently visible on the screen
		this.loadveil() //readjust veil
},


close:function(t){ //user initiated function used to close modal window
	t.contentDoc=(t.contentarea.datatype=="iframe")? window.frames["_iframe-"+t.id].document : t.contentarea //return reference to modal window DIV (or document object in the case of iframe
	var closewinbol=dhtmlwindow.close(t)
	if (closewinbol){ //if var returns true
		this.veilstack--
		if (this.veilstack==0) //if this is the only modal window visible on the screen, and being closed
			this.interVeil.style.display="none"
 }
},

forceclose:function(t){ //function attached to default "close" icon of window to bypass "onclose" event, and just close window
	dhtmlwindow.rememberattrs(t) //remember window's dimensions/position on the page before closing
	t.style.display="none"
	this.veilstack--
		if (this.veilstack==0) //if this is the only modal window visible on the screen, and being closed
			this.interVeil.style.display="none"
},

show:function(t){
	dhtmlmodal.veilstack++
	dhtmlmodal.loadveil()
	dhtmlwindow.show(t)
}
} //END object declaration


document.write('<div id="interVeil"></div>')
dhtmlwindow.addEvent(window, function(){if (typeof dhtmlmodal!="undefined") dhtmlmodal.adjustveil()}, "resize")

/*tab corners layout*/

window.onload=function(){

Nifty("div#tabMenu a","small transparent top");

}

/* Nifty Corners Cube - rounded corners with CSS and Javascript
Copyright 2006 Alessandro Fulciniti (a.fulciniti@html.it)

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
*/

var niftyOk=(document.getElementById && document.createElement && Array.prototype.push);
var niftyCss=false;

String.prototype.find=function(what){
return(this.indexOf(what)>=0 ? true : false);
}

var oldonload=window.onload;
if(typeof(NiftyLoad)!='function') NiftyLoad=function(){};
if(typeof(oldonload)=='function')
    window.onload=function(){oldonload();AddCss();NiftyLoad()};
else window.onload=function(){AddCss();NiftyLoad()};

function AddCss(){
/* jmj 2-2008 css is added via cms template to facilitate compression */
/*
niftyCss=true;
var l=CreateEl("link");
l.setAttribute("type","text/css");
l.setAttribute("rel","stylesheet");
l.setAttribute("href","/custom/css/tabs.css");
l.setAttribute("media","screen");
document.getElementsByTagName("head")[0].appendChild(l); */
}

function Nifty(selector,options){
if(niftyOk==false) return;
if(niftyCss==false) AddCss();
var i,v=selector.split(","),h=0;
if(options==null) options="";
if(options.find("fixed-height"))
    h=getElementsBySelector(v[0])[0].offsetHeight;
for(i=0;i<v.length;i++)
    Rounded(v[i],options);
if(options.find("height")) SameHeight(selector,h);
}

function Rounded(selector,options){
var i,top="",bottom="",v=new Array();
if(options!=""){
    options=options.replace("left","tl bl");
    options=options.replace("right","tr br");
    options=options.replace("top","tr tl");
    options=options.replace("bottom","br bl");
    options=options.replace("transparent","alias");
    if(options.find("tl")){
        top="both";
        if(!options.find("tr")) top="left";
        }
    else if(options.find("tr")) top="right";
    if(options.find("bl")){
        bottom="both";
        if(!options.find("br")) bottom="left";
        }
    else if(options.find("br")) bottom="right";
    }
if(top=="" && bottom=="" && !options.find("none")){top="both";bottom="both";}
v=getElementsBySelector(selector);
for(i=0;i<v.length;i++){
    FixIE(v[i]);
    if(top!="") AddTop(v[i],top,options);
    if(bottom!="") AddBottom(v[i],bottom,options);
    }
}

function AddTop(el,side,options){
var d=CreateEl("b"),lim=4,border="",p,i,btype="r",bk,color;
d.style.marginLeft="-"+getPadding(el,"Left")+"px";
d.style.marginRight="-"+getPadding(el,"Right")+"px";
if(options.find("alias") || (color=getBk(el))=="transparent"){
    color="transparent";bk="transparent"; border=getParentBk(el);btype="t";
    }
else{
    bk=getParentBk(el); border=Mix(color,bk);
    }
d.style.background=bk;
d.className="niftycorners";
p=getPadding(el,"Top");
if(options.find("small")){
    d.style.marginBottom=(p-2)+"px";
    btype+="s"; lim=2;
    }
else if(options.find("big")){
    d.style.marginBottom=(p-10)+"px";
    btype+="b"; lim=8;
    }
else d.style.marginBottom=(p-5)+"px";
for(i=1;i<=lim;i++)
    d.appendChild(CreateStrip(i,side,color,border,btype));
el.style.paddingTop="0";
el.insertBefore(d,el.firstChild);
}

function AddBottom(el,side,options){
var d=CreateEl("b"),lim=4,border="",p,i,btype="r",bk,color;
d.style.marginLeft="-"+getPadding(el,"Left")+"px";
d.style.marginRight="-"+getPadding(el,"Right")+"px";
if(options.find("alias") || (color=getBk(el))=="transparent"){
    color="transparent";bk="transparent"; border=getParentBk(el);btype="t";
    }
else{
    bk=getParentBk(el); border=Mix(color,bk);
    }
d.style.background=bk;
d.className="niftycorners";
p=getPadding(el,"Bottom");
if(options.find("small")){
    d.style.marginTop=(p-2)+"px";
    btype+="s"; lim=2;
    }
else if(options.find("big")){
    d.style.marginTop=(p-10)+"px";
    btype+="b"; lim=8;
    }
else d.style.marginTop=(p-5)+"px";
for(i=lim;i>0;i--)
    d.appendChild(CreateStrip(i,side,color,border,btype));
el.style.paddingBottom=0;
el.appendChild(d);
}

function CreateStrip(index,side,color,border,btype){
var x=CreateEl("b");
x.className=btype+index;
x.style.backgroundColor=color;
x.style.borderColor=border;
if(side=="left"){
    x.style.borderRightWidth="0";
    x.style.marginRight="0";
    }
else if(side=="right"){
    x.style.borderLeftWidth="0";
    x.style.marginLeft="0";
    }
return(x);
}

function CreateEl(x){
return(document.createElement(x));
}

function FixIE(el){
if(el.currentStyle!=null && el.currentStyle.hasLayout!=null && el.currentStyle.hasLayout==false)
    el.style.display="inline-block";
}

function SameHeight(selector,maxh){
var i,v=selector.split(","),t,j,els=[],gap;
for(i=0;i<v.length;i++){
    t=getElementsBySelector(v[i]);
    els=els.concat(t);
    }
for(i=0;i<els.length;i++){
    if(els[i].offsetHeight>maxh) maxh=els[i].offsetHeight;
    els[i].style.height="auto";
    }
for(i=0;i<els.length;i++){
    gap=maxh-els[i].offsetHeight;
    if(gap>0){
        t=CreateEl("b");t.className="niftyfill";t.style.height=gap+"px";
        nc=els[i].lastChild;
        if(nc.className=="niftycorners")
            els[i].insertBefore(t,nc);
        else els[i].appendChild(t);
        }
    }
}

function getElementsBySelector(selector){
var i,j,selid="",selclass="",tag=selector,tag2="",v2,k,f,a,s=[],objlist=[],c;
if(selector.find("#")){ //id selector like "tag#id"
    if(selector.find(" ")){  //descendant selector like "tag#id tag"
        s=selector.split(" ");
        var fs=s[0].split("#");
        if(fs.length==1) return(objlist);
        f=document.getElementById(fs[1]);
        if(f){
            v=f.getElementsByTagName(s[1]);
            for(i=0;i<v.length;i++) objlist.push(v[i]);
            }
        return(objlist);
        }
    else{
        s=selector.split("#");
        tag=s[0];
        selid=s[1];
        if(selid!=""){
            f=document.getElementById(selid);
            if(f) objlist.push(f);
            return(objlist);
            }
        }
    }
if(selector.find(".")){      //class selector like "tag.class"
    s=selector.split(".");
    tag=s[0];
    selclass=s[1];
    if(selclass.find(" ")){   //descendant selector like tag1.classname tag2
        s=selclass.split(" ");
        selclass=s[0];
        tag2=s[1];
        }
    }
var v=document.getElementsByTagName(tag);  // tag selector like "tag"
if(selclass==""){
    for(i=0;i<v.length;i++) objlist.push(v[i]);
    return(objlist);
    }
for(i=0;i<v.length;i++){
    c=v[i].className.split(" ");
    for(j=0;j<c.length;j++){
        if(c[j]==selclass){
            if(tag2=="") objlist.push(v[i]);
            else{
                v2=v[i].getElementsByTagName(tag2);
                for(k=0;k<v2.length;k++) objlist.push(v2[k]);
                }
            }
        }
    }
return(objlist);
}

function getParentBk(x){
var el=x.parentNode,c;
while(el.tagName.toUpperCase()!="HTML" && (c=getBk(el))=="transparent")
    el=el.parentNode;
if(c=="transparent") c="#FFFFFF";
return(c);
}

function getBk(x){
var c=getStyleProp(x,"backgroundColor");
if(c==null || c=="transparent" || c.find("rgba(0, 0, 0, 0)"))
    return("transparent");
if(c.find("rgb")) c=rgb2hex(c);
return(c);
}

function getPadding(x,side){
var p=getStyleProp(x,"padding"+side);
if(p==null || !p.find("px")) return(0);
return(parseInt(p));
}

function getStyleProp(x,prop){
if(x.currentStyle)
    return(x.currentStyle[prop]);
if(document.defaultView.getComputedStyle)
    return(document.defaultView.getComputedStyle(x,'')[prop]);
return(null);
}

function rgb2hex(value){
var hex="",v,h,i;
var regexp=/([0-9]+)[, ]+([0-9]+)[, ]+([0-9]+)/;
var h=regexp.exec(value);
for(i=1;i<4;i++){
    v=parseInt(h[i]).toString(16);
    if(v.length==1) hex+="0"+v;
    else hex+=v;
    }
return("#"+hex);
}

function Mix(c1,c2){
var i,step1,step2,x,y,r=new Array(3);
if(c1.length==4)step1=1;
else step1=2;
if(c2.length==4) step2=1;
else step2=2;
for(i=0;i<3;i++){
    x=parseInt(c1.substr(1+step1*i,step1),16);
    if(step1==1) x=16*x+x;
    y=parseInt(c2.substr(1+step2*i,step2),16);
    if(step2==1) y=16*y+y;
    r[i]=Math.floor((x*50+y*50)/100);
    r[i]=r[i].toString(16);
    if(r[i].length==1) r[i]="0"+r[i];
    }
return("#"+r[0]+r[1]+r[2]);
}

/**
 * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 */
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){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"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(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},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[_16.length]=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");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_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");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_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{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}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(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[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(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;

(function(){var aa="_gat",ba="_gaq",s=true,v=false,w=undefined,ca="4.5.7",y="length",z="cookie",A="location",C="&",D="=",E="__utma=",F="__utmb=",H="__utmc=",da="__utmk=",I="__utmv=",K="__utmz=",L="__utmx=",M="GASO=";var N=function(g){return w==g||"-"==g||""==g},ea=function(g){return g[y]>0&&" \n\r\t".indexOf(g)>-1},Q=function(g,i,b){var k="-",c;if(!N(g)&&!N(i)&&!N(b)){c=g.indexOf(i);if(c>-1){b=g.indexOf(b,c);if(b<0)b=g[y];k=P(g,c+i.indexOf(D)+1,b)}}return k},S=function(g){var i=v,b=0,k,c;if(!N(g)){i=s;for(k=0;k<g[y];k++){c=g.charAt(k);b+="."==c?1:0;i=i&&b<=1&&(0==k&&"-"==c||".0123456789".indexOf(c)>-1)}}return i},T=function(g,i){var b=encodeURIComponent;return b instanceof Function?i?encodeURI(g):b(g):escape(g)},
U=function(g,i){var b=decodeURIComponent,k;g=g.split("+").join(" ");if(b instanceof Function)try{k=i?decodeURI(g):b(g)}catch(c){k=unescape(g)}else k=unescape(g);return k},V=function(g,i){return g.indexOf(i)>-1},W=function(g,i){g[g[y]]=i},X=function(g){return g.toLowerCase()},Y=function(g,i){return g.split(i)},ga=function(g,i){return g.indexOf(i)},P=function(g,i,b){b=w==b?g[y]:b;return g.substring(i,b)},ha=function(g,i){return g.join(i)},ia=function(g){var i=1,b=0,k;if(!N(g)){i=0;for(k=g[y]-1;k>=0;k--){b=
g.charCodeAt(k);i=(i<<6&268435455)+b+(b<<14);b=i&266338304;i=b!=0?i^b>>21:i}}return i},ja=function(){var g=window,i=w;if(g&&g.gaGlobal&&g.gaGlobal.hid)i=g.gaGlobal.hid;else{i=Z();g.gaGlobal=g.gaGlobal?g.gaGlobal:{};g.gaGlobal.hid=i}return i},Z=function(){return Math.round(Math.random()*2147483647)},$={Fa:function(g,i){this.$a=g;this.lb=i},t:63072000000,gb:v,_gasoDomain:w,_gasoCPath:w};$.Fb=function(){var g=this,i=$.Fa;function b(c){return new i(c[0],c[1])}function k(c){var p=[];c=c.split(",");var n;for(n=0;n<c.length;++n)p.push(b(c[n].split(":")));return p}g.Ga="utm_campaign";g.Ha="utm_content";g.Ia="utm_id";g.Ja="utm_medium";g.Ka="utm_nooverride";g.La="utm_source";g.Ma="utm_term";g.Na="gclid";g.$=0;g.z=0;g.Wa="15768000";g.qb="1800";g.qa=[];g.ta=[];g.nc="cse";g.oc="q";g.mb=5;g.ra=k("images.google:q,google:q,yahoo:p,msn:q,bing:q,aol:query,aol:encquery,lycos:query,ask:q,altavista:q,netscape:query,cnn:query,looksmart:qt,about:terms,mamma:query,alltheweb:q,gigablast:q,voila:rdata,virgilio:qs,live:q,baidu:wd,alice:qs,yandex:text,najdi:q,aol:q,club-internet:query,mama:query,seznam:q,search:q,wp:szukaj,onet:qt,netsprint:q,google.interia:q,szukacz:q,yam:k,pchome:q,kvasir:q,sesam:q,ozu:q,terra:query,nostrum:query,mynet:q,ekolay:q,search.ilse:search_for,rambler:words");
g.u=w;g.jb=v;g.h="/";g.T=100;g.la="/__utm.gif";g.da=1;g.ea=1;g.v="|";g.ca=1;g.aa=1;g.Pa=1;g.c="auto";g.I=1;g.oa=1000;g.Ic=10;g.Pb=10;g.Jc=0.2;g.o=w;g.a=document;g.b=window};$.Gb=function(g){var i=this,b=g;i.r=(new Date).getTime();var k=[E,F,H,K,I,L,M];function c(j,m,q,a){var d="",l=0;d=Q(j,"2"+m,";");if(!N(d)){j=d.indexOf("^"+q+".");if(j<0)return["",0];d=P(d,j+q[y]+2);if(d.indexOf("^")>0)d=d.split("^")[0];q=d.split(":");d=q[1];l=parseInt(q[0],10);if(!a&&l<i.r)d=""}if(N(d))d="";return[d,l]}i.k=function(){var j=b.a[z];return b.o?i.Wb(j,b.o):j};i.Wb=function(j,m){var q=[],a,d;for(a=0;a<k[y];a++){d=c(j,k[a],m)[0];N(d)||(q[q[y]]=k[a]+d+";")}return q.join("")};i.l=function(j,
m,q){var a=q>0?h(q):"";if(b.o){m=i.lc(b.a[z],j,b.o,m,q);j="2"+j;a=e(q)}r(j+m,a)};i.lc=function(j,m,q,a,d){var l="";d=p(d);a=n([a,i.r+d*1],q);l=Q(j,"2"+m,";");if(!N(l)){j=n(c(j,m,q,s),q);l=ha(l.split(j),"");return l=a+l}return a};function p(j){return j||$.t}function n(j,m){return"^"+ha([[m,j[1]].join("."),j[0]],":")}function r(j,m){b.a[z]=j+"; path="+b.h+"; "+m+i.db()}i.db=function(){return N(b.c)?"":"domain="+b.c+";"};function e(j){return j>0?f():""}function f(){return h($.t)}function h(j){var m=
new Date;j=new Date(m.getTime()+j);return"expires="+j.toGMTString()+"; "}};$.Z=function(g){var i,b,k,c,p,n,r,e=this,f,h=g;e.j=new $.Gb(g);function j(a){a=a instanceof Array?a.join("."):"";return N(a)?"-":a}function m(a,d){var l=[];if(!N(a)){l=a.split(".");if(d)for(a=0;a<l[y];a++)S(l[a])||(l[a]="-")}return l}function q(a,d,l){var t=e.M,o,u;for(o=0;o<t[y];o++){u=t[o][0];u+=N(d)?d:d+t[o][4];t[o][2](Q(a,u,l))}}e.ib=function(){return w==f||f==e.P()};e.k=function(){return e.j.k()};e.ja=function(){return p?p:"-"};e.tb=function(a){p=a};e.xa=function(a){f=S(a)?a*1:"-"};e.ia=function(){return j(n)};
e.ya=function(a){n=m(a)};e.Vb=function(){e.j.l(I,"",-1)};e.mc=function(){return f?f:"-"};e.db=function(){return N(h.c)?"":"domain="+h.c+";"};e.ga=function(){return j(i)};e.rb=function(a){i=m(a,1)};e.C=function(){return j(b)};e.wa=function(a){b=m(a,1)};e.ha=function(){return j(k)};e.sb=function(a){k=m(a,1)};e.ka=function(){return j(c)};e.ub=function(a){c=m(a);for(a=0;a<c[y];a++)if(a<4&&!S(c[a]))c[a]="-"};e.gc=function(){return r};e.Dc=function(a){r=a};e.Sb=function(){i=[];b=[];k=[];c=[];p=w;n=[];f=
w};e.P=function(){var a="",d;for(d=0;d<e.M[y];d++)a+=e.M[d][1]();return ia(a)};e.sa=function(a){var d=e.k(),l=v;if(d){q(d,a,";");e.xa(e.P());l=s}return l};e.zc=function(a){q(a,"",C);e.xa(Q(a,da,C))};e.Gc=function(){var a=e.M,d=[],l;for(l=0;l<a[y];l++)W(d,a[l][0]+a[l][1]());W(d,da+e.P());return d.join(C)};e.Mc=function(a,d){var l=e.M,t=h.h;e.sa(a);h.h=d;for(a=0;a<l[y];a++)N(l[a][1]())||l[a][3]();h.h=t};e.Bb=function(){e.j.l(E,e.ga(),$.t)};e.Ca=function(){e.j.l(F,e.C(),h.qb*1000)};e.Cb=function(){e.j.l(H,
e.ha(),0)};e.Ea=function(){e.j.l(K,e.ka(),h.Wa*1000)};e.Db=function(){e.j.l(L,e.ja(),$.t)};e.Da=function(){e.j.l(I,e.ia(),$.t)};e.Nc=function(){e.j.l(M,e.gc(),0)};e.M=[[E,e.ga,e.rb,e.Bb,"."],[F,e.C,e.wa,e.Ca,""],[H,e.ha,e.sb,e.Cb,""],[L,e.ja,e.tb,e.Db,""],[K,e.ka,e.ub,e.Ea,"."],[I,e.ia,e.ya,e.Da,"."]]};$.Jb=function(g){var i=this,b=g,k=new $.Z(b),c=function(){},p=function(n){var r=(new Date).getTime(),e;e=(r-n[3])*(b.Jc/1000);if(e>=1){n[2]=Math.min(Math.floor(n[2]*1+e),b.Pb);n[3]=r}return n};i.H=function(n,r,e,f,h,j){var m,q=b.I,a=b.a[A];k.sa(e);m=Y(k.C(),".");if(m[1]<500||f){if(h)m=p(m);if(f||!h||m[2]>=1){if(!f&&h)m[2]=m[2]*1-1;m[1]=m[1]*1+1;n="?utmwv="+ca+"&utmn="+Z()+(N(a.hostname)?"":"&utmhn="+T(a.hostname))+(b.T==100?"":"&utmsp="+T(b.T))+n;if(0==q||2==q){f=2==q?c:j||c;i.Ya(b.la+n,f)}if(1==
q||2==q){n=("https:"==a.protocol?"https://ssl.google-analytics.com/__utm.gif":"http://www.google-analytics.com/__utm.gif")+n+"&utmac="+r+"&utmcc="+i.ac(e);if(ka)n+="&gaq=1";i.Ya(n,j)}}}k.wa(m.join("."));k.Ca()};i.Ya=function(n,r){var e=new Image(1,1);e.src=n;e.onload=function(){e.onload=null;(r||c)()}};i.ac=function(n){var r=[],e=[E,K,I,L],f,h=k.k(),j;for(f=0;f<e[y];f++){j=Q(h,e[f]+n,";");if(!N(j)){if(e[f]==I){j=Y(j.split(n+".")[1],"|")[0];if(N(j))continue;j=n+"."+j}W(r,e[f]+j+";")}}return T(r.join("+"))}};$.n=function(){var g=this;g.X=[];g.fb=function(i){var b,k=g.X,c;for(c=0;c<k.length;c++)b=i==k[c].q?k[c]:b;return b};g.Ob=function(i,b,k,c,p,n,r,e){var f=g.fb(i);if(w==f){f=new $.n.Mb(i,b,k,c,p,n,r,e);W(g.X,f)}else{f.Oa=b;f.zb=k;f.yb=c;f.vb=p;f.Ua=n;f.xb=r;f.Xa=e}return f}};$.n.Lb=function(g,i,b,k,c,p){var n=this;n.Ab=g;n.za=i;n.D=b;n.Sa=k;n.nb=c;n.ob=p;n.Aa=function(){return"&"+["utmt=item","tid="+T(n.Ab),"ipc="+T(n.za),"ipn="+T(n.D),"iva="+T(n.Sa),"ipr="+T(n.nb),"iqt="+T(n.ob)].join("&utm")}};
$.n.Mb=function(g,i,b,k,c,p,n,r){var e=this;e.q=g;e.Oa=i;e.zb=b;e.yb=k;e.vb=c;e.Ua=p;e.xb=n;e.Xa=r;e.R=[];e.Nb=function(f,h,j,m,q){var a=e.hc(f),d=e.q;if(w==a)W(e.R,new $.n.Lb(d,f,h,j,m,q));else{a.Ab=d;a.za=f;a.D=h;a.Sa=j;a.nb=m;a.ob=q}};e.hc=function(f){var h,j=e.R,m;for(m=0;m<j.length;m++)h=f==j[m].za?j[m]:h;return h};e.Aa=function(){return"&"+["utmt=tran","id="+T(e.q),"st="+T(e.Oa),"to="+T(e.zb),"tx="+T(e.yb),"sp="+T(e.vb),"ci="+T(e.Ua),"rg="+T(e.xb),"co="+T(e.Xa)].join("&utmt")}};$.Eb=function(g){var i=g,b=i.b,k=this,c="-";k.U=b.screen;k.Qa=!k.U&&b.java?java.awt.Toolkit.getDefaultToolkit():w;k.e=b.navigator;k.V=c;k.va=c;k.Ta=c;k.na=c;k.ma=1;k.cb=c;function p(){var n,r,e;r="ShockwaveFlash";var f="$version",h=k.e?k.e.plugins:w;if(h&&h[y]>0)for(n=0;n<h[y]&&!e;n++){r=h[n];if(V(r.name,"Shockwave Flash"))e=r.description.split("Shockwave Flash ")[1]}else{r=r+"."+r;try{n=new ActiveXObject(r+".7");e=n.GetVariable(f)}catch(j){}if(!e)try{n=new ActiveXObject(r+".6");e="WIN 6,0,21,0";
n.AllowScriptAccess="always";e=n.GetVariable(f)}catch(m){}if(!e)try{n=new ActiveXObject(r);e=n.GetVariable(f)}catch(q){}if(e){e=Y(e.split(" ")[1],",");e=e[0]+"."+e[1]+" r"+e[2]}}return e?e:c}k.bc=function(){var n;if(b.screen){k.V=k.U.width+"x"+k.U.height;k.va=k.U.colorDepth+"-bit"}else if(k.Qa)try{n=k.Qa.getScreenSize();k.V=n.width+"x"+n.height}catch(r){}k.na=X(k.e&&k.e.language?k.e.language:k.e&&k.e.browserLanguage?k.e.browserLanguage:c);k.ma=k.e&&k.e.javaEnabled()?1:0;k.cb=i.ea?p():c;k.Ta=T(i.a.characterSet?
i.a.characterSet:i.a.charset?i.a.charset:c)};k.Hc=function(){return C+"utm"+["cs="+T(k.Ta),"sr="+k.V,"sc="+k.va,"ul="+k.na,"je="+k.ma,"fl="+T(k.cb)].join("&utm")};k.$b=function(){var n=i.a,r=b.history[y];n=k.e.appName+k.e.version+k.na+k.e.platform+k.e.userAgent+k.ma+k.V+k.va+(n[z]?n[z]:"")+(n.referrer?n.referrer:"");for(var e=n[y];r>0;)n+=r--^e++;return ia(n)}};$.m=function(g,i,b,k){var c=k,p=this;p.d=g;p.pb=i;p.r=b;function n(f){return N(f)||"0"==f||!V(f,"://")}function r(f){var h="";f=X(f.split("://")[1]);if(V(f,"/")){f=f.split("/")[1];if(V(f,"?"))h=f.split("?")[0]}return h}function e(f){var h="";h=X(f.split("://")[1]);if(V(h,"/"))h=h.split("/")[0];return h}p.jc=function(f){var h=p.eb();return new $.m.w(Q(f,c.Ia+D,C),Q(f,c.La+D,C),Q(f,c.Na+D,C),p.Q(f,c.Ga,"(not set)"),p.Q(f,c.Ja,"(not set)"),p.Q(f,c.Ma,h&&!N(h.K)?U(h.K):w),p.Q(f,c.Ha,w))};p.hb=function(f){var h=
e(f),j=r(f);if(V(h,"google")){f=f.split("?").join(C);if(V(f,C+c.oc+D))if(j==c.nc)return s}return v};p.eb=function(){var f,h=p.pb,j,m,q=c.ra;if(!(n(h)||p.hb(h))){f=e(h);for(j=0;j<q[y];j++){m=q[j];if(V(f,X(m.$a))){h=h.split("?").join(C);if(V(h,C+m.lb+D)){f=h.split(C+m.lb+D)[1];if(V(f,C))f=f.split(C)[0];return new $.m.w(w,m.$a,w,"(organic)","organic",f,w)}}}}};p.Q=function(f,h,j){f=Q(f,h+D,C);return j=!N(f)?U(f):!N(j)?j:"-"};p.uc=function(f){var h=c.qa,j=v,m;if(f&&"organic"==f.S){f=X(U(f.K));for(m=0;m<
h[y];m++)j=j||X(h[m])==f}return j};p.ic=function(){var f="",h="";f=p.pb;if(!(n(f)||p.hb(f))){f=f.split("://")[1];if(V(f,"/")){h=P(f,f.indexOf("/"));h=h.split("?")[0];f=X(f.split("/")[0])}if(0==f.indexOf("www."))f=P(f,4);return new $.m.w(w,f,w,"(referral)","referral",w,h)}};p.Xb=function(f){var h="";if(c.$){h=f&&f.hash?f.href.substring(f.href.indexOf("#")):"";h=""!=h?h+C:h}h+=f.search;return h};p.ec=function(){return new $.m.w(w,"(direct)",w,"(direct)","(none)",w,w)};p.vc=function(f){var h=v,j,m=c.ta;
if(f&&"referral"==f.S){f=X(T(f.W));for(j=0;j<m[y];j++)h=h||V(f,X(m[j]))}return h};p.L=function(f){return w!=f&&f.kb()};p.cc=function(f,h){var j="",m="-",q,a=0,d,l,t=p.d;if(!f)return"";l=f.k();j=p.Xb(c.a[A]);if(c.z&&f.ib()){m=f.ka();if(!N(m)&&!V(m,";")){f.Ea();return""}}m=Q(l,K+t+".",";");q=p.jc(j);if(p.L(q)){j=Q(j,c.Ka+D,C);if("1"==j&&!N(m))return""}if(!p.L(q)){q=p.eb();if(!N(m)&&p.uc(q))return""}if(!p.L(q)&&h){q=p.ic();if(!N(m)&&p.vc(q))return""}if(!p.L(q))if(N(m)&&h)q=p.ec();if(!p.L(q))return"";
if(!N(m)){a=m.split(".");d=new $.m.w;d.Zb(a.slice(4).join("."));d=X(d.Ba())==X(q.Ba());a=a[3]*1}if(!d||h){h=Q(l,E+t+".",";");l=h.lastIndexOf(".");h=l>9?P(h,l+1)*1:0;a++;h=0==h?1:h;f.ub([t,p.r,h,a,q.Ba()].join("."));f.Ea();return C+"utmcn=1"}else return C+"utmcr=1"}};
$.m.w=function(g,i,b,k,c,p,n){var r=this;r.q=g;r.W=i;r.ba=b;r.D=k;r.S=c;r.K=p;r.Va=n;r.Ba=function(){var e=[],f=[["cid",r.q],["csr",r.W],["gclid",r.ba],["ccn",r.D],["cmd",r.S],["ctr",r.K],["cct",r.Va]],h,j;if(r.kb())for(h=0;h<f[y];h++)if(!N(f[h][1])){j=f[h][1].split("+").join("%20");j=j.split(" ").join("%20");W(e,"utm"+f[h][0]+D+j)}return e.join("|")};r.kb=function(){return!(N(r.q)&&N(r.W)&&N(r.ba))};r.Zb=function(e){var f=function(h){return U(Q(e,"utm"+h+D,"|"))};r.q=f("cid");r.W=f("csr");r.ba=f("gclid");
r.D=f("ccn");r.S=f("cmd");r.K=f("ctr");r.Va=f("cct")}};$.Hb=function(g,i,b,k){var c=this,p=i,n=D,r=g,e=k;c.O=b;c.pa="";c.p={};c.tc=function(){var h;h=Y(Q(c.O.k(),I+p+".",";"),p+".")[1];if(!N(h)){h=h.split("|");f(1,c.p,h[1]);c.pa=h[0];c.Y()}};c.Y=function(){c.Qb();var h=c.pa,j,m,q="";for(j in c.p)if((m=c.p[j])&&1===m[2])q+=j+n+m[0]+n+m[1]+n+1+",";N(q)||(h+="|"+q);if(N(h))c.O.Vb();else{c.O.ya(p+"."+h);c.O.Da()}};c.Ec=function(h){c.pa=h;c.Y()};c.Cc=function(h,j,m,q){if(1!=q&&2!=q&&3!=q)q=3;var a=v;if(j&&m&&h>0&&h<=r.mb){j=T(j);m=T(m);if(j[y]+m[y]<=64){c.p[h]=
[j,m,q];c.Y();a=s}}return a};c.dc=function(h){if(h=c.p[h])return{value:h[1],scope:h[2]}};c.Ub=function(h){var j=c.p;if(j[h]){delete j[h];c.Y()}};c.Qb=function(){e._clearKey(8);e._clearKey(9);e._clearKey(11);var h=c.p,j,m;for(m in h)if(j=h[m]){e._setKey(8,m,j[0]);e._setKey(9,m,j[1]);j=j[2];3!=j&&e._setKey(11,m,j.toString())}};function f(h,j,m){var q;if(!N(m)){m=m.split(",");for(var a=0;a<m[y];a++){q=m[a];if(!N(q)){q=q.split(n);if(q[y]==4)j[q[0]]=[q[1],q[2],h]}}}}};$.N=function(){var g=this,i={},b="k",k="v",c=[b,k],p="(",n=")",r="*",e="!",f="'",h={};h[f]="'0";h[n]="'1";h[r]="'2";h[e]="'3";var j=1;function m(o,u,x,B){if(w==i[o])i[o]={};if(w==i[o][u])i[o][u]=[];i[o][u][x]=B}function q(o,u,x){return w!=i[o]&&w!=i[o][u]?i[o][u][x]:w}function a(o,u){if(w!=i[o]&&w!=i[o][u]){i[o][u]=w;u=s;var x;for(x=0;x<c[y];x++)if(w!=i[o][c[x]]){u=v;break}if(u)i[o]=w}}function d(o){var u="",x=v,B,O;for(B=0;B<c[y];B++){O=o[c[B]];if(w!=O){if(x)u+=c[B];u+=l(O);x=v}else x=s}return u}
function l(o){var u=[],x,B;for(B=0;B<o[y];B++)if(w!=o[B]){x="";if(B!=j&&w==o[B-1])x+=B.toString()+e;x+=t(o[B]);W(u,x)}return p+u.join(r)+n}function t(o){var u="",x,B,O;for(x=0;x<o[y];x++){B=o.charAt(x);O=h[B];u+=w!=O?O:B}return u}g.qc=function(o){return w!=i[o]};g.G=function(){var o="",u;for(u in i)if(w!=i[u])o+=u.toString()+d(i[u]);return o};g.Ac=function(o){if(o==w)return g.G();var u=o.G(),x;for(x in i)if(w!=i[x]&&!o.qc(x))u+=x.toString()+d(i[x]);return u};g._setKey=function(o,u,x){if(typeof x!=
"string")return v;m(o,b,u,x);return s};g._setValue=function(o,u,x){if(typeof x!="number"&&(w==Number||!(x instanceof Number))||Math.round(x)!=x||x==NaN||x==Infinity)return v;m(o,k,u,x.toString());return s};g._getKey=function(o,u){return q(o,b,u)};g._getValue=function(o,u){return q(o,k,u)};g._clearKey=function(o){a(o,b)};g._clearValue=function(o){a(o,k)}};$.Ib=function(g,i){var b=this;b.Pc=i;b.xc=g;b._trackEvent=function(k,c,p){return i._trackEvent(b.xc,k,c,p)}};$.Kb=function(g,i){var b=this,k=w,c=new $.Fb,p=v,n=w;b.b=window;b.r=Math.round((new Date).getTime()/1000);b.s=g||"UA-XXXXX-X";b.Za=c.a.referrer;b.fa=w;b.f=w;b.B=w;b.F=v;b.A=w;b.Ra="";b.g=w;b.ab=w;b.d=w;b.i=w;c.o=i?T(i):w;function r(){if("auto"==c.c){var a=c.a.domain;if("www."==P(a,0,4))a=P(a,4);c.c=a}c.c=X(c.c)}function e(){var a=c.c,d=a.indexOf("www.google.")*a.indexOf(".google.")*a.indexOf("google.");return d||"/"!=c.h||a.indexOf("google.org")>-1}function f(a,d,l){if(N(a)||N(d)||N(l))return"-";
a=Q(a,E+b.d+".",d);if(!N(a)){a=a.split(".");a[5]=a[5]?a[5]*1+1:1;a[3]=a[4];a[4]=l;a=a.join(".")}return a}function h(){return"file:"!=c.a[A].protocol&&e()}function j(a){if(!a||""==a)return"";for(;ea(a.charAt(0));)a=P(a,1);for(;ea(a.charAt(a[y]-1));)a=P(a,0,a[y]-1);return a}function m(a,d,l,t){if(!N(a())){d(t?U(a()):a());V(a(),";")||l()}}function q(a){var d,l=""!=a&&c.a[A].host!=a;if(l)for(d=0;d<c.u[y];d++)l=l&&ga(X(a),X(c.u[d]))==-1;return l}b.wc=function(){var a=v;if(b.B)a=b.B.match(/^[0-9a-z-_.]{10,1200}$/i);
return a};b.kc=function(){return Z()^b.A.$b()&2147483647};b.fc=function(){if(!c.c||""==c.c||"none"==c.c){c.c="";return 1}r();return c.Pa?ia(c.c):1};b.Yb=function(a,d){if(N(a))a="-";else{d+=c.h&&"/"!=c.h?c.h:"";d=a.indexOf(d);a=d>=0&&d<=8?"0":"["==a.charAt(0)&&"]"==a.charAt(a[y]-1)?"-":a}return a};b.ua=function(a){var d="",l=c.a;d+=c.ca?b.A.Hc():"";d+=c.aa?b.Ra:"";d+=c.da&&!N(l.title)?"&utmdt="+T(l.title):"";d+="&utmhid="+ja()+"&utmr="+T(b.fa)+"&utmp="+T(b.Bc(a));return d};b.Bc=function(a){var d=c.a[A];
return a=w!=a&&""!=a?T(a,s):T(d.pathname+d.search,s)};b.Kc=function(a){if(b.J()){var d="";if(b.g!=w&&b.g.G()[y]>0)d+="&utme="+T(b.g.G());d+=b.ua(a);k.H(d,b.s,b.d)}};b.Tb=function(){var a=new $.Z(c);return a.sa(b.d)?a.Gc():w};b._getLinkerUrl=function(a,d){var l=a.split("#"),t=a,o=b.Tb();if(o)if(d&&1>=l[y])t+="#"+o;else if(!d||1>=l[y])if(1>=l[y])t+=(V(a,"?")?C:"?")+o;else t=l[0]+(V(a,"?")?C:"?")+o+"#"+l[1];return t};b.wb=function(){var a;if(b.wc()){b.i.Dc(b.B);b.i.Nc();$._gasoDomain=c.c;$._gasoCPath=
c.h;a=c.a.createElement("script");a.type="text/javascript";a.id="_gasojs";a.src="https://www.google.com/analytics/reporting/overlay_js?gaso="+b.B+C+Z();c.a.getElementsByTagName("head")[0].appendChild(a)}};b.pc=function(){var a=b.r,d=b.i,l=d.k(),t=b.d+"",o=c.b,u=o?o.gaGlobal:w,x,B=V(l,E+t+"."),O=V(l,F+t),la=V(l,H+t),G,J=[],R="",fa=v;l=N(l)?"":l;if(c.z){x=c.a[A]&&c.a[A].hash?c.a[A].href.substring(c.a[A].href.indexOf("#")):"";if(c.$&&!N(x))R=x+C;R+=c.a[A].search;if(!N(R)&&V(R,E)){d.zc(R);d.ib()||d.Sb();
G=d.ga()}m(d.ja,d.tb,d.Db,true);m(d.ia,d.ya,d.Da)}if(N(G))if(B)if(!O||!la){G=f(l,";",a);b.F=s}else{G=Q(l,E+t+".",";");J=Y(Q(l,F+t,";"),".")}else{G=ha([t,b.kc(),a,a,a,1],".");fa=b.F=s}else if(N(d.C())||N(d.ha())){G=f(R,C,a);b.F=s}else{J=Y(d.C(),".");t=J[0]}G=G.split(".");if(o&&u&&u.dh==t&&!c.o){G[4]=u.sid?u.sid:G[4];if(fa){G[3]=u.sid?u.sid:G[4];if(u.vid){a=u.vid.split(".");G[1]=a[0];G[2]=a[1]}}}d.rb(G.join("."));J[0]=t;J[1]=J[1]?J[1]:0;J[2]=w!=J[2]?J[2]:c.Ic;J[3]=J[3]?J[3]:G[4];d.wa(J.join("."));d.sb(t);
N(d.mc())||d.xa(d.P());d.Bb();d.Ca();d.Cb()};b.rc=function(){k=new $.Jb(c)};b._initData=function(){var a;if(!p){if(!b.A){b.A=new $.Eb(c);b.A.bc()}b.d=b.fc();b.i=new $.Z(c);b.g=new $.N;n=new $.Hb(c,b.d,b.i,b.g);b.rc()}if(h()){b.pc();n.tc()}if(!p){if(h()){b.fa=b.Yb(b.Za,c.a.domain);if(c.aa){a=new $.m(b.d,b.fa,b.r,c);b.Ra=a.cc(b.i,b.F)}}b.ab=new $.N;p=s}$.gb||b.sc()};b._visitCode=function(){b._initData();var a=Q(b.i.k(),E+b.d+".",";");a=a.split(".");return a[y]<4?"":a[1]};b._cookiePathCopy=function(a){b._initData();
b.i&&b.i.Mc(b.d,a)};b.sc=function(){var a=c.a[A].hash;if(a&&1==a.indexOf("gaso="))a=Q(a,"gaso=",C);else a=(a=c.b.name)&&0<=a.indexOf("gaso=")?Q(a,"gaso=",C):Q(b.i.k(),M,";");if(a[y]>=10){b.B=a;c.b.addEventListener?c.b.addEventListener("load",b.wb,v):c.b.attachEvent("onload",b.wb)}$.gb=s};b.J=function(){return b._visitCode()%10000<c.T*100};b.Fc=function(){var a,d,l=c.a.links;if(!c.jb){a=c.a.domain;if("www."==P(a,0,4))a=P(a,4);c.u.push("."+a)}for(a=0;a<l[y]&&(c.oa==-1||a<c.oa);a++){d=l[a];if(q(d.host))if(!d.gatcOnclick){d.gatcOnclick=
d.onclick?d.onclick:b.yc;d.onclick=function(t){var o=!this.target||this.target=="_self"||this.target=="_top"||this.target=="_parent";o=o&&!b.Rb(t);b.Lc(t,this,o);return o?v:this.gatcOnclick?this.gatcOnclick(t):s}}}};b.yc=function(){};b._trackPageview=function(a){if(h()){b._initData();c.u&&b.Fc();b.Kc(a);b.F=v}};b._trackTrans=function(){var a=b.d,d=[],l,t,o;b._initData();if(b.f&&b.J()){for(l=0;l<b.f.X[y];l++){t=b.f.X[l];W(d,t.Aa());for(o=0;o<t.R[y];o++)W(d,t.R[o].Aa())}for(l=0;l<d[y];l++)k.H(d[l],
b.s,a,s)}};b._setTrans=function(){var a=c.a,d,l,t;a=a.getElementById?a.getElementById("utmtrans"):a.utmform&&a.utmform.utmtrans?a.utmform.utmtrans:w;b._initData();if(a&&a.value){b.f=new $.n;t=a.value.split("UTM:");c.v=!c.v||""==c.v?"|":c.v;for(a=0;a<t[y];a++){t[a]=j(t[a]);d=t[a].split(c.v);for(l=0;l<d[y];l++)d[l]=j(d[l]);if("T"==d[0])b._addTrans(d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8]);else"I"==d[0]&&b._addItem(d[1],d[2],d[3],d[4],d[5],d[6])}}};b._addTrans=function(a,d,l,t,o,u,x,B){b.f=b.f?b.f:new $.n;
return b.f.Ob(a,d,l,t,o,u,x,B)};b._addItem=function(a,d,l,t,o,u){var x;b.f=b.f?b.f:new $.n;(x=b.f.fb(a))||(x=b._addTrans(a,"","","","","","",""));x.Nb(d,l,t,o,u)};b._setVar=function(a){if(a&&""!=a&&e()){b._initData();n.Ec(T(a));b.J()&&k.H("&utmt=var",b.s,b.d)}};b._setCustomVar=function(a,d,l,t){b._initData();return n.Cc(a,d,l,t)};b._deleteCustomVar=function(a){b._initData();n.Ub(a)};b._getCustomVar=function(a){b.initData();n.dc(a)};b._setMaxCustomVariables=function(a){c.mb=a};b._link=function(a,d){if(c.z&&
a){b._initData();c.a[A].href=b._getLinkerUrl(a,d)}};b._linkByPost=function(a,d){if(c.z&&a&&a.action){b._initData();a.action=b._getLinkerUrl(a.action,d)}};b._setXKey=function(a,d,l){b.g._setKey(a,d,l)};b._setXValue=function(a,d,l){b.g._setValue(a,d,l)};b._getXKey=function(a,d){return b.g._getKey(a,d)};b._getXValue=function(a,d){return b.g.getValue(a,d)};b._clearXKey=function(a){b.g._clearKey(a)};b._clearXValue=function(a){b.g._clearValue(a)};b._createXObj=function(){b._initData();return new $.N};b._sendXEvent=
function(a){var d="";b._initData();if(b.J()){d+="&utmt=event&utme="+T(b.g.Ac(a))+b.ua();k.H(d,b.s,b.d,v,s)}};b._createEventTracker=function(a){b._initData();return new $.Ib(a,b)};b._trackEvent=function(a,d,l,t){var o=b.ab;if(w!=a&&w!=d&&""!=a&&""!=d){o._clearKey(5);o._clearValue(5);(a=o._setKey(5,1,a)&&o._setKey(5,2,d)&&(w==l||o._setKey(5,3,l))&&(w==t||o._setValue(5,1,t)))&&b._sendXEvent(o)}else a=v;return a};b.Lc=function(a,d,l){b._initData();if(b.J()){var t=new $.N;t._setKey(6,1,d.href);var o=l?
function(){b.bb(a,d)}:w;k.H("&utmt=event&utme="+T(t.G())+b.ua(),b.s,b.d,v,s,o);if(l){var u=this;c.b.setTimeout(function(){u.bb(a,d)},500)}}};b.bb=function(a,d){if(!a)a=c.b.event;var l=s;if(d.gatcOnclick)l=d.gatcOnclick(a);if(l||typeof l=="undefined")if(!d.target||d.target=="_self")c.b[A]=d.href;else if(d.target=="_top")c.b.top.document[A]=d.href;else if(d.target=="_parent")c.b.parent.document[A]=d.href};b.Rb=function(a){if(!a)a=c.b.event;var d=a.shiftKey||a.ctrlKey||a.altKey;if(!d)if(a.modifiers&&
c.b.Event)d=a.modifiers&c.b.Event.CONTROL_MASK||a.modifiers&c.b.Event.SHIFT_MASK||a.modifiers&c.b.Event.ALT_MASK;return d};b.Oc=function(){return c};b._setDomainName=function(a){c.c=a};b._addOrganic=function(a,d){c.ra.splice(0,0,new $.Fa(a,d))};b._clearOrganic=function(){c.ra=[]};b._addIgnoredOrganic=function(a){W(c.qa,a)};b._clearIgnoredOrganic=function(){c.qa=[]};b._addIgnoredRef=function(a){W(c.ta,a)};b._clearIgnoredRef=function(){c.ta=[]};b._setAllowHash=function(a){c.Pa=a?1:0};b._setCampaignTrack=
function(a){c.aa=a?1:0};b._setClientInfo=function(a){c.ca=a?1:0};b._getClientInfo=function(){return c.ca};b._setCookiePath=function(a){c.h=a};b._setTransactionDelim=function(a){c.v=a};b._setCookieTimeout=function(a){c.Wa=a};b._setDetectFlash=function(a){c.ea=a?1:0};b._getDetectFlash=function(){return c.ea};b._setDetectTitle=function(a){c.da=a?1:0};b._getDetectTitle=function(){return c.da};b._setLocalGifPath=function(a){c.la=a};b._getLocalGifPath=function(){return c.la};b._setLocalServerMode=function(){c.I=
0};b._setRemoteServerMode=function(){c.I=1};b._setLocalRemoteServerMode=function(){c.I=2};b._getServiceMode=function(){return c.I};b._setSampleRate=function(a){c.T=a};b._setSessionTimeout=function(a){c.qb=a};b._setAllowLinker=function(a){c.z=a?1:0};b._setAllowAnchor=function(a){c.$=a?1:0};b._setCampNameKey=function(a){c.Ga=a};b._setCampContentKey=function(a){c.Ha=a};b._setCampIdKey=function(a){c.Ia=a};b._setCampMediumKey=function(a){c.Ja=a};b._setCampNOKey=function(a){c.Ka=a};b._setCampSourceKey=
function(a){c.La=a};b._setCampTermKey=function(a){c.Ma=a};b._setCampCIdKey=function(a){c.Na=a};b._getAccount=function(){return b.s};b._setAccount=function(a){b.s=a};b._setNamespace=function(a){c.o=a?T(a):w};b._getVersion=function(){return ca};b._setAutoTrackOutbound=function(a){c.u=[];if(a)c.u=a};b._setTrackOutboundSubdomains=function(a){c.jb=a};b._setHrefExamineLimit=function(a){c.oa=a};b._setReferrerOverride=function(a){b.Za=a};b._setCookiePersistence=function(a){$.t=a}};
$._getTracker=function(g,i){return new $.Kb(g,i)};window[aa]=$;var ka=window[ba];})()


/* Standard functions for all BuildIQ sites */

/* validate search form */
function ValidateForm(form){
		if (document.forms.submitform.q.value != '') { 
			return true; 
		} else { 
			alert('Please enter a search term'); return false; 
		} 
	}

/* comment as a placeholder for the compression script otherwise it chops the bottom of the file