function addBookmark(url, title) { if ( window.sidebar ) // Mozilla Firefox Bookmark { window.sidebar.addPanel(title, url,""); } else if( window.external ) // IE Favorite { window.external.AddFavorite( url, title); } else if(window.opera && window.print) // Opera Hotlist { return true; } } function fisherYates ( myArray ) { var i = myArray.length; if ( i == 0 ) return false; while ( --i ) { var j = Math.floor( Math.random() * ( i + 1 ) ); var tempi = myArray[i]; var tempj = myArray[j]; myArray[i] = tempj; myArray[j] = tempi; } } function mycarousel_itemVisibleInCallback(carousel, item, i, state, evt) { // The index() method calculates the index from a // given index who is out of the actual item range. var idx = carousel.index(i, mycarousel_itemList.length); carousel.add(i, mycarousel_getItemHTML(mycarousel_itemList[idx - 1])); }; function mycarousel_itemVisibleOutCallback(carousel, item, i, state, evt) { carousel.remove(i); } /** * Item html creation helper. */ function mycarousel_getItemHTML(item) { return '' + item.alt + ''+ item.description; } window.onload = function() { var as = document.getElementsByTagName('a'); for (var i=0;i "; } }); } if(document.getElementById("contentUnplaced")){ var external_links = $('#contentUnplaced').find('a'); var side_column_divs = $('#container').find('div'); side_column_divs.each(function (indx, el){ if(el.id=="side_column"){ external_links = external_links.add(el.getElementsByTagName('a')); } }); //external_links = external_links.add($('#side_column').find('a')); external_links.each(function(indx, el) { if ((el.target.match(/_[blank|new]/i) || (el.className.match(/website/))) && !el.className.match('no-icon') && !el.className.match('pdf') ) { if (!el.className.match('website')) { el.className += "website"; } el.innerHTML = el.innerHTML + " "; } }); } if (document.getElementById('side_column')==null) { try { document.getElementById('content').className = 'no-width'; } catch (e) { } } var img = new Image(); img.src = '../images/arrow_white.gif'; } function mb_init() { var docall = document.getElementsByTagName("*"); for (var i=0;i