function CMain(){this.maxDiv=this.actDiv=this.firstDiv="";this.rdiv="cd";this.ldiv="ld";this.fadeTime=700;this.checkContactForm=function(){var a="";if($("input[name='cname']").val()=="")a="meno.";else if($("input[name='cemail']").val()=="")a="kontaktn\u00fd mail.";else if($("textarea[name='message']").val()=="")a="text spr\u00e1vy.";if(a!=""){alert("Pros\u00edm vyp\u013ente "+a);return false}return true};this.init=function(){new String(window.location.href);$(document).ready(function(){$("#contents .content .hide").removeClass("hide");
$("#service_web").jCarouselLite({btnNext:"#service_web .next",btnPrev:"#service_web .prev",circular:"true",speed:500});$("#service_programming").jCarouselLite({btnNext:"#service_programming .next",btnPrev:"#service_programming .prev",circular:"true",speed:500});$("#service_graphic").jCarouselLite({btnNext:"#service_graphic .next",btnPrev:"#service_graphic .prev",circular:"true",speed:500});var a={};$("a#contact_link").fancybox({hideOnContentClick:false,hideOnOverlayClick:true});$("#service_web .content li a").fancybox(a);
$("#service_programming .content li a").fancybox(a);$("#service_graphic .content li a").fancybox(a);$("#header a[title]").qtip({content:{text:false},position:{corner:{tooltip:"topRight",target:"bottomLeft"}},style:{name:"cream",border:{width:5,radius:0},tip:"topRight"}});$("#wrapper a[title]").qtip({content:{text:false},position:{corner:{tooltip:"bottomleft",target:"topRight"}},style:{name:"cream",border:{width:5,radius:0},tip:"bottomLeft"}});$("#cf_send").click(function(){$("#cf_form").fadeOut(200);
$("#cf_thanks").fadeIn(400)})})};this.init()}cm=new CMain;

