function cellout01( obj ) { obj.style.background = "#D0D0B0"; ResetPointer( obj); } function SetPointer( table_cell ) { if (navigator.appName.indexOf ("Explorer") != -1) table_cell.style.cursor="hand"; else table_cell.style.cursor="pointer"; } function ResetPointer( table_cell ) { table_cell.style.cursor="default"; } function CellTextHilite( table_cell ) { table_cell.style.color="#000000"; //SetPointer( table_cell ); //if (navigator.appName.indexOf ("Explorer") != -1) // table_cell.style.cursor="hand"; //else // table_cell.style.cursor="pointer"; } function CellTextNormal( table_cell ) { table_cell.style.color="#FFFFFF"; //ResetPointer( table_cell ); } function cellover ( table_cell ) { table_cell.style.background = '#FFF8CF'; SetPointer( table_cell ); // // if (navigator.appName.indexOf ("Explorer") != -1) // table_cell.style.cursor="hand"; // else // table_cell.style.cursor="pointer"; // //AddBreadCrumb( "GroupPageOnly" ); } function cellout ( table_cell ) { table_cell.style.background = "#FFFFFF"; ResetPointer( table_cell ); } function getCookie(Name) { var search = Name + "=" var returnvalue = ""; if (document.cookie.length > 0) { offset = document.cookie.indexOf(search) // if cookie exists if (offset != -1) { offset += search.length // set index of beginning of value end = document.cookie.indexOf(";", offset); // set index of end of cookie value if (end == -1) end = document.cookie.length; returnvalue=unescape(document.cookie.substring(offset, end)) } } return returnvalue; } function setCookie(Name, val) { document.cookie= Name + "=" + val } // Copyright AudioPod Inc. 2008 All Rights Reserved // Author: John McCue // use at your own risk function EatBreadCrumb( num ) { var trail = getCookie("apBreadCrumbTrail"); var offset = 0; var i; var crumb = getCookie("apBreadCrumb" + num ); if( num > 0 ) { offset = trail.indexOf( " -> ", 0 ); i=1; while( offset > 0 && i < num ) { offset = trail.indexOf( " -> ", offset + 4); i++; } } if( offset > 0 ) SetBreadCrumbTrail( trail.substr(0, offset ) ); else SetBreadCrumbTrail( "" ); // alert( crumb ); location.href=crumb; } function BreadCrumbCount( str ) { var count=0; var offset=0; if( str.length > 0 ) { while( offset != -1 ) { count++; offset += 3; if( offset < str.length ) offset = str.indexOf( "->", offset ); else offset=-1; } } return( count ); } function SetBreadCrumb( url, num ) { var tag = "apBreadCrumb" + num; setCookie( tag, url ); } function SetBreadCrumbTrail( str ) { document.cookie= "apBreadCrumbTrail" + "=" + str LoadBreadCrumbWidget(); // alert( str ); } function AddBreadCrumb( str ) { var crumbs = getCookie("apBreadCrumbTrail"); var num = BreadCrumbCount( crumbs ); var newcrumb = "" + str + ""; if( crumbs.length > 0 ) crumbs = crumbs + " -> " + newcrumb else crumbs = newcrumb; SetBreadCrumbTrail( crumbs ); SetBreadCrumb( window.location , num ); } function LoadBreadCrumbWidget() { var cell = document.getElementById('apCrumbs'); cell.innerHTML = getCookie("apBreadCrumbTrail"); } //window.onload=LoadBreadCrumbWidget;