/*
This notice of use agreement and disclaimer must be kept in the Javascript 
file at all times, in a readily accessible place and must be in human readable format.


-----------------Pixelsonthe.net Webdesign-----------------------
Http://www.pixelsonthe.net
---------------------------------------------------------------
  This javascript is copyright Pixelsonthe.net Webdesign, all rights
	reserved.  This free script is provided as is. No warranties implied or otherwise 
	can be claimed through the use and operation of this script. Pixelsonthe.net Webdesign, its
	owners and creators	will hold no liability for anything that goes wrong during the 
	use of this script. By using this script you agree
	to use it at your own risk, with no risk(s) to Pixelsonthe.net WebDesign.  
*/

//will expand and contract a given list, two parameters are passed to it to achieve this
//1) The List Id(list), this allows the script to hide or display the list
//2) The Link Id(txt), this allows the script to change the text dynamically

function reset()
{
 /*var reset = document.getElementsByTagName("DIV");
 //alert(reset);//.style.display="none";
 for(var i=0;i<reset.length;i++)
 {
   reset[i].style.display="none";
 } */ 
document.getElementById("canjob").style.display="none";
document.getElementById("webhost").style.display="none";
document.getElementById("ab").style.display="none";
document.getElementById("world").style.display="none";
document.getElementById("tools").style.display="none";
document.getElementById("free").style.display="none";
}

function showhide(list,txt)
{
//will display or hide a list
document.getElementById(list).style.display =  (document.getElementById(list).style.display ==  "block")?"none":"block";
//will change view/hide wording
document.getElementById(txt).innerHTML=(document.getElementById(txt).innerHTML == "view contents [+]")?"hide contents [-]":"view contents [+]";
}

window.onload=reset;
