/*****************************/
/* HIDE Controls Dynamically */
/*****************************/
function hideControl(strObj){
	var obj = document.getElementById(strObj);
	if(obj != undefined){
		obj.style.display = "none";
	}
}

function showControl(strObj){
	var obj = document.getElementById(strObj);
	if(obj != undefined){
		obj.style.display = "block";
	}
}


/* rogers specific... put into rogers javascript file */
var objHideTimer1;
var objHideTimer2;
var objHideTimer3;

function advSrchHide(){
	//alert('hide');
	window.clearTimeout(objHideTimer1);
	window.clearTimeout(objHideTimer2);
	window.clearTimeout(objHideTimer3);
	hideControl('ddlCategory');
	hideControl('ddlParam2');
	hideControl('ddlParam3');
}

function advSrchShow(){
	//alert('showing');
	objHideTimer1 = window.setTimeout("showControl('ddlCategory')", 100);
	objHideTimer2 = window.setTimeout("showControl('ddlParam2')", 100);
	objHideTimer3 = window.setTimeout("showControl('ddlParam3')", 100);
}