RUZEE.Borders.add({".rounded_Top, .rounded_Bottom, .rounded_Left, .rounded_Right":{borderType:"simple",cornerRadius:5},".rounded_Top":{edges:"lrt"},".rounded_Bottom":{edges:"lrb"},".rounded_Left":{edges:"ltb"},".rounded_Right":{edges:"rtb"},".rounded_corner_TopAll":{borderType:"simple",edges:"lrt",cornerRadius:5},".rounded_corner_BottomAll":{borderType:"simple",edges:"lrb",cornerRadius:5},".rounded_corner_LeftAll":{borderType:"simple",edges:"ltb",cornerRadius:5},".rounded_corner_LeftTop":{borderType:"simple",edges:"lt",cornerRadius:5},".rounded_corner_LeftBottom":{borderType:"simple",edges:"lb",cornerRadius:5},".rounded_corner_RightAll":{borderType:"simple",edges:"rtb",cornerRadius:5},".rounded_corner_RightTop":{borderType:"simple",edges:"rt",cornerRadius:5},".rounded_corner_RightBottom":{borderType:"simple",edges:"rb",cornerRadius:5},".rounded_picture":{borderType:"simple",cornerRadius:5},".rounded_border":{borderType:"simple",cornerRadius:5},".rounded_corner":{borderType:"simple",cornerRadius:5},".rounded_border_shadow":{borderType:"shadow",cornerRadius:5,shadowWidth:4},".rounded_corner_shadow":{borderType:"shadow",cornerRadius:5,shadowWidth:4},".rounded_border_glow":{borderType:"glow",cornerRadius:5,glowRadius:4,glowColor:"#CCCCCC"},".rounded_corner_glow":{borderType:"glow",cornerRadius:5,glowRadius:4,glowColor:"#CCCCCC"},".rounded_corner_fade":{borderType:"fade",cornerRadius:8}});function send(){var a=Form.serialize($("commentsForm"));new Ajax.Updater("previewdiv","ddtJavascript/AjaxOnLoad/edit.asp",{method:"get",asynchronous:true,parameters:a})}function sendEmail(){var a=Form.serialize($("mailForm"));new Ajax.Updater("email","ddtJavascript/AjaxOnLoad/Components/emailForm_CMD.asp",{method:"post",asynchronous:true,parameters:a})}function group(a){$("bodycontent").innerHTML="Loading...";new Ajax.Updater("bodycontent","ddtComponents/Components/Content/recBody.asp?id="+a,{method:"get",asynchronous:true,evalScripts:true})}function naslovna(){$("bodycontent").innerHTML="Loading...";new Ajax.Updater("bodycontent","ddtComponents/Components/Content/recBodyNaslovna.asp",{onComplete:function(){Element.hide("bodycontent");Effect.Appear("bodycontent")},method:"get",asynchronous:true,evalScripts:true})}function header(){$("header").innerHTML="Loading...";new Ajax.Updater("header","ddtComponents/Components/Content/recHeader.asp",{method:"get",asynchronous:true,evalScripts:true})}function footer(){$("footer").innerHTML="Loading...";new Ajax.Updater("footer","ddtComponents/Components/Content/recFooter.asp",{method:"get",asynchronous:true,evalScripts:true})}window.onload=function(){RUZEE.Borders.render()};function addBookmark(b,a){if(window.sidebar){window.sidebar.addPanel(b,a,"")}else{if(document.all){window.external.AddFavorite(a,b)}else{if(window.opera&&window.print){return true}}}}function ddtsearch(){$("ddtsearch").innerHTML="Loading...";new Ajax.Updater("ddtsearch","ddtComponents/Components/Search_Form/Form_Search.asp",{method:"post",asynchronous:true,evalScripts:true})}function searchResult(){var b=Form.serialize($("searchForm"));var a=new Ajax.Updater("body","ddtComponents/Components/Search_Form/searchResult.asp",{onComplete:function(){Element.hide("body");Effect.Appear("body")},method:"get",asynchronous:true,parameters:b,evalScripts:true})}function ddtsearchnavigation(a,b){$("body");new Ajax.Updater("body","ddtComponents/Components/Search_Form/searchResult.asp?txtBaraj="+a+"&offset="+b,{method:"get",asynchronous:true,evalScripts:true})}function ddtsearchprev(a,b){$("body");new Ajax.Updater("body","ddtComponents/Components/Search_Form/searchResult.asp?txtBaraj="+a+"&offset="+b,{method:"get",asynchronous:true,evalScripts:true})}function ddtsearchnext(a,b){$("body");new Ajax.Updater("body","ddtComponents/Components/Search_Form/searchResult.asp?txtBaraj="+a+"&offset="+b,{method:"get",asynchronous:true,evalScripts:true})}function ddtemail(){$("ddtemail").innerHTML="Loading...";new Ajax.Updater("ddtemail","ddtComponents/Components/Email_Form/Form_Email.asp",{method:"post",asynchronous:true,evalScripts:true})}function sendEmailVal(){var a=new Validation("mailForm",{onSubmit:true,immediate:true,useTitles:true});if(a.validate()){var c=Form.serialize($("mailForm"));var b=new Ajax.Updater("ddtemail","ddtComponents/Components/Email_Form/CMD_Email.asp",{onComplete:function(){Element.hide("ddtemail");Effect.Appear("ddtemail")},method:"post",asynchronous:true,parameters:c,evalScripts:true})}}function ddtmap(){$("ddtmap").innerHTML="Loading...";new Ajax.Updater("ddtmap","ddtComponents/Components/Map/Map_Inc.asp",{method:"post",asynchronous:true,evalScripts:true})}function sendpage(a){$("body").innerHTML="Loading...";new Ajax.Updater("body","ddtComponents/Components/Send_to_friend/SendForm.asp?id="+a,{onComplete:function(){Element.hide("body");Effect.Appear("body")},method:"post",asynchronous:true,evalScripts:true})}function sendpagecmd(){var a=new Validation("sendpage",{onSubmit:true,immediate:true,useTitles:true});if(a.validate()){var c=Form.serialize($("sendpage"));var b=new Ajax.Updater("body","ddtComponents/Components/Send_to_friend/CMD_Email.asp",{onComplete:function(){Element.hide("body");Effect.Appear("body")},method:"post",asynchronous:true,parameters:c,evalScripts:true})}}function ddtmenuhor(){$("ddtmenuhor").innerHTML="Loading...";new Ajax.Updater("ddtmenuhor","ddtComponents/Components/dhtmlGoodies/menuGroups.asp",{method:"get",asynchronous:true,evalScripts:true})}function ddteshop(){$("ddteshop").innerHTML="Loading...";new Ajax.PeriodicalUpdater("ddteshop","ddtComponents/Components/Eshop/recCount.asp",{method:"post",asynchronous:true,frequency:5,evalScripts:true})}function ddtcurentvisitors(){$("ddtcurentvisitors").innerHTML="Loading...";new Ajax.PeriodicalUpdater("ddtcurentvisitors","ddtComponents/Components/CurentVisitors/Default.asp",{method:"post",asynchronous:true,frequency:120,evalScripts:true})}function groupEff(a){$("body").innerHTML="Loading...";new Ajax.Updater("body","ddtComponents/Components/Content/recBody.asp?id="+a,{onComplete:function(){Element.hide("body");Effect.Appear("body")},method:"get",asynchronous:true,evalScripts:true})}function ddtnavigation(a,b){$(b);new Ajax.Updater(b,a,{onComplete:function(){Element.hide(b);Effect.BlindDown(b)},method:"get",asynchronous:true,evalScripts:true})}function ddtnavigation5(j,g,i,e,h,d,f,b,c,a){$(g);new Ajax.Updater(g,j,{onComplete:function(){$(e);new Ajax.Updater(e,i,{onComplete:function(){$(d);new Ajax.Updater(d,h,{onComplete:function(){$(b);new Ajax.Updater(b,f,{onComplete:function(){$(a);new Ajax.Updater(a,c,{method:"post",asynchronous:true,evalScript:true})},method:"post",asynchronous:true,evalScript:true})},method:"post",asynchronous:true,evalScript:true})},method:"post",asynchronous:true,evalScripts:true})},method:"post",asynchronous:true,evalScripts:true})}function ddtforms(a,f,e){var b=new Validation(e,{onSubmit:true,immediate:true,useTitles:true});if(b.validate()){var d=Form.serialize($(e));var c=new Ajax.Updater(f,a,{onComplete:function(){Element.hide(f);Effect.Appear(f)},method:"post",asynchronous:true,parameters:d,evalScripts:true})}}function ddtformsredirect(a,h,f,g,b){var c=new Validation(f,{onSubmit:true,immediate:true,useTitles:true});if(c.validate()){var e=Form.serialize($(f));var d=new Ajax.Updater(h,a,{onComplete:function(){$(b).innerHTML="Loading...";new Ajax.Updater(b,g,{method:"post",asynchronous:true,evalScript:true})},method:"post",asynchronous:true,parameters:e,evalScripts:true})}}var lastClicked=null;function ddtToggle(e,c,d,b,a){identity=document.getElementById(e);if(lastClicked){lastClicked.style.backgroundColor="";lastClicked.style.borderColor="";lastClicked.style.borderStyle="";lastClicked.style.backgroundImage=""}identity.style.backgroundColor=c;identity.style.borderColor=d;identity.style.borderStyle=b;identity.style.backgroundImage=a;lastClicked=identity}var posledenKliknat=null;function changeClass(c,b,a){klik=document.getElementById(c);if(posledenKliknat){posledenKliknat.className=a}klik.className=b;posledenKliknat=klik}function tabUpdate(c,e,d,a,b){new Ajax.Updater(e,c,{onComplete:function(){changeClass(d,a,b)},method:"get",asynchronous:true,evalScripts:true})}function ddtformsclassic(a,d,c){var b=Form.serialize($(c));new Ajax.Updater(d,a,{method:"post",asynchronous:true,parameters:b,evalScripts:true})}function ddtformsclassicredirect(a,f,d,e,b){var c=Form.serialize($(d));new Ajax.Updater(f,a,{onComplete:function(){$(b);new Ajax.Updater(b,e,{method:"post",asynchronous:true,evalScript:true})},method:"post",asynchronous:true,parameters:c,evalScripts:true})}var rootdomain="http://"+window.location.hostname;function ajaxinclude(a){var c=false;if(window.XMLHttpRequest){c=new XMLHttpRequest()}else{if(window.ActiveXObject){try{c=new ActiveXObject("Msxml2.XMLHTTP")}catch(b){try{c=new ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}}else{return false}}c.open("GET",a,false);c.send(null);writecontent(c)}function writecontent(a){if(window.location.href.indexOf("http")==-1||a.status==200){document.write(a.responseText)}}function ddtslide(a,c){try{$(c);new Ajax.Updater(c,a,{onComplete:function(){Element.hide(c);Effect.BlindDown(c)},method:"get",asynchronous:true,evalScripts:true})}catch(b){}}function morpf(a){$(a);new Effect.Morph(a,{style:"top:-30px; height:230px;",duration:0.2,delay:0});$(a).observe("mouseout",function(b){if(Position.within($(a),Event.pointerX(b),Event.pointerY(b))){return}new Effect.Morph(a,{style:"top:0px; height:200px;",duration:0.2,delay:0})})}function MorpfOn(a){$(a);new Effect.Morph(a,{style:"top:-30px; height:230px;",duration:0.2})}function MorpfOff(a){$(a);new Effect.Morph(a,{style:"top:0px; height:200px;",duration:0.2})}function moveUp(a){var b=document.getElementById(a);b.style.top="-30px";b.style.height="230px"}function moveDown(a){var b=document.getElementById(a);b.style.top="0px";b.style.height="200px"};

