function popup(thePath,myWidth, myHeight,extraFeatures) {

    features = "width="+myWidth+", height="+myHeight;
    if(extraFeatures) {
        features = features + ','+extraFeatures;
    }

    myWindow = window.open(thePath, "popup", features);

    myWindow.focus();
    return false;
}

function externalSite(thePath) {
    window.open(thePath);
    return false
}

$(function(){

	// top menus
	$("ul#topMenu").superfish({pathClass:  'current', delay: 200});

	// external Links
	$("a[rel='external']").click(function(){
		window.open($(this).attr("href"));
		return false;
	})

	// search box
	$("#s").focus(function(){ if($(this).val() == "Search") $(this).val("") })
	$("#s").blur(function(){ if($(this).val() == "") $(this).val("Search") })

})