function toggle(obj) {
   obj.className == 'closed' ? obj.className = 'opened' : obj.className = 'closed';
}


function createSWF(file,width,height) {
  
  document.write('<object width="'+width+'" height="'+height+'" type="application/x-shockwave-flash" data="'+file+'">');
  document.write('<param name="allowScriptAccess" value="sameDomain" />');
  document.write('<param name="allowFullScreen" value="false" />');
  document.write('<param name="movie" value="'+file+'" />');
  document.write('<param name="quality" value="high" />');
  document.write('<param name="wmode" value="transparent" />');
  document.write('<param name="bgcolor" value="#ffffff" />');
  document.write('</object>');

}


function addToFav(url,title) {
	
	// Mozilla Firefox Bookmark
	if (window.sidebar) {
		window.sidebar.addPanel(title, url,"");
	}
	// IE Favorite
	else if (window.external) {
		window.external.AddFavorite( url, title);
	}
}


function openList() {

  var ul = document.getElementsByTagName('ul');
  
  for (x = 0; x < ul.length; x++) {
    if (ul[x].className == "toggle")
      ul[x].getElementsByTagName('li')[0].className = 'opened';
  }

}