if (SI_dom()) { document.write('<style type="text/css">.non-dom { position: absolute !important; top: 0 !important; left: -3000px !important; }<'+'/style>\n'); }
function SI_dom() { return new Boolean(document.getElementById && document.getElementsByTagName); };
function SI_submitForm(f) {
	if (!SI_dom()) return true;
	f.submit();
	}
var SI_openWindow = new Object();
function SI_windowOpen(elem,center,w,h,opt) {
	if (!SI_dom()) return true;
	
	var src	= elem.href;
	var wnm	= (elem.target=='')?'SI_schoolSuite':((elem.target.indexOf('_')==0)?'SI'+elem.target:elem.target);
	var opt = (opt=='')?',scrollbars=yes,resizable=yes':((opt.indexOf(',')!=0)?','+opt:opt);
	var ctr	= (center)?',left='+((screen.availWidth-w)/2)+',top='+((screen.availHeight-h)/2):'';
	if (!SI_openWindow.closed && SI_openWindow.name==wnm && SI_openWindow.location) {
		SI_openWindow.location = src;
		}
	else {
		SI_openWindow = window.open(src,wnm,'width='+w+',height='+h+ctr+opt);
		if (!SI_openWindow.opener) SI_openWindow.opener = self;
		}
	if (window.focus) SI_openWindow.focus();
	return false;
	};
var SI_footer=new Object();
SI_footer.clear			= false;
SI_footer.container		= 'content';
SI_footer.ignore		= 'xxx';
SI_footer.minHeight		= 410;	
SI_footer.extendShallow = true;	
SI_footer.bottomOut		= true;	
function SI_clearFooter() {
	var d = document,w=window,dE=d.documentElement,dB=d.body,h;
	if (!SI_footer.clear || !d.getElementById || !dB.offsetHeight) return;
	
	var ic = d.getElementById(SI_footer.container); 
	if (!ic) return; 
	ic.style.height = '0';		
	var oh = [];
	var icTop = ic.offsetTop;
	var winHeight	= (typeof(w.innerHeight)=='number')?w.innerHeight:(dE&&dE.clientHeight)?dE.clientHeight:(dB&&dB.clientHeight)?dB.clientHeight:0;
	var footHeight	= d.getElementById('footer').offsetHeight;
	oh[0] = SI_footer.minHeight-icTop-footHeight;	
	for (var i=0;i<ic.childNodes.length;i++) {
		c = ic.childNodes[i];
		if (c.nodeName=='DIV') {
			if (c.id=='inner-content') {
				c.style.height = SI_getContainedHeight(c)+'px';
				oh[oh.length] = c.offsetHeight+c.offsetTop;
				}
			else if (c.id==SI_footer.ignore) { continue; }
			else {
				c.style.height = 'auto';
				oh[oh.length] = c.offsetHeight+c.offsetTop;
				}
			}
		}
	h = 0; for (var k=0;k<oh.length;k++) { h = (oh[k]>h)?oh[k]:h;}
	if (SI_footer.bottomOut) { h = ((icTop+h+footHeight) < winHeight)?winHeight-footHeight-icTop:h; }
	if (SI_footer.extendShallow) { 
		for (var i=0;i<ic.childNodes.length;i++) { 
			var c = ic.childNodes[i]; 
			if (c.nodeName=='DIV' && c.id!=SI_footer.ignore) { 
				c.style.height = (h-c.offsetTop)+'px'; 
				}
			}
		}
	ic.style.height = h+'px';
	};

function SI_getContainedHeight(e) {
	var oh = [];
	for (var i=0;i<e.childNodes.length;i++) { var c = e.childNodes[i]; if (c.nodeName=='DIV') { c.style.height = 'auto'; oh[oh.length] = c.offsetHeight+c.offsetTop; }}
	var h = 0; for (var k=0;k<oh.length;k++) { h = (oh[k]>h)?oh[k]:h; }
	return h;
	}

function SI_menu() {
	var d = document;
	var isSafari 	= (navigator.userAgent.indexOf('Safari') != -1);
	var isIE 		= (navigator.appName == "Microsoft Internet Explorer");
	var isWinIE		= (isIE && window.print);
	if (!SI_dom() || window.opera || isSafari || !d.getElementById) return;
	
	var m=SI_menu.arguments;

	for(i=0; i<m.length; i++) {
		if (!d.getElementById(m[i])) continue; // Added 4.08.23
		for (var l=0; (lnk=d.getElementById(m[i]).getElementsByTagName("a")[l]); l++) {
			if (lnk.parentNode.childNodes.length > 1) {
				li = lnk.parentNode; // The containing <li>
				for (var n=0; n < li.childNodes.length; n++) {
					node = li.childNodes[n];
					if (node.nodeName=="UL") {
						li.ul = node; // The sibling <ul> (submenu)
						delete node;
						
						li.classDefault		= li.className;
						li.classHover		= li.className+((li.className=='')?'hover':' hover');
						
						li.isIE				= isIE;
						li.isWinIE			= isWinIE;
						li.onmouseover		= SI_showMenu;
						li.onmouseout		= SI_hideMenu;
						}
					}
				}
			}
		}
	}
function SI_showMenu() {
	this.className = this.classHover;
	if (this.isIE) {
		this.style.zIndex = 100;
		if (this.isWinIE) SI_toggleSelects('hidden'); 
		}
	}
function SI_hideMenu() {
	this.className = this.classDefault;
	if (this.isIE) {
		this.style.zIndex = 1;
		if (this.isWinIE) SI_toggleSelects('visible'); 
		}
	}
function SI_toggleSelects(state) {
	var d = document;
	for (var i=0; (sel=d.getElementsByTagName('select')[i]); i++) {
		sel.style.visibility = state;
		}
	}
function SI_debug() {
	var d = document;
	if (!d.getElementsByTagName) return;
	
	var all = (d.all)?d.all:d.getElementsByTagName('*');
	for (i=0; i<all.length;i++) {
		//var oldmouseover = (all[i].onmouseover)?all[i].onmouseover:function(){};
		all[i].onmouseover = function(e) {
			//oldmouseover();
			if (!e) var e = window.event;
			var status = '';
			var done = false;
			var ths = this;
			while (!done) {
				status = ths.nodeName.toLowerCase()+((ths.className!='')?'.'+ths.className.replace(/ /g,'.'):'')+((ths.id!='')?'#'+ths.id:'')+((status!='')?' > ':'')+status;
				done = (ths.nodeName=='HTML')?true:false;
				if (!done) ths=ths.parentNode;
				}
			
			this.status = status;
			window.status = ((this.status.length>128)?'...':'')+this.status.substr(this.status.length-124);
			e.cancelBubble = true;
			e.returnValue = false;
			if (e.stopPropagation) e.stopPropagation();
			return true;
			}
		}
	}
var SI_tabs=new Object();
function SI_initializeTabs() {
	for (var tab in SI_tabs) { 
		SI_activateTab(tab,SI_tabs[tab].active);
		}
	}
function SI_activateTab(tabGroup,activeTab) {
	var d = document;
	if (!d.getElementById) return;
	
	for (i=0; i<SI_tabs[tabGroup].tabs.length; i++) {
		//alert('tab-'+tabGroup+'-'+SI_tabs[tabGroup].tabs[i])
		tab = 'tab-'+tabGroup+'-'+SI_tabs[tabGroup].tabs[i];
		d.getElementById(tab).className = '';
		d.getElementById(tabGroup+'-'+SI_tabs[tabGroup].tabs[i]).style.display = 'none';
		}
	d.getElementById(tabGroup+'-'+activeTab).style.display = 'block';
	d.getElementById('tab-'+tabGroup+'-'+activeTab).className = 'active';
	
	SI_clearFooter();
	};
var SI_groups=new Object();
function SI_initializeGroups() {
	var d = document;
	if (!d.getElementById) return;
	for (var group in SI_groups) {
		d.getElementById(group+'-toggle').style.display = 'inline';
		for (i=0; i<SI_groups[group].items.length; i++) {
			anItem = SI_groups[group].items[i];
			d.getElementById(anItem+'-toggle').style.display = 'inline';
			}
		SI_groups[group].expanded = SI_groups[group].items.length;
		SI_toggleGroups(group,'',d.getElementById(group+'-toggle'));
		}
	};
function SI_toggleGroups(group,item,toggle) {
	var d = document;
	if (!d.getElementById) return;
	
	var state = (toggle.innerHTML.toLowerCase().indexOf('hide ')!=-1);
	var display = (state)?'none':'block';
	var action = (state)?SI_groups[group].links[0]+' ':SI_groups[group].links[1]+' ';
	if (item!='') {
		d.getElementById(item).style.display = display;
		//toggle.innerHTML = (state)?action+SI_groups[group].label:action;
		toggle.innerHTML = action+SI_groups[group].label;
		SI_groups[group].expanded = (state)?SI_groups[group].expanded-1:SI_groups[group].expanded+1;
		d.getElementById(group+'-toggle').innerHTML = (SI_groups[group].expanded == SI_groups[group].items.length)?SI_groups[group].links[0]+' All':SI_groups[group].links[1]+' All';
		}
	else {
		for (i=0; i<SI_groups[group].items.length; i++) {
			item = SI_groups[group].items[i];
			d.getElementById(item+'-toggle').innerHTML = ((state)?SI_groups[group].links[0]+' ':SI_groups[group].links[1]+' ')+SI_groups[group].label;
			d.getElementById(item).style.display = display;
			SI_groups[group].expanded = (state)?0:SI_groups[group].items.length;
			}
		toggle.innerHTML = action+'All';
		}
	
	SI_clearFooter();
	};

var SI_gallery=new Object(); var SI_imgs=new Array(); SI_imgs[0]=null;
function SI_galleryRedraw() {
	if (!SI_dom()) return false;
	var d = document;
	var g = SI_gallery;
	
	var a = d.getElementById('SI_galleryLink');
	if (SI_imgs[g.imgActive][0].match(/\.(jpg|jpeg|gif|png|bmp)$/i)) {
		imgSrc  = SI_imgs[g.imgActive][1]+'thumb/'+g.imgPrefix+SI_imgs[g.imgActive][0];
		imgLnk  = '/gallery/zoom.asp?myurl='+SI_imgs[g.imgActive][1]+SI_imgs[g.imgActive][0];
		imgLnk += '&Title='+escape(SI_imgs[g.imgActive][2]);
		imgLnk += '&Content='+escape(SI_imgs[g.imgActive][3]);
		
		a.href=imgLnk;
		a.className = '';
		a.onclick=function() {
			SI_windowOpen(this,true,SI_imgs[g.imgActive][4],SI_imgs[g.imgActive][5],'scrollbars=yes,resizable=yes'); return false;
			}
		a.innerHTML = '<img src="'+imgSrc+'" id="SI_galleryImg" onload="SI_clearFooter();" alt="" />';
		}
	else {
		a.href = SI_imgs[g.imgActive][1] + SI_imgs[g.imgActive][0];
		a.className = 'file '+SI_imgs[g.imgActive][0].slice(SI_imgs[g.imgActive][0].lastIndexOf('.')+1);
		a.onclick = function() { return; };
		a.innerHTML = 'Download '+SI_imgs[g.imgActive][2];
		SI_clearFooter();
		}
	d.getElementById('SI_galleryImgTitle').innerHTML=SI_imgs[g.imgActive][2]; //+' <span><em>'+g.imgActive+'<'+'/em> of '+g.imgTotal+'<'+'/span>';
	d.getElementById('SI_galleryImgNumOf').innerHTML='<strong>'+g.imgActive+'<'+'/strong> of '+g.imgTotal;
	d.getElementById('SI_galleryImgDesc').innerHTML=SI_imgs[g.imgActive][3];
	d.getElementById('SI_galleryImgPrev').innerHTML=(g.imgActive==1)?'<em>&lt; Previous</em>':'<a href="#Previous Image" onclick="SI_galleryImgPrev(); return false;">&lt; Previous</a>';
	d.getElementById('SI_galleryImgNext').innerHTML=(g.imgActive==g.imgTotal)?'<em>Next &gt;</em>':'<a href="#Next Image" onclick="SI_galleryImgNext(); return false;">Next &gt;</a>';
	var t = d.getElementById('SI_galleryThumbs');
	t = '';
	for (i=g.setImg; i<g.setImg+g.thumbTotal;i++) {
		if (i<=g.imgTotal) {
			var html;
			if (SI_imgs[i][0].match(/\.(jpg|jpeg|gif|png|bmp)$/i)) {
				html = '<a href="#image'+i+'" onclick="SI_galleryImgSelect('+i+'); return false;" title="'+SI_imgs[i][2]+'"><img src="'+SI_imgs[i][1]+'thumb/'+g.thumbPrefix+SI_imgs[i][0]+'" alt="'+SI_imgs[i][2]+'" border="0" /><'+'/a>';
				}
			else {
				
				html = '<a href="#image'+i+'" onclick="SI_galleryImgSelect('+i+'); return false;" title="'+SI_imgs[i][2]+'" class="file '+SI_imgs[i][1]+'">'+SI_imgs[i][2]+'</a>';
				}
			
			var className = (i==g.setImg)?'first-child':((i==g.setImg+g.thumbTotal)?'last-child':'');
			if (i==g.imgActive) { className += (className=='')?'active':' active'; }
			className = (className!='')?' class="'+className+'"':'';
			
			t += '<li'+className+'>'+html+'<'+'/li>\n';
			}
		}
	d.getElementById('SI_galleryThumbs').innerHTML = t;
	
	var sets = g.setLabel; //'<strong>Set:</strong> ';
	for (i=1; i<=g.setTotal; i++) {
		if (i==g.setActive) {
			sets += '<span>'+i+'</span> ';
			}
		else {
			sets += '<a href="#Load Set '+i+'" onclick="SI_gallerySetSelect('+i+'); return false;">'+i+'<'+'/a> ';
			}
		if (i!=g.setTotal) sets += g.setDivider;
		}
	d.getElementById('SI_gallerySets').innerHTML = sets;
	}
function SI_galleryImgSelect(imgNo) {
	if (SI_gallery.imgActive == imgNo) return;
	SI_gallery.imgActive = imgNo;
	SI_galleryRedraw();
	}
function SI_galleryImgNext() {
	var g = SI_gallery;
	if (g.imgActive<g.imgTotal) {
		g.imgActive++;
		if (g.imgActive >= g.setImg+g.thumbTotal) {
			g.setImg = g.imgActive;
			g.setActive++;
			}
		SI_galleryRedraw();
		}
	}
function SI_galleryImgPrev() {
	var g = SI_gallery;
	if (g.imgActive>1) {
		g.imgActive--;
		if (g.imgActive < g.setImg) {
			g.setActive--;
			g.setImg = (g.setActive*g.thumbTotal)-(g.thumbTotal-1);
			}
		SI_galleryRedraw();
		}
	}
function SI_gallerySetSelect(setNo) {
	var g = SI_gallery;
	g.setActive = setNo;
	g.setImg = (g.setActive*g.thumbTotal)-(g.thumbTotal-1);
	g.imgActive = g.setImg;
	SI_galleryRedraw();
	}
function SI_gallerySetPrev() {
	var g = SI_gallery;
	if (g.setActive!=1) {
		g.setActive--;
		g.setImg = (g.setActive*g.thumbTotal)-(g.thumbTotal-1);
		g.imgActive = g.setImg;
		SI_galleryRedraw();
		}
	}
function SI_gallerySetNext() {
	var g = SI_gallery;
	if (g.setActive<g.setTotal) {
		g.setActive++;
		g.setImg = (g.setActive*g.thumbTotal)-(g.thumbTotal-1);
		g.imgActive = g.setImg;
		SI_galleryRedraw();
		}
	}
function Gallery(imgId,titleId,captionId,prevId,nextId,imgs,loop) {
	var d = document;
	this.compatible = true;
	if (!d.getElementById || (d.all&&!window.print)) {
		this.compatible = false;
		return
		}
	this.aImg = 0;
	this.tImg = imgs.length;
	this.img = d.getElementById(imgId);
	this.title = d.getElementById(titleId);
	this.caption = d.getElementById(captionId);
	this.prevBtn = d.getElementById(prevId);
	this.nextBtn = d.getElementById(nextId);
	this.imgs = imgs;
	this.loop = loop;
	
	this.prevBtn.gallery = this;
	this.prevBtn.onclick = function () { this.gallery.prevImage(); return false; }
	this.nextBtn.gallery = this;
	this.nextBtn.onclick = function () { this.gallery.nextImage(); return false; }
	
	this.loadImage(null);
	}
Gallery.prototype.loadImage = function(i) {
	if (!this.compatible) return;
	if (i!=null) this.aImg = i-1;
	
	if (!this.loop) {
		this.prevBtn.style.display =  (this.aImg<=0)?'none':'block';
		this.nextBtn.style.display =  (this.aImg>=this.tImg-1)?'none':'block';
		}
	
	this.img.src = this.imgs[this.aImg][0];
	this.img.onload = SI_clearFooter;
	
	if (this.imgs[this.aImg][1]!= null) {
		this.title.style.display='block';
		this.title.innerHTML = this.imgs[this.aImg][1];
		}
	else { this.title.style.display='none'; }
	
	if (this.imgs[this.aImg][2]!= null) {
		this.caption.style.display='block';
		this.caption.innerHTML = this.imgs[this.aImg][2];
		}
	else { this.caption.style.display='none'; }
	
	if (this.imgs[this.aImg][3]!= null && this.img.parentNode.nodeName=="A") {
		this.img.parentNode.className = 'si-active-link';
		this.img.parentNode.onclick=this.imgs[this.aImg][3];
		}
	else {
		this.img.parentNode.className = 'si-inactive-link';
		this.img.parentNode.onclick=function() { return false; };
		}
	}
Gallery.prototype.prevImage = function() {
	if (!this.compatible) return;
	this.aImg--;
	this.aImg = (this.aImg<0)?this.tImg-1:this.aImg;
	this.loadImage(null);
	}
Gallery.prototype.nextImage = function() {
	if (!this.compatible) return;
	this.aImg++;
	this.aImg = (this.aImg>=this.tImg)?0:this.aImg;
	this.loadImage(null);
	}
function SI_initializeSwapImg() {
	var d = document;
	var SI_preloadImgs = new Array();
	for (i=0;img=d.images[i];i++) {	
		if (img.src.indexOf('over=')!=-1) {
			img.defaultsrc	= img.src;
			img.oversrc		= img.src.replace(/^(.+)over=/i,'');
			img.onmouseover	= function () { this.src = this.oversrc; };
			img.onmouseout	= function () { this.src = this.defaultsrc; };
			
			SI_preloadImgs[i] = new Image();
			SI_preloadImgs[i].src = img.oversrc;
			}
		}
	}

var SI_filters=new Object();
function SI_initializeFilters() {
	for (var filter in SI_filters) {
		SI_activateFilter(filter,SI_filters[filter].active);
		}
	}
function SI_activateFilter(filterGroup,activeFilter) {
	var d = document;
	if (!d.getElementsByTagName) return;
	
	c = (SI_filters[filterGroup].ul)?'ul':'dl';
	r = (SI_filters[filterGroup].ul)?'li':'dd';
	
	var filterContent = d.getElementById('filter-'+filterGroup);
	if (!filterContent) { return; }
	for (i=0; i<SI_filters[filterGroup].filters.length; i++) {
		var f = d.getElementById('filter-'+filterGroup+'-'+SI_filters[filterGroup].filters[i]);
		f.className = f.className.removeClass('active');
		}
	for (j=0; dl=filterContent.getElementsByTagName(c)[j]; j++) {
		dl.style.display='block';
		for (k=0;dd=dl.getElementsByTagName(r)[k]; k++) {
			dd.style.display='block';
			dd.className = dd.className.removeClass('alt','first-child','last-child');
			dd.style.marginTop='';
			}
		}
	var a = d.getElementById('filter-'+filterGroup+'-'+activeFilter);
	a.className = a.className.addClass('active');
	for (j=0; dl=filterContent.getElementsByTagName(c)[j]; j++) {
		var allHidden = true;
		var alt = false;
		var firstChild = 0;
		var lastChild = null;
		for (k=0;dd=dl.getElementsByTagName(r)[k]; k++) {
			if (dd.className.indexOf(activeFilter)==-1 && activeFilter!='all') {
				dd.style.display='none';
				}
			else {
				firstChild++;
				lastChild = dd;
				allHidden=false;
				if (alt) {
					dd.className = dd.className.addClass('alt');
					alt=false;
					}
				else { alt=true; }
				if (firstChild==1) {
					dd.className = dd.className.addClass('first-child');
					}
				}
			}
		if (lastChild!=null && firstChild>1) {
			lastChild.className = lastChild.className.addClass('last-child');
			}
		if (allHidden) { dl.style.display='none'; }
		}
	
	if (SI_filters[filterGroup].bin) { SI_filters[filterGroup].bin.value = activeFilter; }
	SI_clearFooter();
	}
var SI_toggles = new Array();
function SI_initializeToggles() {
	var d = document;
	if (!d.getElementById) return;
	for (var toggle in SI_toggles) {
		SI_toggles[toggle][2] = (SI_toggles[toggle][2])?0:1;
		SI_simpleToggle(toggle);
		}
	}
function SI_simpleToggle(toggle) {
	var d = document;
	if (!d.getElementById) return;
	
	var div = d.getElementById(toggle);
	var lnk = d.getElementById(toggle+'-toggle');
	var state = SI_toggles[toggle][2];
	state = (state)?0:1;
	SI_toggles[toggle][2] = state;
	
	var display		= (state)?'block':'none';
	var className	= (state)?'toggle-min':'toggle-exp';
	
	lnk.innerHTML = SI_toggles[toggle][state];
	lnk.className = className;
	div.style.display = display;
	SI_clearFooter();
	}
var SI_cookie=new Object();
SI_cookie.domain = location.hostname.replace(/^www\./,'');
SI_cookie.year = new Date(); fixDate(SI_cookie.year); SI_cookie.year.setTime(SI_cookie.year.getTime() + 365 * 24 * 60 * 60 * 1000);
// Copyright (c) 1996-1997 Athenia Associates. http://www.webreference.com/js/ License is granted if and only if this entire copyright notice is included. By Tomer Shiran.
function setCookie(name, value, expires, path, domain, secure) { var curCookie = name + "=" + escape(value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); document.cookie = curCookie; }
function getCookie(name) { var prefix = name + '='; var c = document.cookie; var nullstring = ''; var cookieStartIndex = c.indexOf(prefix); if (cookieStartIndex == -1) { return nullstring; } var cookieEndIndex = c.indexOf(";", cookieStartIndex + prefix.length); if (cookieEndIndex == -1) { cookieEndIndex = c.length; } return unescape(c.substring(cookieStartIndex + prefix.length, cookieEndIndex)); }
function deleteCookie(name, path, domain) { if (getCookie(name)) { document.cookie = name + "=" + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT"; } }
function fixDate(date) { var base = new Date(0); var skew = base.getTime(); if (skew > 0) date.setTime(date.getTime() - skew); }
var SI_fontSize=new Object();
function SI_loadFontSize() {
	var c = getCookie('fontsize');
	SI_fontSize.defaultSize = (c!='')?c:SI_fontSize.defaultSize;
	document.write('<style type="text/css">#'+SI_fontSize.baseElement+' { font-size: '+SI_fontSize.defaultSize+'em; }<'+'/style>\n');
	setCookie('fontsize', SI_fontSize.defaultSize, SI_cookie.year, '/', SI_cookie.domain, '');
	};
function SI_changeFontSize(operator) {
	SI_fontSize.defaultSize = eval(SI_fontSize.defaultSize + operator + SI_fontSize.difference);
	document.getElementById(SI_fontSize.baseElement).style.fontSize = SI_fontSize.defaultSize+'em';
	setCookie('fontsize', SI_fontSize.defaultSize, SI_cookie.year, '/', SI_cookie.domain, '');
	SI_clearFooter();
	};
function SI_deHTTPSLinks() {
	if (!document.getElementsByTagName || !(window.location.href.indexOf('https')!=-1)) { return; }
	var allow = (typeof SI_skipHTTPS != "undefined");
	var r = '';
	if (allow) {
		r = '(secure\.|^[^?]+('; 
		for (var j=0; j<SI_skipHTTPS.length; j++) { r += SI_skipHTTPS[j] + '|'; }
		r = r.replace(/\|$/,'') + '))'; 
		}
	re = new RegExp(r,'gi'); 
	var a = document.getElementsByTagName('a');
	for (var i=0;i<a.length;i++) {
		var b = (a[i].href.search(re)!=-1);
		if (b && allow) { continue; }
		a[i].href = a[i].href.replace(/https/,'http');
		}
	}
String.prototype.addClass = function() {
	var txt = this;
	for (var i=0; i<arguments.length; i++) { txt += ((txt=='')?'':' ')+arguments[i];}
	return txt;
	};
String.prototype.removeClass = function() {
	var txt = this;
	for (var i=0; i<arguments.length; i++) { 
		txt = txt.replace(new RegExp('( '+arguments[i]+'\\b|\\b'+arguments[i]+' |\\b'+arguments[i]+'\\b)'),'');
		}
	return txt;
	};

var SI		= new Object();
SI.resize	= new Object();
SI.resize.initialize = function() {
	if (document.all && window.print) { return; }
	
	var c = document.createElement('div');
	
	c.style.position	= 'fixed';
	c.style.top			= '0';
	c.style.visibility	= 'hidden';
	c.style.width		= '10em';
	c.style.height		= '10em';
	
	SI.resize.control = document.body.appendChild(c);
	SI.resize.h = 0;
	window.setInterval('SI.resize.detectChange()',50);
	}
SI.resize.detectChange = function() {
	var o = SI.resize.h;
	SI.resize.h = SI.resize.control.offsetHeight;
	if (o!=SI.resize.h) SI.resize.hasOccurred();
	}
SI.resize.hasOccurred = function() {
	SI_clearFooter();
	}

SI.Func = {
	customizeFormToggle : function(e) {
		if (!document.getElementById) return;
		var f = document.getElementById('customize-form');
		if (e.className!='active') {
			e.className='active';
			f.className='active';
			}
		else {
			e.className='';
			f.className='non-dom';
			}
		return false;
		}
	};
function SI_toggleCheckBoxGroup(e,id) {
	var checked	= e.checked;
	var group	= document.getElementById(id);
	var inputs	= group.getElementsByTagName('input');
	for (var i=0; i<inputs.length; i++) {
		var input = inputs[i];
		if (input.type=='checkbox') {
			input.checked = checked;
			}
		}
	}
function SI_preventFlashOverlap() {
	if (!(navigator.userAgent.toLowerCase().indexOf('windows')!=-1) && document.getElementsByTagName) {
		var html = document.getElementsByTagName('html')[0];
		html.className += ((html.className=='')?'':' ')+'prevent-overlap';
		};
	};
function SI_embedFlash(id,swf,w,h) {
	if (!document.getElementsByTagName) return;
	var swfHTML;
	swfHTML  = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+w+'" height="'+h+'">';
	swfHTML += '	<param name="movie" value="'+swf+'" />';
	swfHTML += '	<param name="wmode" value="opaque" />';
	swfHTML += '	<embed src="'+swf+'" width="'+w+'" height="'+h+'" wmode="opaque" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" />';
	swfHTML += '<'+'/object>';
	document.getElementsByTagName('html')[0].className += ' viewFlash';
	document.getElementById(id).innerHTML = swfHTML;
	}

function SI_removeFlash(id) {
	if (!document.getElementsByTagName) return;
	document.getElementsByTagName('html')[0].className = document.getElementsByTagName('html')[0].className.replace(' viewFlash','');
	document.getElementById(id).innerHTML = '';
	}
function emailCheck(emailStr,form) {
	var checkTLD=1;
	var knownDomsPat=/^(com|net|org|edu|int|mil|gov|arpa|biz|aero|name|coop|info|pro|museum)$/;
	var emailPat=/^(.+)@(.+)$/;
	var specialChars="\\(\\)><@,;:\\\\\\\"\\.\\[\\]";
	var validChars="\[^\\s" + specialChars + "\]";
	var quotedUser="(\"[^\"]*\")";
	var ipDomainPat=/^\[(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\]$/;
	var atom=validChars + '+';
	var word="(" + atom + "|" + quotedUser + ")";
	var userPat=new RegExp("^" + word + "(\\." + word + ")*$");
	var domainPat=new RegExp("^" + atom + "(\\." + atom +")*$");
	var matchArray=emailStr.match(emailPat);
	if (matchArray==null) {
		alert("Email address seems incorrect (check @ and .'s)");
		form.focus();
		return false;
	}
	var user=matchArray[1];
	var domain=matchArray[2];
	for (i=0; i<user.length; i++) {
		if (user.charCodeAt(i)>127) {
			alert("Ths username contains invalid characters.");
			form.focus();


			form.select();
			return false;
		   }
	}
	for (i=0; i<domain.length; i++) {
		if (domain.charCodeAt(i)>127) {
			alert("Ths domain name contains invalid characters.");
			form.focus();
			form.select();
			return false;
		   }
	}
	if (user.match(userPat)==null) {
		alert("The username doesn't seem to be valid.");
		form.focus();
		form.select();
		return false;
	}
	var IPArray=domain.match(ipDomainPat);
	if (IPArray!=null) {
		for (var i=1;i<=4;i++) {
			if (IPArray[i]>255) {
				alert("Destination IP address is invalid!");
				form.focus();
				form.select();
				return false;
			   }
		}
	}
	var atomPat=new RegExp("^" + atom + "$");
	var domArr=domain.split(".");
	var len=domArr.length;
	for (i=0;i<len;i++) {
		if (domArr[i].search(atomPat)==-1) {
			alert("The domain name does not seem to be valid.");
			form.focus();
			form.select();
			return false;
		   }
	}
	if (checkTLD && domArr[domArr.length-1].length!=2 && 
		domArr[domArr.length-1].search(knownDomsPat)==-1) {
		alert("The address must end in a well-known domain or two letter " + "country.");
		form.focus();
		form.select();
		return false;
	}
	if (len<2) {
		alert("This address is missing a hostname!");
		form.focus();
		form.select();
		return false;
	}
	return true;
}	
function SimpleImageSwap(input,filename) {
	input.src=filename;
}
function SetSearchText(input,newText,currentText){
	if (input.value == currentText) {
		input.value = newText;
	}
}

function checkAll(checkbox){
	for(i=0; i < checkbox.length; i++){
		checkbox[i].checked = true;
	}
}

function uncheckAll(checkbox){
	for(i=0; i < checkbox.length; i++){
		checkbox[i].checked = false;
	}
}

function alumniActions(info){
	document.dirAction.pageaction.value = info.value
	document.dirAction.submit();
}
function isFilled(elm) {
    if (elm.value == "" ||
        elm.value == null)
    return false;
    else return true;
}


var __utmfsc=1;  
var __utmdn="auto"; 
var __utmhash="on"; 
var __utmgifpath="/images/common/__utm.gif";
var __utmtimeout="1800";  

var __utmctm=1;  
var __utmcto="15768000";  

var __utmccn="utm_campaign"; 
var __utmcmd="utm_medium"; 
var __utmcsr="utm_source"; 
var __utmctr="utm_term";
var __utmcct="utm_content";
var __utmcid="utm_id"; 

var __utmcno="utm_nooverride";  
var __utmOsr = new Array();
var __utmOkw = new Array();

__utmOsr[0]  = "google";     __utmOkw[0]  = "q";
__utmOsr[1]  = "yahoo";      __utmOkw[1]  = "p";
__utmOsr[2]  = "msn";        __utmOkw[2]  = "q";
__utmOsr[3]  = "aol";        __utmOkw[3]  = "query";
__utmOsr[4]  = "lycos";      __utmOkw[4]  = "query";
__utmOsr[5]  = "ask";        __utmOkw[5]  = "q";
__utmOsr[6]  = "altavista";  __utmOkw[6]  = "q";
__utmOsr[7]  = "search";     __utmOkw[7]  = "q";
__utmOsr[8]  = "netscape";   __utmOkw[8]  = "query";
__utmOsr[9]  = "earthlink";  __utmOkw[9]  = "q";
__utmOsr[10] = "cnn";        __utmOkw[10] = "query";
__utmOsr[11] = "looksmart";  __utmOkw[11] = "key";
__utmOsr[12] = "about";      __utmOkw[12] = "terms";
__utmOsr[13] = "excite";     __utmOkw[13] = "qkw";
__utmOsr[14] = "mamma";      __utmOkw[14] = "query";
__utmOsr[15] = "alltheweb";  __utmOkw[15] = "q";
__utmOsr[16] = "gigablast";  __utmOkw[16] = "q";
__utmOsr[17] = "voila";      __utmOkw[17] = "kw";
__utmOsr[18] = "virgilio";   __utmOkw[18] = "qs";
__utmOsr[19] = "teoma";      __utmOkw[19] = "q";

var __utmOno = new Array();

var __utmRno = new Array();
var __utmf,__utmdh,__utmd,__utmdom="",__utmu,__utmjv="-",__utmfns, __utmns=0,__utmr="-";
var __utmcfno=0;

if (!__utmf) {
   var __utma,__utmb,__utmc;
   var __utmexp="",__utms="",__utmst=0,__utmlf=0;

   __utmdh = __utmSetDomain();
   __utma  = document.cookie.indexOf("__utma="+__utmdh);
   __utmb  = document.cookie.indexOf("__utmb="+__utmdh);
   __utmc  = document.cookie.indexOf("__utmc="+__utmdh);
   __utmu  = Math.round(Math.random() * 2147483647);
   __utmd  = new Date();
   __utmst = Math.round(__utmd.getTime()/1000);

   if (__utmdn && __utmdn != "") { __utmdom = " domain="+__utmdn+";"; }
   if (__utmtimeout && __utmtimeout != "") {
      __utmexp = new Date(__utmd.getTime()+(__utmtimeout*1000));
      __utmexp = " expires="+__utmexp.toGMTString()+";";
   }

   __utms = document.location.search;
   if (__utms && __utms != "" && __utms.indexOf("__utma=") >= 0) {
      __utma = __utmGetCookie(__utms,"__utma=","&");
      __utmb = __utmGetCookie(__utms,"__utmb=","&");
      __utmc = __utmGetCookie(__utms,"__utmc=","&");
      if (__utma != "-" && __utmb != "-" && __utmc != "-") __utmlf = 1;
      else if (__utma != "-")                              __utmlf = 2;
   }

   if (__utmlf == 1) { 
      document.cookie="__utma="+__utma+"; path=/; expires=Sun, 18 Jan 2038 00:00:00 GMT;";
      document.cookie="__utmb="+__utmb+"; path=/;"+__utmexp;
      document.cookie="__utmc="+__utmc+"; path=/;";
   } else if (__utmlf == 2) { 
      __utma = __utmFixA(__utms,"&",__utmst); 
      document.cookie="__utma="+__utma+"; path=/; expires=Sun, 18 Jan 2038 00:00:00 GMT;";
      document.cookie="__utmb="+__utmdh+"; path=/;"+__utmexp;
      document.cookie="__utmc="+__utmdh+"; path=/;"
      __utmfns=1;
   } else if (__utma >= 0 && __utmb >= 0 && __utmc >= 0) { 
      document.cookie="__utmb="+__utmdh+"; path=/;"+__utmexp+__utmdom;
   } else if (__utma >=0) { 
      __utma = __utmFixA(document.cookie,";",__utmst); 
      document.cookie="__utma="+__utma+"; path=/; expires=Sun, 18 Jan 2038 00:00:00 GMT;"+__utmdom;
      document.cookie="__utmb="+__utmdh+"; path=/;"+__utmexp+__utmdom;
      document.cookie="__utmc="+__utmdh+"; path=/;"+__utmdom;
      __utmfns=1;
   } else if (__utma < 0 && __utmb < 0 && __utmc < 0) { 
      __utma = __utmCheckUTMI(__utmd); 
      if (__utma == "-")  __utma = __utmdh+"."+__utmu+"."+__utmst+"."+__utmst+"."+__utmst+".1"; 
      else                __utma = __utmdh+"."+__utma;
      document.cookie="__utma="+__utma+"; path=/; expires=Sun, 18 Jan 2038 00:00:00 GMT;"+__utmdom;
      document.cookie="__utmb="+__utmdh+"; path=/;"+__utmexp+__utmdom;
      document.cookie="__utmc="+__utmdh+"; path=/;"+__utmdom;
      __utmfns=1;
   } else {
      __utma = __utmdh+"."+__utmu+"."+__utmst+"."+__utmst+"."+__utmst+".1";
      document.cookie="__utma="+__utma+"; path=/; expires=Sun, 18 Jan 2038 00:00:00 GMT;"+__utmdom;
      document.cookie="__utmb="+__utmdh+"; path=/;"+__utmexp+__utmdom;
      document.cookie="__utmc="+__utmdh+"; path=/;"+__utmdom;
      __utmfns=1;
   }
   __utmSetInfo();
   __utmf = 1;
}

function __utmSetInfo() {
   var __utmp;
   var __utmi = new Image(1,1);
   var __utmsrc = __utmgifpath+"?";
   var loc = document.location;
   __utmr = document.referrer;
   if (!__utmr || __utmr == "") { __utmr = "-"; } 
   else { 
      __utmp = __utmr.indexOf(document.domain); 
      if ((__utmp >= 0) && (__utmp <= 8)) { __utmr = "0"; }
      if (__utmr.indexOf("[") == 0 && __utmr.lastIndexOf("]") == (__utmr.length-1)) { __utmr = "-"; }
   }
   __utmsrc += "utmn="+__utmu;
   if (__utmfsc && __utmfns) {__utmsrc += __utmGetClientInfo(); }
   if (__utmctm)             {__utmsrc += __utmSetCampaignInfo(); }
   __utmsrc += "&utmr="+__utmr+"&utmp="+loc.pathname+loc.search;
   __utmi.src = __utmsrc;
   __utmi.onload  = function() { __utmVoid(); }
   return 0;
}
function __utmVoid() { return; }

function __utmSetCampaignInfo() {
    var __utmcc = "";
    var __utmtmp = "-";
    var __utmtmp2 = "-";
    var __utmnoover = 0;
    var __utmcsc = 0;
    var __utmcnc = 0;
    var __utmi   = 0;
    if (!__utmcto || __utmcto == "") { __utmcto = "15768000"; }
    var __utmcx = new Date(__utmd.getTime()+(__utmcto*1000));
    __utmcx = " expires="+__utmcx.toGMTString()+";";

    var __utmx = document.location.search;
    var __utmz = __utmGetCookie(__utmx,"__utmz=","&");
    if (__utmz != "-") {
      document.cookie="__utmz="+__utmz+"; path=/;"+__utmcx+__utmdom;
      return "";
    }

    __utmz = document.cookie.indexOf("__utmz="+__utmdh);
    if (__utmz > -1) {
       __utmz = __utmGetCookie(document.cookie,"__utmz=",";");
    } else { __utmz = "-"; }

    /*--- check for campaign id or campaign source ---*/
    __utmtmp  = __utmGetCookie(__utmx,__utmcid+"=","&");
    __utmtmp2 = __utmGetCookie(__utmx,__utmcsr+"=","&");

    if ((__utmtmp != "-" && __utmtmp != "") || (__utmtmp2 != "-" && __utmtmp2 != "")) { 
       if (__utmtmp != "-" && __utmtmp != "") {
          __utmcc += "utmcid="+__utmtmp;
          if (__utmtmp2 != "-" && __utmtmp2 != "") __utmcc += "|utmcsr="+__utmtmp2;
       } else {
          if (__utmtmp2 != "-" && __utmtmp2 != "") __utmcc += "utmcsr="+__utmtmp2;
       }
       __utmtmp = __utmGetCookie(__utmx,__utmccn+"=","&"); 
       if (__utmtmp != "-" && __utmtmp != "") __utmcc += "|utmccn="+__utmtmp; 
       else                                   __utmcc += "|utmccn=(not set)";
       __utmtmp = __utmGetCookie(__utmx,__utmcmd+"=","&"); 
       if (__utmtmp != "-" && __utmtmp != "") __utmcc += "|utmcmd="+__utmtmp;
       else                                   __utmcc += "|utmcmd=(not set)";
       __utmtmp = __utmGetCookie(__utmx,__utmctr+"=","&"); 
       if (__utmtmp != "-" && __utmtmp != "") { 
          __utmcc += "|utmctr="+__utmtmp;
       } else { 
          __utmtmp = __utmGetOrganic(1);
          if (__utmtmp != "-" && __utmtmp != "")  __utmcc += "|utmctr="+__utmtmp; 
       }
       __utmtmp = __utmGetCookie(__utmx,__utmcct+"=","&"); 
       if (__utmtmp != "-" && __utmtmp != "") __utmcc += "|utmcct="+__utmtmp;
       __utmtmp = __utmGetCookie(__utmx,__utmcno+"=","&"); 
       if (__utmtmp == "1") __utmnoover = 1;

       /*--- if previous campaign is set and no override is set return ---*/
       if (__utmz != "-" && __utmnoover == 1) return "";
    }

    /*--- check for organic ---*/
    if (__utmcc == "-" || __utmcc == "") {
       __utmcc = __utmGetOrganic(); 

       /*--- if previous campaign is set and organic no override term is found return ---*/
       if (__utmz != "-" && __utmcfno == 1)  return "";
    }

    /*--- check for referral ---*/
    if (__utmcc == "-" || __utmcc == "") {
       if (__utmfns == 1)  __utmcc = __utmGetReferral(); 

       /*--- if previous campaign is set and referral no override term is found return ---*/
       if (__utmz != "-" && __utmcfno == 1)  return "";
    }

    /*--- set default if z is not yet set ---*/
    if (__utmcc == "-" || __utmcc == "") {
       if (__utmz == "-" && __utmfns == 1) {
          __utmcc = "utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)";
       }
       if (__utmcc == "-" || __utmcc == "") return "";
    }

    /*--- check if campaign is already set and if it's the same ---*/
    if (__utmz != "-") { 
       __utmi =  __utmz.indexOf(".");
       if (__utmi > -1) __utmi =  __utmz.indexOf(".",__utmi+1);
       if (__utmi > -1) __utmi =  __utmz.indexOf(".",__utmi+1);
       if (__utmi > -1) __utmi =  __utmz.indexOf(".",__utmi+1);

       __utmtmp = __utmz.substring(__utmi + 1,__utmz.length);
       if (__utmtmp.toLowerCase() == __utmcc.toLowerCase()) __utmcsc = 1; 

       __utmtmp = __utmz.substring(0,__utmi);
       if ((__utmi =  __utmtmp.lastIndexOf(".")) > -1) {
          __utmtmp = __utmtmp.substring(__utmi+1,__utmtmp.length);
          __utmcnc = (__utmtmp*1);
       }
    }

    /*--- set the cookie ---*/
    if (__utmcsc == 0 || __utmfns == 1) {
       __utmtmp = __utmGetCookie(document.cookie,"__utma=",";");
       if ((__utmi=__utmtmp.lastIndexOf(".")) > 9) {
          __utmns = __utmtmp.substring(__utmi+1,__utmtmp.length);
          __utmns = (__utmns*1);
       }
       __utmcnc++;
       if (__utmns == 0) __utmns = 1;
       document.cookie="__utmz="+__utmdh+"."+__utmst+"."+__utmns+"."+__utmcnc+"."+__utmcc+"; path=/; "+__utmcx+__utmdom;
    }

    /*--- set the new campaign flag  ---*/
    if (__utmcsc == 0 || __utmfns == 1) return "&utmcn=1";
    else                                return "&utmcr=1";
}

function __utmGetReferral() {
   if (__utmr == "0" || __utmr == "" || __utmr == "-") return ""; 

   var __utmi=0;
   var __utmhn;
   var __utmkt;

   /*-- get the hostname of the referral --*/
   if ( (__utmi = __utmr.indexOf("://")) < 0) return "";
   __utmhn = __utmr.substring(__utmi+3,__utmr.length);
   if (__utmhn.indexOf("/") > -1) {
      __utmkt = __utmhn.substring(__utmhn.indexOf("/"),__utmhn.length);
      if (__utmkt.indexOf("?") > -1) {
         __utmkt = __utmkt.substring(0,__utmkt.indexOf("?"));
      }
      __utmhn = __utmhn.substring(0,__utmhn.indexOf("/"));
   }
   __utmhn = __utmhn.toLowerCase();
   for (var ii=0;ii<__utmRno.length;ii++) {
      if (( __utmi=__utmhn.indexOf(__utmRno[ii].toLowerCase())) > -1 && __utmhn.length == (__utmi+__utmRno[ii].length)) { __utmcfno = 1; break; }
   }

   if (__utmhn.indexOf("www.") == 0) {
      __utmhn = __utmhn.substring(4,__utmhn.length);
   }

   return "utmccn=(referral)|utmcsr="+__utmhn+"|"+"utmcct="+__utmkt+"|utmcmd=referral";

}

function __utmGetOrganic(termonly) {
   if (__utmr == "0" || __utmr == "" || __utmr == "-") return ""; 
   var __utmi=0;
   var __utmhn;
   var __utmkt;

   /*-- get the hostname of the referral --*/
   if ( (__utmi = __utmr.indexOf("://")) < 0) return "";
   __utmhn = __utmr.substring(__utmi+3,__utmr.length);
   if (__utmhn.indexOf("/") > -1) {
      __utmhn = __utmhn.substring(0,__utmhn.indexOf("/"));
   }

   for (var ii=0;ii<__utmOsr.length;ii++) {
      if (__utmhn.indexOf(__utmOsr[ii]) > -1) {
         if ( (__utmi = __utmr.indexOf("?"+__utmOkw[ii]+"=")) > -1 || 
              (__utmi = __utmr.indexOf("&"+__utmOkw[ii]+"=")) > -1) {
            __utmkt = __utmr.substring(__utmi+__utmOkw[ii].length+2,__utmr.length);
            if ( (__utmi = __utmkt.indexOf("&")) > -1) {
               __utmkt = __utmkt.substring(0,__utmi);
            }

            for (var yy=0;yy<__utmOno.length;yy++) {
               if (__utmOno[yy].toLowerCase() == __utmkt.toLowerCase()) { __utmcfno = 1; break; }
            }

            if (termonly) {
               return __utmkt;
            } else {
               return "utmccn=(organic)|utmcsr="+__utmOsr[ii]+"|"+"utmctr="+__utmkt+"|utmcmd=organic";
            }
         }
      }
   }

   return "";
}

function __utmGetClientInfo() {
   var __utmtmp="-",__utmsr="-",__utmsa="-",__utmsc="-",__utmbs="-",__utmul="-";
   var __utmje=1,__utmce=1,__utmtz=0;
   if (self.screen) { 
      __utmsr = screen.width+"x"+screen.height;
      __utmsa = screen.availWidth+"x"+screen.availHeight;
      __utmsc = screen.colorDepth+"-bit";
   } else if (self.java) {
      var __utmjk = java.awt.Toolkit.getDefaultToolkit();
      var __utmjksize = __utmjk.getScreenSize();       
      __utmsr = __utmjksize.width+"x"+__utmjksize.height;
   } 
   if( typeof( window.innerWidth ) == 'number' ) {
      __utmbs = window.innerWidth+"x"+window.innerHeight;
   } else { 
     if (document.documentElement && 
       (document.documentElement.offsetHeight || document.documentElement.offsetWidth ) ) {
        __utmbs = document.documentElement.offsetWidth+"x"+document.documentElement.offsetHeight;
     } else if (document.body && (document.body.offsetWidth || document.body.offsetHeight) ) {
        __utmbs = document.body.offsetWidth+"x"+document.body.offsetHeight;
     } 
   }
   for (var i=5;i>=0;i--) {
      var __utmtmp = "<script language='JavaScript1."+i+"'>__utmjv='1."+i+"';</script>"; 
      document.write(__utmtmp);
      if (__utmjv != "-") break;
   }
   if (navigator.language) { __utmul = navigator.language.toLowerCase(); }
   else if (navigator.browserLanguage) { __utmul = navigator.browserLanguage.toLowerCase(); }
   __utmje = navigator.javaEnabled()?1:0;
   if (document.cookie.indexOf("__utmb=") < 0) { __utmce = "0"; }
   if (document.cookie.indexOf("__utmc=") < 0) { __utmce = "0"; }
   __utmtz = __utmd.getTimezoneOffset();
   __utmtz = __utmTZConvert(__utmtz);
   __utmtmp ="";
   __utmtmp += "&utmsr="+__utmsr+"&utmsa="+__utmsa+"&utmsc="+__utmsc+"&utmbs="+__utmbs;
   __utmtmp += "&utmul="+__utmul+"&utmje="+__utmje+"&utmce="+__utmce+"&utmtz="+__utmtz+"&utmjv="+__utmjv;
   return __utmtmp;
}
function __utmLinker(__utmlink) {
   var __utmlp,__utmi,__utmi2,__utmta="-",__utmtb="-",__utmtc="-",__utmtz="-";

   if (__utmlink && __utmlink != "") { 
      if (document.cookie) {
         __utmta = __utmGetCookie(document.cookie,"__utma="+__utmdh,";");
         __utmtb = __utmGetCookie(document.cookie,"__utmb="+__utmdh,";");
         __utmtc = __utmGetCookie(document.cookie,"__utmc="+__utmdh,";");
         __utmtz = __utmGetCookie(document.cookie,"__utmz="+__utmdh,";");
         __utmlp = "__utma="+__utmta+"&__utmb="+__utmtb+"&__utmc="+__utmtc+"&__utmz="+__utmtz;
      }
      if (__utmlp) {
         if (__utmlink.indexOf("?") <= -1) { document.location = __utmlink+"?"+__utmlp; }
         else { document.location = __utmlink+"&"+__utmlp; }
      } else { document.location = __utmlink; }
   }
}
function __utmGetCookie(__utmclist,__utmcname,__utmcsep) {
   if (!__utmclist || __utmclist == "") return "-";
   if (!__utmcname || __utmcname == "") return "-";
   if (!__utmcsep  || __utmcsep  == "") return "-";
   var __utmi, __utmi2, __utmi3, __utmtc="-";

   __utmi = __utmclist.indexOf(__utmcname);
   __utmi3 = __utmcname.indexOf("=")+1;
   if (__utmi > -1) { 
      __utmi2 = __utmclist.indexOf(__utmcsep,__utmi); if (__utmi2 < 0) { __utmi2 = __utmclist.length; }
      __utmtc = __utmclist.substring((__utmi+__utmi3),__utmi2); 
   }
   return __utmtc;
}
function __utmSetDomain() {
   if (!__utmdn || __utmdn == "" || __utmdn == "none") { __utmdn = ""; return 1; }
   if (__utmdn == "auto") {
      var __utmdomain = document.domain;
      if (__utmdomain.substring(0,4) == "www.") {
         __utmdomain = __utmdomain.substring(4,__utmdomain.length);
      }
      __utmdn = __utmdomain;
   }
   if (__utmhash == "off") return 1;
   return __utmHash(__utmdn);
}
function __utmHash(__utmd) {
   if (!__utmd || __utmd == "") return 1;
   var __utmhash=0, __utmg=0;
   for (var i=__utmd.length-1;i>=0;i--) {
      var __utmc = parseInt(__utmd.charCodeAt(i)); 
      __utmhash = ((__utmhash << 6) & 0xfffffff) + __utmc + (__utmc << 14);
      if ((__utmg = __utmhash & 0xfe00000) != 0) __utmhash = (__utmhash ^ (__utmg >> 21));
   }
   return __utmhash;
}
function __utmFixA(__utmcs,__utmsp, __utmst) {
   if (!__utmcs || __utmcs == "") return "-";
   if (!__utmsp || __utmsp == "") return "-";
   if (!__utmst || __utmst == "") return "-";
   var __utmt = __utmGetCookie(__utmcs,"__utma=",__utmsp);
   var __utmlt=0;
   var __utmi=0;

   if ((__utmi=__utmt.lastIndexOf(".")) > 9) {
      __utmns = __utmt.substring(__utmi+1,__utmt.length);
      __utmns = (__utmns*1)+1;
      __utmt = __utmt.substring(0,(__utmi));

      if ((__utmi = __utmt.lastIndexOf(".")) > 7) {
         __utmlt = __utmt.substring(__utmi+1,__utmt.length);
         __utmt = __utmt.substring(0,(__utmi));
      }

      if ((__utmi = __utmt.lastIndexOf(".")) > 5) {
         __utmt = __utmt.substring(0,(__utmi));
      }
      __utmt += "."+__utmlt+"."+__utmst+"."+__utmns;
   }
   return __utmt;
}

function __utmCheckUTMI(__utmd) {
   var __utm1A = new Array();
   var __utmlst=0,__utmpst=0,__utmlvt=0,__utmlu=0,__utmi=0,__utmpi=0;
   var __utmap = "-";
   var __utmld = "";
   var __utmt2;
   var __utmt = document.cookie;

   while((__utmi = __utmt.indexOf("__utm1=")) >= 0) {
      __utm1A[__utm1A.length] = __utmGetCookie(__utmt,"__utm1=",";");
      __utmt = __utmt.substring(__utmi+7,__utmt.length);
   }
   if (__utm1A.length) {
      var __utmcts = Math.round(__utmd.getTime()/1000);
      var __utmlex = " expires="+__utmd.toGMTString()+";";
      __utmt = document.cookie; 
      if ((__utmi = __utmt.lastIndexOf("__utm3=")) >= 0) {
         __utmlst = __utmt.substring(__utmi,__utmt.length);
         __utmlst = __utmGetCookie(__utmlst,"__utm3=",";");
      }
      if ((__utmi = __utmt.lastIndexOf("__utm2=")) >= 0) {
         __utmpst = __utmt.substring(__utmi,__utmt.length);
         __utmpst = __utmGetCookie(__utmpst,"__utm2=",";");
      }
      for (var i=0;i<__utm1A.length;i++) {
         __utmt = __utm1A[i];
         if ((__utmi = __utmt.lastIndexOf(".")) >= 0) {
            __utmt2 = (__utmt.substring(0,__utmi))*1;
            __utmt  = (__utmt.substring(__utmi+1,__utmt.length))*1;
            if (__utmlvt == 0 || __utmt < __utmlvt) { 
               __utmlvt = __utmt;
               __utmlu  = __utmt2;
            }
         }
      }
      if (__utmlvt && __utmlst) { 
         if (!__utmpst ||  __utmpst > __utmlst) __utmpst = __utmlst;
         __utmap = __utmlu+"."+__utmlvt+"."+__utmpst+"."+__utmlst+".2"; 
      } else if (__utmlvt) { 
         if (!__utmpst || __utmpst > __utmcts) __utmpst = __utmcts;
         __utmap = __utmlu+"."+__utmlvt+"."+__utmpst+"."+__utmcts+".2";
      }
      __utmld = __utmt = document.domain;
      __utmi=__utmpi=0;
      while((__utmi = __utmt.indexOf(".",__utmpi+1)) >= 0) {
         if (__utmpi>0) __utmld = __utmt.substring(__utmpi+1,__utmt.length);
         __utmld = " domain="+__utmld+";"; 
         document.cookie="__utm1=1; path=/;"+__utmlex+__utmld;
         document.cookie="__utm2=1; path=/;"+__utmlex+__utmld;
         document.cookie="__utm3=1; path=/;"+__utmlex+__utmld;
         __utmpi=__utmi;
      }
      document.cookie="__utm1=1; path=/;"+__utmlex;
      document.cookie="__utm2=1; path=/;"+__utmlex;
      document.cookie="__utm3=1; path=/;"+__utmlex;
   }
   return __utmap;
}

function __utmTZConvert(__utmmz) {
   var __utmhr=0,__utmmn=0,__utmsg='+';
   if (__utmmz && __utmmz != "") {
      if (__utmmz <= 0) {__utmsg='+'; __utmmz*=-1; }
      else {__utmsg='-'; __utmmz*=1; }
      __utmhr = Math.floor((__utmmz/60)); 
      __utmmn = Math.floor((__utmmz%60)); 
   }
   if (__utmhr < 10) __utmhr = "0"+__utmhr;
   if (__utmmn < 10) __utmmn = "0"+__utmmn;
   return __utmsg+__utmhr+__utmmn;
}


/*ONLOAD*/
SI_footer.clear			= true;
SI_footer.container		= 'content';
SI_footer.minHeight		= 410;
SI_footer.extendShallow = true;
SI_footer.bottomOut		= true;
SI_fontSize.baseElement = 'content';
SI_fontSize.defaultSize	= 1.0;	// ems
SI_fontSize.difference	= .2;	// ems
SI_loadFontSize();
var required = 7;
var hasFlash = false;
if(navigator.appVersion.indexOf("MSIE")!=-1&&navigator.appVersion.indexOf("Windows")!=-1){
	document.write('<scr'+'ipt language=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('hasFlash = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & required))) \n');  
	document.write('<'+'/scr'+'ipt\> \n');
	}
else {
	var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"])?navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin:0;
	if (plugin) {
		var isVersion2 = navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";
		var flashDescription = navigator.plugins["Shockwave Flash" + isVersion2].description;
		var flashVersion = parseInt(flashDescription.charAt(flashDescription.indexOf(".") - 1));
		hasFlash = flashVersion >= required;
		}
	}
if (hasFlash && document.getElementsByTagName && document.getElementsByTagName('html')[0]) { document.getElementsByTagName('html')[0].className += (document.getElementsByTagName('html')[0].className=='')?'hasFlash':' hasFlash';}


window.onload = function() {
	SI_menu('nav-main','nav-const'); // ,'nav-sub'
	SI_clearFooter();
	SI_initializeTabs();
	SI_initializeGroups();
	SI_initializeToggles();
	SI_initializeSwapImg();
	SI_initializeFilters();
	//SI_deHTTPSLinks();
	if (SI_footer.clear) window.onresize = SI_clearFooter;
	};

/*	Unobtrusive Flash Objects (UFO) v3.20 <http://www.bobbyvandersluis.com/ufo/>
	Copyright 2005, 2006 Bobby van der Sluis
	This software is licensed under the CC-GNU LGPL <http://creativecommons.org/licenses/LGPL/2.1/>
*/

var UFO = {
	req: ["movie", "width", "height", "majorversion", "build"],
	opt: ["play", "loop", "menu", "quality", "scale", "salign", "wmode", "bgcolor", "base", "flashvars", "devicefont", "allowscriptaccess", "seamlesstabbing"],
	optAtt: ["id", "name", "align"],
	optExc: ["swliveconnect"],
	ximovie: "ufo.swf",
	xiwidth: "215",
	xiheight: "138",
	ua: navigator.userAgent.toLowerCase(),
	pluginType: "",
	fv: [0,0],
	foList: [],
		
	create: function(FO, id) {
		if (!UFO.uaHas("w3cdom") || UFO.uaHas("ieMac")) return;
		UFO.getFlashVersion();
		UFO.foList[id] = UFO.updateFO(FO);
		UFO.createCSS("#" + id, "visibility:hidden;");
		UFO.domLoad(id);
	},

	updateFO: function(FO) {
		if (typeof FO.xi != "undefined" && FO.xi == "true") {
			if (typeof FO.ximovie == "undefined") FO.ximovie = UFO.ximovie;
			if (typeof FO.xiwidth == "undefined") FO.xiwidth = UFO.xiwidth;
			if (typeof FO.xiheight == "undefined") FO.xiheight = UFO.xiheight;
		}
		FO.mainCalled = false;
		return FO;
	},

	domLoad: function(id) {
		var _t = setInterval(function() {
			if ((document.getElementsByTagName("body")[0] != null || document.body != null) && document.getElementById(id) != null) {
				UFO.main(id);
				clearInterval(_t);
			}
		}, 250);
		if (typeof document.addEventListener != "undefined") {
			document.addEventListener("DOMContentLoaded", function() { UFO.main(id); clearInterval(_t); } , null); // Gecko, Opera 9+
		}
	},

	main: function(id) {
		var _fo = UFO.foList[id];
		if (_fo.mainCalled) return;
		UFO.foList[id].mainCalled = true;
		document.getElementById(id).style.visibility = "hidden";
		if (UFO.hasRequired(id)) {
			if (UFO.hasFlashVersion(parseInt(_fo.majorversion, 10), parseInt(_fo.build, 10))) {
				if (typeof _fo.setcontainercss != "undefined" && _fo.setcontainercss == "true") UFO.setContainerCSS(id);
				UFO.writeSWF(id);
			}
			else if (_fo.xi == "true" && UFO.hasFlashVersion(6, 65)) {
				UFO.createDialog(id);
			}
		}
		document.getElementById(id).style.visibility = "visible";
	},
	
	createCSS: function(selector, declaration) {
		var _h = document.getElementsByTagName("head")[0]; 
		var _s = UFO.createElement("style");
		if (!UFO.uaHas("ieWin")) _s.appendChild(document.createTextNode(selector + " {" + declaration + "}")); // bugs in IE/Win
		_s.setAttribute("type", "text/css");
		_s.setAttribute("media", "screen"); 
		_h.appendChild(_s);
		if (UFO.uaHas("ieWin") && document.styleSheets && document.styleSheets.length > 0) {
			var _ls = document.styleSheets[document.styleSheets.length - 1];
			if (typeof _ls.addRule == "object") _ls.addRule(selector, declaration);
		}
	},
	
	setContainerCSS: function(id) {
		var _fo = UFO.foList[id];
		var _w = /%/.test(_fo.width) ? "" : "px";
		var _h = /%/.test(_fo.height) ? "" : "px";
		UFO.createCSS("#" + id, "width:" + _fo.width + _w +"; height:" + _fo.height + _h +";");
		if (_fo.width == "100%") {
			UFO.createCSS("body", "margin-left:0; margin-right:0; padding-left:0; padding-right:0;");
		}
		if (_fo.height == "100%") {
			UFO.createCSS("html", "height:100%; overflow:hidden;");
			UFO.createCSS("body", "margin-top:0; margin-bottom:0; padding-top:0; padding-bottom:0; height:100%;");
		}
	},

	createElement: function(el) {
		return (UFO.uaHas("xml") && typeof document.createElementNS != "undefined") ?  document.createElementNS("http://www.w3.org/1999/xhtml", el) : document.createElement(el);
	},

	createObjParam: function(el, aName, aValue) {
		var _p = UFO.createElement("param");
		_p.setAttribute("name", aName);	
		_p.setAttribute("value", aValue);
		el.appendChild(_p);
	},

	uaHas: function(ft) {
		var _u = UFO.ua;
		switch(ft) {
			case "w3cdom":
				return (typeof document.getElementById != "undefined" && typeof document.getElementsByTagName != "undefined" && (typeof document.createElement != "undefined" || typeof document.createElementNS != "undefined"));
			case "xml":
				var _m = document.getElementsByTagName("meta");
				var _l = _m.length;
				for (var i = 0; i < _l; i++) {
					if (/content-type/i.test(_m[i].getAttribute("http-equiv")) && /xml/i.test(_m[i].getAttribute("content"))) return true;
				}
				return false;
			case "ieMac":
				return /msie/.test(_u) && !/opera/.test(_u) && /mac/.test(_u);
			case "ieWin":
				return /msie/.test(_u) && !/opera/.test(_u) && /win/.test(_u);
			case "gecko":
				return /gecko/.test(_u) && !/applewebkit/.test(_u);
			case "opera":
				return /opera/.test(_u);
			case "safari":
				return /applewebkit/.test(_u);
			default:
				return false;
		}
	},
	
	getFlashVersion: function() {
		if (UFO.fv[0] != 0) return;  
		if (navigator.plugins && typeof navigator.plugins["Shockwave Flash"] == "object") {
			UFO.pluginType = "npapi";
			var _d = navigator.plugins["Shockwave Flash"].description;
			if (typeof _d != "undefined") {
				_d = _d.replace(/^.*\s+(\S+\s+\S+$)/, "$1");
				var _m = parseInt(_d.replace(/^(.*)\..*$/, "$1"), 10);
				var _r = /r/.test(_d) ? parseInt(_d.replace(/^.*r(.*)$/, "$1"), 10) : 0;
				UFO.fv = [_m, _r];
			}
		}
		else if (window.ActiveXObject) {
			UFO.pluginType = "ax";
			try { // avoid fp 6 crashes
				var _a = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
			}
			catch(e) {
				try { 
					var _a = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
					UFO.fv = [6, 0];
					_a.AllowScriptAccess = "always"; // throws if fp < 6.47 
				}
				catch(e) {
					if (UFO.fv[0] == 6) return;
				}
				try {
					var _a = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
				}
				catch(e) {}
			}
			if (typeof _a == "object") {
				var _d = _a.GetVariable("$version"); // bugs in fp 6.21/6.23
				if (typeof _d != "undefined") {
					_d = _d.replace(/^\S+\s+(.*)$/, "$1").split(",");
					UFO.fv = [parseInt(_d[0], 10), parseInt(_d[2], 10)];
				}
			}
		}
	},

	hasRequired: function(id) {
		var _l = UFO.req.length;
		for (var i = 0; i < _l; i++) {
			if (typeof UFO.foList[id][UFO.req[i]] == "undefined") return false;
		}
		return true;
	},
	
	hasFlashVersion: function(major, release) {
		return (UFO.fv[0] > major || (UFO.fv[0] == major && UFO.fv[1] >= release)) ? true : false;
	},

	writeSWF: function(id) {
		var _fo = UFO.foList[id];
		var _e = document.getElementById(id);
		if (UFO.pluginType == "npapi") {
			if (UFO.uaHas("gecko") || UFO.uaHas("xml")) {
				while(_e.hasChildNodes()) {
					_e.removeChild(_e.firstChild);
				}
				var _obj = UFO.createElement("object");
				_obj.setAttribute("type", "application/x-shockwave-flash");
				_obj.setAttribute("data", _fo.movie);
				_obj.setAttribute("width", _fo.width);
				_obj.setAttribute("height", _fo.height);
				var _l = UFO.optAtt.length;
				for (var i = 0; i < _l; i++) {
					if (typeof _fo[UFO.optAtt[i]] != "undefined") _obj.setAttribute(UFO.optAtt[i], _fo[UFO.optAtt[i]]);
				}
				var _o = UFO.opt.concat(UFO.optExc);
				var _l = _o.length;
				for (var i = 0; i < _l; i++) {
					if (typeof _fo[_o[i]] != "undefined") UFO.createObjParam(_obj, _o[i], _fo[_o[i]]);
				}
				_e.appendChild(_obj);
			}
			else {
				var _emb = "";
				var _o = UFO.opt.concat(UFO.optAtt).concat(UFO.optExc);
				var _l = _o.length;
				for (var i = 0; i < _l; i++) {
					if (typeof _fo[_o[i]] != "undefined") _emb += ' ' + _o[i] + '="' + _fo[_o[i]] + '"';
				}
				_e.innerHTML = '<embed type="application/x-shockwave-flash" src="' + _fo.movie + '" width="' + _fo.width + '" height="' + _fo.height + '" pluginspage="http://www.macromedia.com/go/getflashplayer"' + _emb + '></embed>';
			}
		}
		else if (UFO.pluginType == "ax") {
			var _objAtt = "";
			var _l = UFO.optAtt.length;
			for (var i = 0; i < _l; i++) {
				if (typeof _fo[UFO.optAtt[i]] != "undefined") _objAtt += ' ' + UFO.optAtt[i] + '="' + _fo[UFO.optAtt[i]] + '"';
			}
			var _objPar = "";
			var _l = UFO.opt.length;
			for (var i = 0; i < _l; i++) {
				if (typeof _fo[UFO.opt[i]] != "undefined") _objPar += '<param name="' + UFO.opt[i] + '" value="' + _fo[UFO.opt[i]] + '" />';
			}
			var _p = window.location.protocol == "https:" ? "https:" : "http:";
			_e.innerHTML = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' + _objAtt + ' width="' + _fo.width + '" height="' + _fo.height + '" codebase="' + _p + '//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=' + _fo.majorversion + ',0,' + _fo.build + ',0"><param name="movie" value="' + _fo.movie + '" />' + _objPar + '</object>';
		}
	},
		
	createDialog: function(id) {
		var _fo = UFO.foList[id];
		UFO.createCSS("html", "height:100%; overflow:hidden;");
		UFO.createCSS("body", "height:100%; overflow:hidden;");
		UFO.createCSS("#xi-con", "position:absolute; left:0; top:0; z-index:1000; width:100%; height:100%; background-color:#fff; filter:alpha(opacity:75); opacity:0.75;");
		UFO.createCSS("#xi-dia", "position:absolute; left:50%; top:50%; margin-left: -" + Math.round(parseInt(_fo.xiwidth, 10) / 2) + "px; margin-top: -" + Math.round(parseInt(_fo.xiheight, 10) / 2) + "px; width:" + _fo.xiwidth + "px; height:" + _fo.xiheight + "px;");
		var _b = document.getElementsByTagName("body")[0];
		var _c = UFO.createElement("div");
		_c.setAttribute("id", "xi-con");
		var _d = UFO.createElement("div");
		_d.setAttribute("id", "xi-dia");
		_c.appendChild(_d);
		_b.appendChild(_c);
		var _mmu = window.location;
		if (UFO.uaHas("xml") && UFO.uaHas("safari")) {
			var _mmd = document.getElementsByTagName("title")[0].firstChild.nodeValue = document.getElementsByTagName("title")[0].firstChild.nodeValue.slice(0, 47) + " - Flash Player Installation";
		}
		else {
			var _mmd = document.title = document.title.slice(0, 47) + " - Flash Player Installation";
		}
		var _mmp = UFO.pluginType == "ax" ? "ActiveX" : "PlugIn";
		var _uc = typeof _fo.xiurlcancel != "undefined" ? "&xiUrlCancel=" + _fo.xiurlcancel : "";
		var _uf = typeof _fo.xiurlfailed != "undefined" ? "&xiUrlFailed=" + _fo.xiurlfailed : "";
		UFO.foList["xi-dia"] = { movie:_fo.ximovie, width:_fo.xiwidth, height:_fo.xiheight, majorversion:"6", build:"65", flashvars:"MMredirectURL=" + _mmu + "&MMplayerType=" + _mmp + "&MMdoctitle=" + _mmd + _uc + _uf };
		UFO.writeSWF("xi-dia");
	},

	expressInstallCallback: function() {
		var _b = document.getElementsByTagName("body")[0];
		var _c = document.getElementById("xi-con");
		_b.removeChild(_c);
		UFO.createCSS("body", "height:auto; overflow:auto;");
		UFO.createCSS("html", "height:auto; overflow:auto;");
	},

	cleanupIELeaks: function() {
		var _o = document.getElementsByTagName("object");
		var _l = _o.length
		for (var i = 0; i < _l; i++) {
			_o[i].style.display = "none";
			for (var x in _o[i]) {
				if (typeof _o[i][x] == "function") {
					_o[i][x] = null;
				}
			}
		}
	}

};

if (typeof window.attachEvent != "undefined" && UFO.uaHas("ieWin")) {
	window.attachEvent("onunload", UFO.cleanupIELeaks);
}


