function sizeWin(theHref,theTarget,theWidth,theHeight)	{// Call  this from an anchor with an href and a target like this:// onclick="sizeWin(this.href, this.target, 384, 412);"// You mus provide your width and height as param 2 & 3	if (window.open)	{		attrString = 'toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=auto,resizable=yes,width=' + theWidth + ',height=' + theHeight;		slave=window.open(theHref,theTarget,attrString); 		return false;	}	else	{ 	return true;	}}function cookieMaker(aCoolName, aCoolValue, expDate)	{	var tempDate = new Date();		if (expDate)	{		tempDate.setTime(tempDate.getTime() + expDate);		document.cookie = aCoolName + "=" + escape(aCoolValue) +"; expires=" + tempDate.toGMTString();	}	else	{		document.cookie = aCoolName + "=" + escape(aCoolValue);	}}function cookieFinder(whichCookie)	{	var myCookies = document.cookie;//	window.alert(parseInt(myCookies));	var myCookiesSeperated = myCookies.split(';');//	window.alert(parseInt(myCookiesSeperated));	var howManyCookies = myCookiesSeperated.length;//	window.alert(parseInt(howManyCookies));	var eachPair	var infoToSendBack = "";		for ( x = 0; ((x < howManyCookies) && (infoToSendBack == "")); x++)	{				eachPair = myCookiesSeperated[x].split('=');		//		window.alert(parseInt(eachPair));				if (eachPair[0].substring(0,1) == ' ')	{			eachPair[0] = eachPair[0].substring(1, eachPair[0].length);		}		if (eachPair[0] == whichCookie)	{			infoToSendBack = eachPair[1];		}	}	return infoToSendBack;}function setPath(thisPage)	{	currentPath = cookieFinder("clickPath");	cookieMaker("clickPath", currentPath + thisPage +".");}// These set up vars for State Determination	if (document.URL.indexOf("/about/") > -1)	{		var DOCUMENTGROUP='about';	}	else if (document.URL.indexOf("/services/") > -1)	{		var DOCUMENTGROUP='services';	}	else if (document.URL.indexOf("/products/") > -1)	{	//	var DOCUMENTGROUP='products';	}	else if (document.URL.indexOf("/portfolio/") > -1)	{		var DOCUMENTGROUP='portfolio';	}	else if (document.URL.indexOf("/case_studies/") > -1)	{		var DOCUMENTGROUP='case_studies';	}	else if (document.URL.indexOf("/freestuff/") > -1)	{	//	var DOCUMENTGROUP='freestuff';	}	else if (document.URL.indexOf("/contact/") > -1)	{		var DOCUMENTGROUP='contact';	}	else if (document.URL.indexOf("/test/") > -1)	{		var DOCUMENTGROUP='freestuff';	}	else	{		var DOCUMENTGROUP='';	} function changeStyle() {	if (DOCUMENTGROUP != null && DOCUMENTGROUP != '')	{     document.getElementById(DOCUMENTGROUP).style.setProperty("background","white", "");     document.getElementById(DOCUMENTGROUP).style.setProperty("border","1px #ccc outset", "");   	} }function init() {        changeStyle();}