	
	var search_default_text = 'search ytv.com';

	function do_search()
	{
		var terms = escape(document.forms[0].q.value.replace( /^\s+|\s+$/g, "" ));
		// location = search_url + 'q=' + terms;
		document.forms[0].submit();
	}
	
	function do_focus(obj)
	{
		if(document.forms[0].q.value == search_default_text)
			document.forms[0].q.value = "";
		obj.className = 'activated';	
	}	
	
	function do_blur(obj)
	{
		document.forms[0].q.value = document.forms[0].q.value.replace( /^\s+|\s+$/g, "" )	
		if(document.forms[0].q.value == search_default_text || document.forms[0].q.value == '')
		{
			document.forms[0].q.value = search_default_text;
			obj.className = 'default';	
		}	
	}

var strVar="";
strVar += "<style type=\"text\/css\">";
strVar += "	";
strVar += "		html, body";
strVar += "		{";
strVar += "			margin: 0;	";
strVar += "		}";
strVar += "";
strVar += "		div#main_holder";
strVar += "		{";
strVar += "			background-color: #03366c; height: 94px;";
strVar += "		}";
strVar += "";
strVar += "		div#main"; 
strVar += "		{";
strVar += "			width: 975px; height: 94px; position: relative; margin: 0 auto;";
strVar += "			background-image: url(http:\/\/www.ytv.com\/utility\/partner_slim\/assets\/pwrap_ytv_slim_bg.png);	";
strVar += "		}";
strVar += "	";
strVar += "		a div";
strVar += "		{";
strVar += "			background: url(http:\/\/www.ytv.com\/utility\/partner_slim\/assets\/pwrap_ytv_slim_sprites.png);";
strVar += "			cursor: pointer; border: 0; font-size: 1px; line-height: 1;";
strVar += "		}";
strVar += "		";
strVar += "				div.shows_on";
strVar += "				{	background-position: -0px -384px; width: 74px; height: 27px; ";
strVar += "					left: 136px; top: 64px; position: absolute; }";
strVar += "";
strVar += "				div.games_on";
strVar += "				{	background-position: -0px -347px; width: 76px; height: 27px; ";
strVar += "					left: 210px; top: 64px; position: absolute; }";
strVar += "";
strVar += "				div.videos_on";
strVar += "				{	background-position: -0px -421px; width: 77px; height: 27px; ";
strVar += "					left: 286px; top: 64px; position: absolute; }";
strVar += "";
strVar += "				div.contests_on";
strVar += "				{	background-position: -0px -310px; width: 103px; height: 27px;";
strVar += "					left: 363px; top: 64px; position: absolute; }";
strVar += "					";
strVar += "				div.shows_off";
strVar += "				{	background-position: -0px -0px; width: 74px; height: 27px; ";
strVar += "					left: 136px; top: 64px; position: absolute; }";
strVar += "";
strVar += "				div.games_off";
strVar += "				{	background-position: -0px -0px; width: 76px; height: 27px; ";
strVar += "					left: 210px; top: 64px; position: absolute; }";
strVar += "";
strVar += "				div.videos_off";
strVar += "				{	background-position: -0px -0px; width: 77px; height: 27px; ";
strVar += "					left: 286px; top: 64px; position: absolute; }";
strVar += "";
strVar += "				div.contests_off";
strVar += "				{	background-position: -0px -0px; width: 103px; height: 27px;";
strVar += "					left: 363px; top: 64px; position: absolute; }";
strVar += "										";
strVar += "				div.dummy";
strVar += "				{	background-position: -0px -0px; width: 300px; height: 300px; }			";
strVar += "				";
strVar += "				div.search_button";
strVar += "				{	background-position: -0px -0px; width: 38px; height: 26px;";
strVar += "					left: 710px; top: 61px; position: absolute; }				";
strVar += "";
strVar += "				div.y_list";
strVar += "				{	background-position: -0px -0px; width: 53px; height: 55px;";
strVar += "					left: 767px; top: 35px; position: absolute; }			";
strVar += "";
strVar += "				div.login";
strVar += "				{	background-position: -0px -0px; width: 138px; height: 44px;";
strVar += "					left: 825px; top: 18px; position: absolute; }			";
strVar += "";
strVar += "				div.sitekick";
strVar += "				{	background-position: -0px -0px; width: 68px; height: 20px;";
strVar += "					left: 825px; top: 65px; position: absolute; }			";
strVar += "";
strVar += "				div.boards";
strVar += "				{	background-position: -0px -0px; width: 60px; height: 20px;";
strVar += "					left: 897px; top: 65px; position: absolute; }";
strVar += "					";
strVar += "				div.logo";
strVar += "				{	background-position: -0px -0px; width: 95px; height: 77px;";
strVar += "					left: 10px; top: 10px; position: absolute; }					";
strVar += "					";
strVar += "				#main input";
strVar += "				{	width: 117px !important; height: 16px;";
strVar += "					left: 586px; top: 65px; position: absolute;  ";
strVar += "					font-weight: bold;					";
strVar += "				}	";
strVar += "";
strVar += "						#main input.default";
strVar += "						{	";
strVar += "							color:#bdbdbd;";
strVar += "						}	";
strVar += "				";
strVar += "						#main input.activated";
strVar += "						{	";
strVar += "							color: Black;"; 
strVar += "						}	";
strVar += "<\/style>	";
strVar += "	";
strVar += "<div id=\"main_holder\"><div id=\"main\"><form method=\"get\" action=\"http:\/\/www.ytv.com\/search\/default.aspx\">";
strVar += "	";
strVar += "	<a href=\"http:\/\/www.ytv.com\/shows\/default.aspx\"><div class=\"shows_off\" title=\"Shows\" onmouseover=\"this.className='shows_on'\" onmouseout=\"this.className='shows_off'\"><br \/><\/div><\/a>	";
strVar += "	<a href=\"http:\/\/www.ytv.com\/games\/default.aspx\"><div class=\"games_off\" title=\"Games\" onmouseover=\"this.className='games_on'\" onmouseout=\"this.className='games_off'\"><br \/><\/div><\/a>	";
strVar += "	<a href=\"http:\/\/www.ytv.com\/videos\/default.aspx\"><div class=\"videos_off\" title=\"Videos\" onmouseover=\"this.className='videos_on'\" onmouseout=\"this.className='videos_off'\"><br \/><\/div><\/a>";
strVar += "	<a href=\"http:\/\/promos.ytv.com\/\"><div class=\"contests_off\" title=\"Contests\" onmouseover=\"this.className='contests_on'\" onmouseout=\"this.className='contests_off'\"><br \/><\/div><\/a>";
strVar += "	<a href=\"javascript:do_search()\"><div class=\"search_button\" title=\"search\"><br \/><\/div><\/a>	";
strVar += "	<a href=\"http:\/\/www.ytv.com\/user\/CreateUser.aspx\"><div class=\"y_list\" title=\"Y-List\"><br \/><\/div><\/a>	";
strVar += "	<a href=\"http:\/\/www.ytv.com\/login.aspx\"><div class=\"login\" title=\"Login\"><br \/><\/div><\/a>	";
strVar += "	<a href=\"http:\/\/www.ytv.com\/sitekick\/dock.aspx\"><div class=\"sitekick\" title=\"Sitekick\"><br \/><\/div><\/a>	";
strVar += "	<a href=\"http:\/\/forums.ytv.com\/\"><div class=\"boards\" title=\"Boards\"><br \/><\/div><\/a>	";
strVar += "	<a href=\"http:\/\/www.ytv.com\/\"><div class=\"logo\" title=\"www.ytv.com\"><br \/><\/div><\/a>	";
strVar += "	";
strVar += "	<input type=\"text\" name=\"q\" id=\"q\" maxlength=\"64\" value=\"search ytv.com\" class=\"default\" onfocus=\"do_focus(this)\" onblur=\"do_blur(this)\" \/><\/form>";
strVar += "<\/div><\/div>";

document.write(strVar);
