function openWin(popup_name,popup_url,popup_with,popup_height)
{
if(!popup_with) {popup_with = 400;}
if(!popup_height) {popup_height = 300;}
        var popup_left = (window.screen.width/2)  - (popup_with/2 + 20);
        var popup_top  = (window.screen.height/2) - (popup_height/2 + 50);
        var fenster = window.open(popup_url,popup_name,"toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=" + popup_with + ",height=" + popup_height + ",left=" + popup_left + ",top=" + popup_top + ",screenX=" + popup_left + ",screenY=" + popup_top);
        fenster.focus();
return false;
}               
                
function SearchSubmit ()
{                       
 document.searchform.submit();  
 return false;
}                               
function sethp(f) {                     
if (( navigator.appVersion.indexOf('MSIE 5.') != -1) || (navigator.appVersion.indexOf('MSIE 6.') != -1)) 
        {                               
                f.style.behavior='url(#default#homepage)'; 
                f.setHomePage('http://city-fm.ru');
        } else {        
                alert('Ваш браузер не поддерживает эту функцию');
        }
}
