function hide_menus() { //----------------------------------------------------------------------------------------------------------------------------------ABOUT document.getElementById('button-about').src='images/top-menu-button-about.png'; document.getElementById('top-sub-menu4').style.visibility='hidden'; //----------------------------------------------------------------------------------------------------------------------------------PROJECTS document.getElementById('button-proj').src='images/top-menu-button-projects.png'; document.getElementById('top-sub-menu1').style.visibility='hidden'; //----------------------------------------------------------------------------------------------------------------------------------INVEST document.getElementById('button-invest').src='images/top-menu-button-invest.png'; //----------------------------------------------------------------------------------------------------------------------------------NEWS document.getElementById('button-news').src='images/top-menu-button-news.png'; document.getElementById('top-sub-menu2').style.visibility='hidden'; //----------------------------------------------------------------------------------------------------------------------------------VACANCY document.getElementById('button-vacancy').src='images/top-menu-button-vacancy2.png'; //----------------------------------------------------------------------------------------------------------------------------------CANTACTS document.getElementById('button-contacts').src='images/top-menu-button-contacts.png'; document.getElementById('top-sub-menu3').style.visibility='hidden'; //----------------------------------------------------------------------------------------------------------------------------------REPLY document.getElementById('button-otzivi').src='images/top-menu-button-otzivi.png'; //----------------------------------------------------------------------------------------------------------------------------------bottom menu document.getElementById('bottom-sub-menu1').style.visibility='hidden'; document.getElementById('bottom-sub-menu-a1').style.color='#ffffff'; //---------------------------------------------------------------------------------------------------------------------------------- document.getElementById('bottom-sub-menu2').style.visibility='hidden'; document.getElementById('bottom-sub-menu-a2').style.color='#ffffff'; //---------------------------------------------------------------------------------------------------------------------------------- document.getElementById('bottom-sub-menu3').style.visibility='hidden'; document.getElementById('bottom-sub-menu-a3').style.color='#ffffff'; //---------------------------------------------------------------------------------------------------------------------------------- document.getElementById('bottom-sub-menu4').style.visibility='hidden'; document.getElementById('bottom-sub-menu-a4').style.color='#ffffff'; //---------------------------------------------------------------------------------------------------------------------------------- } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i=max-2) return; curr++; // if (curr>max) curr=0; temp=curr+2; if (temp>max){temp=temp-max-1;} with (document.images) { th1.src=th2.src; th2.src=th3.src; th3.src='img/'+thumbs[temp]; } with (document.anchors) { tha1.href=tha2.href; tha2.href=tha3.href; tha3.href='ex_enlarged.php?id='+thumbs[temp]; } } function form_submit() { document.getElementById("login_form").submit(); } function f_search(id) { var pole1 = document.getElementById('pole1').value.toString(); var pole2 = document.getElementById('pole2').value.toString(); this.location = "production_ssearch.aspx?id="+id+"&fabric="+pole1+"&collection="+pole2; } function onSelBrand(cimg, ctext) { document.getElementById('i_img').src = "img/brands/"+cimg; } function onUnSelBrand() { document.getElementById('i_img').src = "img/logo/blank.gif"; } function show_pic(par1, par2) { document.getElementById(par1).src = "img/salon/"+par2; } function show_map(objname) { var map = window.open('/popup/map.aspx?obj='+objname , 'new_window', ' height=500,width=600 , resizable=no,scrollbars=no,menubar=no,status=no' ); } function stoptime () { if (timerrun) clearTimeout (timer) ; timerrun=false ; } function starttime() { stoptime(); showtime(); } function showtime() { var all=new Date(); var hours=all.getHours(); var minutes=all.getMinutes(); var seconds=all.getSeconds(); var timevalue=" " +( (hours>12) ? hours-12 : hours ) timevalue += ( (minutes<10) ? ":0" : ":") + minutes //timevalue += ( (seconds<10) ? ":0" : ":") + seconds timevalue +=( (hours>=12) ? " PM " : " AM " ) document.getElementById('ctext').innerHTML= timevalue; timer=setTimeout ( 'showtime()' ,1000); timerrun=true; } function show_map(objname) { var map = window.open('/popup/map.aspx?obj='+objname , 'new_window', ' height=500,width=600 , resizable=no,scrollbars=no,menubar=no,status=no' ); }