function init(){

	for(var i=0; i<T(I("site-nav"),"li").length; i++){
		T(I("site-nav"),"li")[i].id = "site-nav-" + (i+1);
		T(I("site-nav"),"li")[i].firstChild.innerHTML = '<span>' + T(I("site-nav"),"li")[i].firstChild.innerHTML + '</span>';
	}

	for(var i=0; i<T("div").length; i++){
		if(T("div")[i].id){
			var extra1 = document.createElement("div");
			extra1.className = "extra-1 extra";
			var extra2 = document.createElement("div");
			extra2.className = "extra-2 extra";
			T("div")[i].appendChild(extra1);
			T("div")[i].appendChild(extra2);
		}
	}

	if(document.body.id == "home") I("main").insertBefore(I("order"),I("provide"));

}
// enhanced onload function modified from http://dean.edwards.name/weblog/2006/06/again/
if(window.ActiveXObject){                      // for Internet Explorer
	document.write('<script src=//: defer onreadystatechange="if(this.readyState == \'complete\') init()"><\/script>');
}
else if(window.addEventListener){              // for Mozilla and newer versions of WebKit and Opera
	document.addEventListener("DOMContentLoaded", init, false);
}
else window.onload = init;                     // for other browsers



function I(Id)      { return document.getElementById(Id) }
function T(obj,Tag) { return Tag?obj.getElementsByTagName(Tag):document.getElementsByTagName(obj) }



var lightBoxLeft = (document.documentElement.clientWidth - 17 - 1000) / 2;
if(/Safari/.test(navigator.userAgent)) lightBoxLeft += 1;
document.write('<style type="text/css">html { overflow-x: hidden }  #jquery-overlay, #jquery-lightbox { left: -' + lightBoxLeft + 'px }</style>');



if(/MSIE 6/.test(navigator.userAgent)){
	document.createElement("abbr");   // making IE 6 supports abbr element
	document.write('<style type="text/css">#more, #content .extra, #guidelines, #howtocontact, .testimonial, .contactform, #whatyouget, .project, #callus, #nda, #info, #howweuse, #security, #myinformation, .service, #other, #employmentform, #jobform, #orderform { behavior: url(js/iepngfix.htc) }</style>');
	try{ document.execCommand("BackgroundImageCache", false, true); } catch(e) {}   // fixing the IE 6 background flicker
}
if(/Firefox\/2/.test(navigator.userAgent)) document.write('<style type="text/css">#supp-nav ul li a { display: -moz-inline-box }</style>');