var mo="0";

function shopinfo (url) {
 fenster=window.open(url,"shopinfo","width=465,height=610,status=yes,scrollbars=yes,resizable=yes");
  if (window.fenster) window.fenster.focus();
   return !window.fenster;
}
//searchbox
function mehr_suche() 
{
  if (document.getElementById)
    document.getElementById("auswahlbox").style.visibility = "visible";
    document.getElementById("pricemin").style.visibility = "visible";
    document.getElementById("pricemax").style.visibility = "visible";
    document.getElementById("and").style.visibility = "visible";
    document.getElementById("or").style.visibility = "visible";
    document.getElementById("erwtext").style.visibility = "visible";
	document.getElementById("searchbar").style.height = "50px";
    document.getElementsById("erweitern").style.visibility = "hidden";
}

// bookmarking
bookmarkNetscape = 'Strg + D, um den Preisvergleich Ihren Favoriten zuzufügen';
// before script is called, the variable "bookmarkNetscape" should be defined
function addBookmark() 
{
	// The URL to bookmark - take the URL of the current page
	// Note that in read only, this should be the same as window.location.href
	var bookmarkURL = window.document.URL;
	// The title of the page
	var bookmarkTitle = window.document.title;

	// IE Windows
	if (window.external)
	{
		window.external.AddFavorite(bookmarkURL, bookmarkTitle);
	}

	// Opera
	else if (navigator.userAgent.indexOf('Opera') != -1)
	{
		alert(bookmarkNetscape.replace(/\{0\}/, "CTRL + T"));
	}

	// IE Mac
	else if (document.all && (navigator.userAgent.indexOf('Win') < 0))
	{
		alert(bookmarkNetscape.replace(/\{0\}/, "COMMAND + B"));
	}

	// Netscape / Mozilla
	else
	{
		alert(bookmarkNetscape.replace(/\{0\}/, "CTRL + D"));
	}
}



function more(el){
	if(!el)return false;
	var orgEl = el;
	while(el && (el=el.nextSibling) ) if( el.nodeType==1 ) break;
	if(!el||!el.style)return false;
	var bActive = el.style.display!="block";
	el.style.display = bActive ? "block" : "none";
	orgEl.className = bActive ? "active" : "";
	return false
}
