function setvar(name, value, exp, path, domain, secure)
  {
  document.cookie = name + "=" + escape(value) +
  ((exp) ? "; expires=" + exp.toGMTString() : "") +
  ((path) ? "; path=" + path : "") +
  ((domain) ? "; domain=" + domain : "") +
  ((secure) ? "; secure" : "");
  }

function getvar(Name)
 {var search = Name+"=";
  if (document.cookie.length > 0)
	{offset = document.cookie.indexOf(search);
	 if (offset != -1)
	  {offset += search.length;
		end = document.cookie.indexOf(";", offset);
		if (end == -1) end = document.cookie.length;
		return unescape(document.cookie.substring(offset, end));
	  }
	}
 }

function init(picnum, len, wid)
{
eval ("but"+picnum+"l = new Image("+len+","+wid+")");
eval ("but"+picnum+"h = new Image("+len+","+wid+")");
eval ("but"+picnum+"w = new Image()");
eval ("but"+picnum+"l.src = '/appimages/but"+picnum+"l.gif'");
eval ("but"+picnum+"h.src = '/appimages/but"+picnum+"h.gif'");
return true;
}

x = init(1,52,15);
x = init(2,76,15);
x = init(3,78,15);
x = init(4,52,15);
x = init(5,52,15);
x = init(6,76,15);
x = init(7,78,15);
x = init(8,52,15);
x = init(9,122,15);
but1w = "Back to previous page...";
but2w = "Back to previous section...";
but3w = "Back to contents page...";
but4w = "Forward to next section...";
but5w = "Back to previous page...";
but6w = "Back to previous section...";
but7w = "Back to contents page...";
but8w = "Forward to next section...";
but9w = "Add this event to your Itinerary Planner...";
but1hw = "Back to previous page...";
but2hw = "Back to previous section...";
but3hw = "Back to contents page...";
but4hw = "Forward to next section...";
but5hw = "Back to previous page...";
but6hw = "Back to previous section...";
but7hw = "Back to contents page...";
but8hw = "Forward to next section...";
but9hw = "Add this event to your Itinerary Planner...";

x = init(101,100,25);
x = init(102,111,25);
x = init(103,164,25);
x = init(104,196,25);
x = init(105,148,25);
but101hw = "USCAP Website Site Map";
but102hw = "USCAP Privacy Policy";
but103hw = "USCAP Website Technical Requirements";
but104hw = "USCAP Conflict of Interest Statement";
but105hw = "USCAP Website - Legal Information";

x = init(201,115,26);
x = init(202,109,26);
x = init(203,96,26);
x = init(204,136,26);
x = init(205,102,26);
x = init(206,90,26);
x = init(207,97,26);
x = init(208,107,26);
x = init(209,73,26);
x = init(210,113,26);
x = init(211,107,26);
x = init(212,142,26);
x = init(213,73,26);
x = init(214,75,26);
x = init(215,86,26);
x = init(216,119,26);
x = init(254,96,26);
x = init(255,96,26);
but201hw = "View Abstracts Online";
but202hw = "USCAP Annual Meetings";
but203hw = "Other Meetings/Educational Offerings";
but204hw = "Educational Materials";
but205hw = "USCAP Journals";
but206hw = "Return to the USCAP Homepage";
but207hw = "All About USCAP";
but208hw = "Contact USCAP";
but209hw = "Functions for Registered Members/Non-Members";
but210hw = "Pathology Related Links";
but211hw = "Jobs in Pathology";
but212hw = "Companion Societies";
but213hw = "Help/FAQ";
but214hw = "Print Page";
but215hw = "USCAP Courses Offering SAM Credits";
but216hw = "USCAP Foundation";
but254hw = "Itinerary Planner";
but255hw = "Itinerary Planner Event Added";

x = init(301,115,18);
x = init(302,109,18);
x = init(303,96,18);
x = init(304,136,18);
x = init(305,102,18);
x = init(306,90,18);
x = init(307,97,18);
x = init(308,107,18);
x = init(309,73,18);
x = init(310,113,18);
x = init(311,107,18);
x = init(312,142,18);
x = init(313,73,18);
x = init(314,77,18);
x = init(315,86,18);
x = init(316,119,18);
x = init(354,96,18);
x = init(355,96,18);
but301hw = "View Abstracts Online";
but302hw = "USCAP Annual Meetings";
but303hw = "Other Meetings/Educational Offerings";
but304hw = "Educational Materials";
but305hw = "USCAP Journals";
but306hw = "Return to the USCAP Homepage";
but307hw = "All About USCAP";
but308hw = "Contact USCAP";
but309hw = "Functions for Registered Members/Non-Members";
but310hw = "Pathology Related Links";
but311hw = "Jobs in Pathology";
but312hw = "Companion Societies";
but313hw = "Help/FAQ";
but314hw = "Print Page";
but315hw = "USCAP Courses Offering SAM Credits";
but316hw = "USCAP Foundation";
but354hw = "Itinerary Planner";
but355hw = "Itinerary Planner Event Added";

function lowlight(imagename)
 {
 document[imagename].src = eval(imagename + "l.src");
 window.status='Document: Done';
 }

function highlight(imagename)
 {
 document[imagename].src = eval(imagename + "h.src");
 window.status = eval(imagename + 'w');
 }

function backbutton()
 {
 if (navigator.appName == 'Netscape' && navigator.appVersion.substr(0,1) < '5')
  {
  back();
  }
 else
  {
  top.history.back();
  }
 }

function rollover(place,imagename,stat)
 {
 document[place].src = eval(imagename+".src");
 if (stat == 'over')
  {window.status = eval(imagename + 'w');}
 else
  {window.status='Document: Done';}
 }

function popup(loc,h,w,tname)
 {
 newWindow = window.open('http://www.uscap.org/site~/blank.htm',tname,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width='+w+',height='+h+'');
 newWindow.close();
 newWindow = window.open(loc,tname,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width='+w+',height='+h+'');
 }

function popone(loc,h,w,tname)
 {
 newWindow = window.open(loc,tname,'toolbar=no,screenX=1,screenY=1,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width='+w+',height='+h+'');
 }

function popmax(doc)
 {
 hsize = window.screen.availHeight - 30;
 wsize = window.screen.availWidth - 10;
 popone(doc,hsize,wsize,'Docs');
 }

var sc_project=731352;
var sc_partition=6;
var sc_security="02d21b14";
var sc_invisible=1;
document.write('<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/frames.js"><' + '\/script><noscript><a href="http://www.statcounter.com/" target="_blank"><img  src="http://c7.statcounter.com/counter.php?sc_project=731352&amp;java=0&amp;security=02d21b14&amp;invisible=1" alt="frontpage hit counter" border="0"><' + '\/a> <' + '\/noscript>');
