/* 
MySite 1.0T; copyright, 2000 RichInStyle.com. This is the test suite script - it is the same as the normal one except it has the additional feature of hiding the navigational tables when the viewer is using frames. 

Do not use this script. Instead use the one at http://www.richinstyle.com/free/mysite.html, which is more advanced and has full instructions and is more customizable. 
*/

function GetCookie () {
	cookies=document.cookie;
	isCookie = cookies.indexOf("stylesheet=");
	if (isCookie != -1) {
		start=isCookie+11;	
		end=cookies.indexOf(";", start);
		if (end==-1) end=cookies.length;
		return unescape(document.cookie.substring(start, end));
	}
	return '';
}
cookie=GetCookie();
if (cookie!='') document.write ('<LINK rel="stylesheet" type="text/css" href="/style/', cookie, '.css">');

/* Frames */

if (navigator.appVersion.substring(0,1) != '2') {if(document.location!=top.location) document.write ('<LINK rel="stylesheet" type="text/css" href="/style/hideit.css">');}

function SetCookie(value) { 
  path='/';
  expires = new Date();
  expires.setTime(expires.getTime() + 86400000000);
  document.cookie = "location=" + escape (value) + "; expires=" + expires.toGMTString() +"; path=" +path;
  parent.reload();
}

//if (document.location.hash!='') SetCookie(document.location);