function flevPopupLink(){// v1.2 // Copyright 2002, Marja Ribbers (FlevOOware.nl) var v1=arguments,v2=window.open(v1[0],v1[1],v1[2]), v3=(v1.length>3)?v1[3]:false;if (v3){v2.focus();}document.MM_returnValue=false;} function bookmarkMe(myUrl, myTitle) { if(window.sidebar) { //******************************// // Firefox is used // We can just prompt the user // to add a regular bookmark... //******************************// alert('Naciśnij CTRL+D w celu dodania strony do ulubionych!'); //******************************// // ... or we can add a 'sidebar' bookmark. // To do it, use the line below, // instead of the line above: //******************************// // window.sidebar.addPanel(myTitle, myUrl, ''); //******************************// // In the second case, you can // give the visitor additional information. // to do it, uncomment the lines below //******************************// // var msg = "Firefox has just added the bookmark "; // msg += "that will open in the sidebar by default.\n"; // msg += "If you want it to open in the main window instead, "; // msg += "please go to Bookmarks, right-click the recently "; // msg += "added bookmark, choose 'Properties' and uncheck the "; // msg += "'load this bookmark in the sidebar' option.\n\n"; // msg += "Sorry, this in unavoidable with Firefox so far."; // alert(msg); } else if(window.opera && window.print) { //******************************// // Opera is used //******************************// var bkmark = document.createElement('a'); bkmark.setAttribute('rel','sidebar'); bkmark.setAttribute('href', myUrl); bkmark.setAttribute('title', myTitle); bkmark.click(); } else if(document.all) { //******************************// // Most probably IE, but even if it's not, // we don't want an error to pop up // so we use the try-catch structure //******************************// try { window.external.AddFavorite(myUrl, myTitle); } catch(e) { //******************************// // oops! not IE. Prompt user for action. //******************************// var msg = "Twoja przeglądarka nie umożliwia wykonanie tego skryptu."; msg += "Aby dodać stronę do ulubionych naciśnij (CTRL+D)."; alert(msg); } } } function setAsHome(myLink) { if(navigator.appName.indexOf('Microsoft')!=-1) { // IE myLink.style.behavior='url(#default#homepage)'; myLink.setHomePage(location.href); } else if(navigator.appName.indexOf('Netscape')!=-1) { // Netscape / firefox browsers var msg = "Przeciągnij link na ikonę strony domowej"; alert(msg); } else if(navigator.appName.indexOf('Opera')!=-1) { // Opera var msg = "Aby startować z nami przejdź do zakładki"; msg += "'narzędzia->preferencje->ogólne'"; msg += "gdzie należy ustawić stronę główną na http://www.spedycje.pl/"; alert(msg); } else { // Other browsers var msg = "Twoja przeglądarka nie umożliwia wykonania tego skryptu."; msg += "Użyj opcji w przeglądarce w celu ustawienia strony startowej."; alert(msg); } } // Banner A06 function hide (ad_b06) { var obj = document.getElementById(ad_b06); obj.style.visibility = "hidden"; } // OTHER if (window != top) top.location.href = location.href; //------------ var myTimer function startTimer(){ myTimer=setTimeout("document.location=document.location",180000) document.onmousedown=cancelTimer } function cancelTimer(){ clearTimeout(myTimer) } function showbox(id) { el = document.getElementById(id); if (el.style.display == 'none') { clearTimeout(window.speff); el.style.display = ''; alert("Regulamin Forum\n\n1. Każdy może brać udział w dyskusjach.\n2. Portal www.spedycje.pl nie bierze odpowiedzialności za treści umieszczane na forach przez użytkowników Forum.\n3. Portal www.spedycje.pl zastrzega sobie prawo do usuwania wiadomości niezgodnych z prawem lub naruszających dobre obyczaje.\n4. Portal www.spedycje.pl zastrzega sobie prawo do prezentowania treści dyskusji oraz jej fragmentów również na innych niż Forum stronach portalu www.spedycje.pl\n5. Jeżeli którykolwiek z postów na forum łamie regulamin, zawiadom nas o tym pisząc na redakcja@spedycje.pl") } else { el.style.display = 'none'; } } //------------