////////////////// ONLOAD GLOBAL JAVASCRIPT ITEMS //////////////////////////////////
////////////////// INIT TRANSMENU ITEM STATES //////////////////////////////////////
																				////
function init() {
	//showSpecial();
};
																				////
////////////////// INIT ONLOAD NEWS FUNCTION ///////////////////////////////////////
																				////
function showList() {
	initShowHide();
};
																				////
////////////////// END  ONLOAD NEWS FUNCTION ///////////////////////////////////////
////////////////// BEGIN FUNCTION LIST /////////////////////////////////////////////
////////////////// BEGIN SHOW SPECIAL CHAR FUNCTION ////////////////////////////////
																				////
function showSpecial() {
	var toggleable = document.getElementsByTagName('li');
	for (var i = 0; i < toggleable.length; i++) {
		if (toggleable[i].className == "special"){
			if((toggleable[i].style.backgroundColor == "") || (toggleable[i].style.backgroundColor == "#fff")) {
				toggleable[i].style.backgroundColor = "#fcc";
				toggleable[i].style.Border = "1px solid #f33";
			} else {
				toggleable[i].style.backgroundColor = "";
				toggleable[i].style.Border = "1px solid #fff";
			}
		}
	}
}
																				////
////////////////// BEGIN SHOW SPECIAL MINIMIZE WINDOW FUNCTION /////////////////////
																				////
function closeWin(x) {
	var description;
	for (i = 0; i < x.parentNode.parentNode.childNodes.length; i++) {
		if (x.parentNode.parentNode.childNodes[i].className == "boxSub525Content") {
			description = x.parentNode.parentNode.childNodes[i];
			break;
		} else
		if (x.parentNode.parentNode.childNodes[i].className == "boxSub190Content") {
			description = x.parentNode.parentNode.childNodes[i];
			break;
		}
		
	}
	if (description.style.display == "block" || description.style.display == "" ) {
		description.style.display = 'none';
	} else {
		description.style.display = 'block';
	}
}	

																				////
////////////////// BEGIN GOOGLE AJAX SEARCH FUNCTION ///////////////////////////////
																				////
//<![CDATA[
function OnLoad() {
		
	// IE6SUX

	
	
	 // create a tabbed mode search control
	var tabbed = new GSearchControl();

	//tabbed.addSearcher(new GlocalSearch());
	tabbed.addSearcher(new GwebSearch());
	tabbed.addSearcher(new GvideoSearch());
	tabbed.addSearcher(new GblogSearch());

	// Set the Local Search center point
	//localSearch.setCenterPoint("Milwaukee WI");
	
	// draw in tabbed layout mode
    var drawOptions = new GdrawOptions();
    drawOptions.setDrawMode(GSearchControl.DRAW_MODE_TABBED);
    tabbed.draw(document.getElementById("search_control_tabbed"), drawOptions);
	
	// Execute an inital search
	tabbed.execute("Funny hub");
}
//]]>
																				////
/////////////////// END FUNCTION LIST //////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////