    $(document).ready(function(){ 
		// Fixes any Isssues from PNG Filles in IE6 and IE 5.5					   
        $(document).pngFix(); 
		// make rounded corner
		//$("div.box2").corner("7px");
		$("div#box").corner("br 35px");
		$("div#box2").corner("br 35px");
		$("div#box3").corner("br 35px");
		$("div.box4").corner("15px");
		$("div.box6").corner("top 10px");
		// Runs Clock on Page
		//stampIt();
	// runs css of grids table
	//	if ($("table").length >0)
	//	{
	//	stripe();
	//	}

	// End of Ready Function
	});  
	
	function SearchByKeyword(){
	    var fkw = document.getElementById("Keywords");
	    var cki = document.getElementById("ctl00_ddlMainCats");
	    if ((fkw.value=="Keywords")|| (fkw.value==""))
	    window.location="ShowBooksInCategory.aspx?bCatID=" + cki.options[cki.selectedIndex].value;
	    else
	    window.location="ShowBooksInCategory.aspx?bCatID=" + cki.options[cki.selectedIndex].value + "&Keywords=" + fkw.value;

	}
function SetKeyword(){
	    var fkw = document.getElementById("Keywords");
	    if (fkw.value =="Keywords") {
	        fkw.value="";
	        fkw.className="txtbox";
	    }
}

function ResetKeyword(){
	    var fkw = document.getElementById("Keywords");
	    if (fkw.value =="") {
	        fkw.value="Keywords";
	        fkw.className="txtboxwm";
	    }
}
