// !!! THIS FILE IS GENERATED BY APPROVING HEADER AND FOOTER IN THE CMS ON LOCAL WEBSITES
// !!! DO NOT EDIT IT MANUALLY
LocalFraming = {
	OnPressKey : function(e)
	{
		var keyCode = ( window.event ? e.keyCode : e.which );
		if (keyCode == 13) {
	    LocalFraming.Search();
	  }
	},
	Search : function()
	{
		var s = document.getElementById("txtSearch").value;
		if ( s != "BÚSQUEDA" )
		{
			window.location.href="http://search.packardbell.com/es/?q="+s+"&m=any&ps=10&c=0106";
		}
	},
	Footer : function()
	{
		var result = ""
			+ "<div id=\"footer\">"
			+ "<div>"
				+ "<div>"
					+ "<a class=\"topLink\" href=\"http://packardbell.es/pressroom/pressreleases/\">PRENSA</a> - <a class=\"topLink\" href=\"http://packardbell.es/company/\">COMPAÑÍA</a> - <a class=\"topLink\" href=\"http://www.packardbell.es\">MAPA DEL SITE</a> - <a class=\"topLink\" href=\"http://packardbell.es/company/contact.html\">CONTACTA</a> - <a class=\"topLink\" href=\"http://packardbell.es/terms.html\">TÉRMINOS Y PRIVACIDAD</a>&nbsp;"
				+ "</div>"
				+ "<a class=\"dotcom\" href=\"http://www.packardbell.com\">"
					+ "<img src=\"" + document.location.protocol + "//static.packardbell.com/mkt/layout/2006/common/images/dot.gif\" border=\"0\" alt=\"packardbell.com\" />"
				+ "</a>"
			+ "</div>"
			+ "<span class=\"trademark\">"
				+ "Copyright (c) 2009. Reservados todos los derechos."
			+ "</span>"
		+ "</div>"
		+ "<br />";

		document.write( result );
	},
	Header : function()
	{
		var result = ""
		+ "<br />"
        + "<div id='header' style='width:993px;'>"
		+ "<table cellpadding='0' cellspacing='0' border='0' width='100%'>"
        + "<tr>"
		+ "<td class='Logo' align='right'><a href='" + LocalFraming.SiteLocation(true) + "'><img alt='' src='" + document.location.protocol + "//static.packardbell.com/mkt/layout/2006/common/images/dot.gif' width='188' height='31'/></a></td>"
		+ "<td class='mstagline'>" + LocalFraming.MSTagline + "</td>"
		+ "</tr>"
		+ "</table>"
        + "<br />"
        + "<div style='width:993px;height:103px;position:relative;top:0px;left:0px;background-image:url("+LocalFraming.getBackgroundLocation()+");'>"
		+ "<div id='topMenu'>"
		+ "<a class=\"topLink\" href=\"http://packardbell.es/showroom/port%c3%a1tiles-407.html\" target=\"_top\" style=\"left:10px;\">Productos</a><a class=\"topLink\" href=\"http://store.packardbell.com/Store/ASES?utm_source=Generic&amp;utm_medium=Newsletter&amp;utm_campaign=PB%2BInternal\" target=\"_blank\" style=\"left:190px;\">Tienda</a><a class=\"topLink\" href=\"http://support.packardbell.com/es/\" target=\"_top\" style=\"left:370px;\">Soporte</a>"
		+ "<input type='text' id='txtSearch' onkeypress='LocalFraming.OnPressKey(event);' style='width:150px;' value='BÚSQUEDA' onfocus='if ( this.value == \"BÚSQUEDA\" ) { this.value=\"\"; }' onblur='if ( this.value == \"\" ) { this.value = \"BÚSQUEDA\"; }' />"
		+ "<input id='btnSearch' type='button' style='width:50px;' value='OK' onclick='LocalFraming.Search();' />"
 		+ "</div>"
 		+ "<div class='path'>" + LocalFraming.Path + "</div>"
 		+ "<div class='rightLink'><A href='http://register.packardbell.com/?l=es&amp;c=es' target='_top'><IMG src='"+LocalFraming.SiteLocation(false)+"/files/common/images/topnav/icon_register.gif'>Registre su producto</A></div>"
	 	+ "</div>"
	 	+ "</div>";
		document.write( result );
	},
	MenuPosition : "",
	SiteLocation : function(forceAbs)
	{
		var result = "";
		if (( document.domain.indexOf( "edit" ) >= 0 ) || ( document.domain.indexOf( "countryj" ) >= 0 ))
			result = "http://" + document.domain;
		else
			result = "http://www.packardbell.es";
		if (( LocalFraming.RelativePath ) && ( !forceAbs ))
			result = "";
		return result;
	},
	RelativePath : false,
	Path : "",
	getBackgroundLocation : function()
	{
		var result = LocalFraming.BackgroundLocation;
		if (( LocalFraming.RelativePath ) && ( result.indexOf("file") >= 10 )){
			result = result.substring(result.indexOf("file")-1, result.length);
		}
		else if ( window.location.href.indexOf( "extra" ) > 0 ) {
			result = "/filelib/common/extra/mea/top_navigation_eXtra.jpg";
		}
		return result;
	},
	BackgroundLocation : document.location.protocol + "//static.packardbell.com/mkt/layout/2006/common/images/interface_v3/default_topnav_background.jpg",
	MSTagline : "Packard Bell recomienda Windows Vista&#174; Home Premium."
}