  


  
document.write('<div id="819d6afe9d72032e1c395547169904304a1ab835"></div>');


function get_script()
{
    var tmp = new Array();      // два вспомагательных 
    var tmp2 = new Array();     // массива 
    var param = new Array(); 
    var params;
    
    var get = window.location.search;  // строка GET запроса 
    if(get != '') 
    { 
        tmp = (get.substr(1)).split('&');   // разделяем переменные 
        for(var i=0; i < tmp.length; i++) 
        { 
            tmp2 = tmp[i].split('=');       // массив param будет содержать 
            param[tmp2[0]] = tmp2[1];       // пары ключ(имя переменной)->значение 
        } 
    }
    
    if(param['action'] == null)
        param['action'] = 'cruises';

    param['action'] = param['action'].replace(/%2F/g,"/");
    param['action'] = param['action'].replace(/%3F/g,"?");
    param['action'] = param['action'].replace(/%3D/g,"=");
    param['action'] = param['action'].replace(/%26/g,"&");

    params = param['action'];
    var first = param['action'].indexOf('?',0) == -1;
    for (var key in param) 
    {
        if(key == 'action' || key == 'id')
            continue;
        if(typeof(param[key]) == 'function')
            continue;
        params += (first ? '?':'&')+ key + '=' + param[key]
        first = false;
    }

    params = params.replace("breeze_id","id");
    params += (first ? '?':'&')+ 'partner='+'819d6afe9d72032e1c395547169904304a1ab835';

          params = params+'&div=819d6afe9d72032e1c395547169904304a1ab835';
    
          params = params+'&url=index.php%3Fid%3D134';
    
    document.write('<script src="http://'+'cruiz.ru'+'/'+params+
        '" type="text/javascript" charset="utf-8"></script>');

}

get_script();

function showExtSearch() {
    document.getElementById('searchStart').style.fontSize='1px';
    document.getElementById('searchStart').innerHTML='<br>';
    document.getElementById('searchStart').blur();
    
    if(window.opera)
        document.getElementById('searchStart').style.display='none';
    
    if(navigator.appVersion.indexOf('MSIE')>0)
    {
        document.getElementById('searchExt1').style.display='inline';
        document.getElementById('searchExt2').style.display='inline';
        document.getElementById('searchExt3').style.display='inline';
        document.getElementById('searchExt4').style.display='inline';        
    }
    else
    {
        document.getElementById('searchExt1').style.display='table-row';
        document.getElementById('searchExt2').style.display='table-row';
        document.getElementById('searchExt3').style.display='table-row';
        document.getElementById('searchExt4').style.display='table-row';        
    }
    return false;
}

function win_open(what,target) {
   window.open(what,target,'scrollbars=yes,menubar=no,resizable=yes,width=360,height=480,top=200,left=200');
   return false;
}
