
function slide(navigation_id,pad_out,pad_in,time,multiplier){var list_elements=navigation_id+" li.sliding-element";var link_elements=list_elements+" a";var timer=0;$(list_elements).each(function(i){$(this).css("margin-left","-180px");timer=(timer*multiplier+time);$(this).animate({marginLeft:"0"},timer);$(this).animate({marginLeft:"15px"},timer);$(this).animate({marginLeft:"0"},timer);});$(link_elements).each(function(i){$(this).hover(function(){$(this).animate({paddingLeft:pad_out},150);},function(){$(this).animate({paddingLeft:pad_in},150);});});};function searchNavHandler(event){var $target=$(event.target);$("ul#sliding-navigation li a.selected").removeClass("selected");$target.addClass("selected");return false;};(function($){$(function(){var windowWidth=document.body.clientWidth;var getWidth=$('#content').width();var setWidth=0;var sections=$("#sliding-navigation li a");var customer_sections=$("#customers_main li a");var games_sections=$("#games_main li a");var management_sections=$("#mng_main li a");var asistance_sections=$("#asistance_main li a");var terminals_sections=$("#terminals_main li a");var contacts_sections=$("#contacts a");var scroller_sections=$("#scroller .hp-highlight a");var loading=$("#loading");var content=$("#content");var wrapper=$("#wrapper");function showLoading(){loading.css({visibility:"visible"}).css({opacity:"1"}).css({display:"block"});};function hideLoading(){loading.fadeTo(1000,0);};slide("#sliding-navigation",25,15,150,.8);$("#scroller").simplyScroll({className:'custom',autoMode:'loop',horizontal:false,pauseOnHover:true,frameRate:14,speed:4});$('.custom .simply-scroll-clip').css({'height':'1680px'});$('.simply-scroll-container').css({position:'absolute',top:0,right:0});$("#skype").hover(function(){$(this).animate({opacity:1},400);},function(){$(this).animate({opacity:0.5},400);});$("#mailto").hover(function(){$(this).animate({opacity:1},400);},function(){$(this).animate({opacity:0.5},400);});$("#impresum").hover(function(){$(this).animate({opacity:1},400);},function(){$(this).animate({opacity:0.5},400);});$("#sr_mailto").hover(function(){$(this).animate({opacity:1},400);},function(){$(this).animate({opacity:0.5},400);});$("#sr_impresum").hover(function(){$(this).animate({opacity:1},400);},function(){$(this).animate({opacity:0.5},400);});check=function(){$('#wrapper').fadeTo(2000,1).show().jScrollPane({showArrows:false,reinitialiseOnImageLoad:false});};hide_lava=function(){if($('ul.lamp').is(':visible')){$('ul.lamp').css({display:'none'});$('ul.lamp li').removeClass('selectedLava');$('ul.lamp li.backLava').remove();}};check_selected=function(){$("ul#sliding-navigation > li").click(searchNavHandler);};customers_submenu=function(){$('ul#customers_main').fadeIn(1000);$("ul#customers_main").lavaLamp({fx:"easeOutBack",speed:700,startItem:0});};games_submenu=function(){$('ul#games_main').fadeIn(1000);$("#games_main").lavaLamp({fx:"easeOutBack",speed:700,startItem:0});};management_submenu=function(){$('ul#mng_main').fadeIn(1000);$("#mng_main").lavaLamp({fx:"easeOutBack",speed:700,startItem:0});};asistance_submenu=function(){$('ul#asistance_main').fadeIn(1000);$("#asistance_main").lavaLamp({fx:"easeOutBack",speed:700,startItem:0});};terminals_submenu=function(){$('ul#terminals_main').fadeIn(1000);$("#terminals_main").lavaLamp({fx:"easeOutBack",speed:700,startItem:0});};sections.click(function(){showLoading();switch(this.id){case"home":check_selected();hide_lava();content.fadeOut();wrapper.load("en_home.html",hideLoading);content.fadeIn(check);break;case"games":check_selected();hide_lava();content.fadeOut();wrapper.load("en_games_overview.html",hideLoading);content.fadeIn(check);games_submenu();break;case"management":check_selected();hide_lava();content.fadeOut();wrapper.load("en_management_overview.html",hideLoading);content.fadeIn(check);management_submenu();break;case"asistance":check_selected();hide_lava();content.fadeOut();wrapper.load("en_asistance_overview.html",hideLoading);content.fadeIn(check);asistance_submenu();break;case"terminals":check_selected();hide_lava();content.fadeOut();wrapper.load("en_terminals_overview.html",hideLoading);content.fadeIn(check);terminals_submenu();break;case"download":check_selected();hide_lava();content.fadeOut();wrapper.load("en_download.html",hideLoading);content.fadeIn(check);break;case"customers":check_selected();hide_lava();content.fadeOut();wrapper.load("en_customers_overview.html",hideLoading);content.fadeIn(check);customers_submenu();break;case"sr_home":check_selected();hide_lava();content.fadeOut();wrapper.load("sr_home.html",hideLoading);content.fadeIn(check);break;case"sr_games":check_selected();hide_lava();content.fadeOut();wrapper.load("sr_games_overview.html",hideLoading);content.fadeIn(check);games_submenu();break;case"sr_management":check_selected();hide_lava();content.fadeOut();wrapper.load("sr_management_overview.html",hideLoading);content.fadeIn(check);management_submenu();break;case"sr_asistance":check_selected();hide_lava();content.fadeOut();wrapper.load("sr_asistance_overview.html",hideLoading);content.fadeIn(check);asistance_submenu();break;case"sr_terminals":check_selected();hide_lava();content.fadeOut();wrapper.load("sr_terminals_overview.html",hideLoading);content.fadeIn(check);terminals_submenu();break;case"sr_download":check_selected();hide_lava();content.fadeOut();wrapper.load("sr_download.html",hideLoading);content.fadeIn(check);break;case"sr_customers":check_selected();hide_lava();content.fadeOut();wrapper.load("sr_customers_overview.html",hideLoading);content.fadeIn(check);customers_submenu();break;default:hideLoading();break;};});customer_sections.click(function(){showLoading();switch(this.id){case"cust_overview":content.fadeOut();wrapper.load("en_customers_overview.html",hideLoading);content.fadeIn(check);break;case"cust_list":content.fadeOut();wrapper.load("en_mail.html",hideLoading);content.fadeIn(check);break;case"sr_cust_overview":content.fadeOut();wrapper.load("sr_customers_overview.html",hideLoading);content.fadeIn(check);break;case"sr_cust_list":content.fadeOut();wrapper.load("sr_mail.html",hideLoading);content.fadeIn(check);break;default:hideLoading();break;};});games_sections.click(function(){showLoading();switch(this.id){case"games_overview":content.fadeOut();wrapper.load("en_games_overview.html",hideLoading);content.fadeIn(check);break;case"games_casino":content.fadeOut();wrapper.load("en_games_casino.html",hideLoading);content.fadeIn(check);break;case"games_poker":content.fadeOut();wrapper.load("en_games_poker.html",hideLoading);content.fadeIn(check);break;case"games_custom":content.fadeOut();wrapper.load("en_games_custom.html",hideLoading);content.fadeIn(check);break;case"games_tbusters":content.fadeOut();wrapper.load("en_games_tbusters.html",hideLoading);content.fadeIn(check);break;case"sr_games_overview":content.fadeOut();wrapper.load("sr_games_overview.html",hideLoading);content.fadeIn(check);break;case"sr_games_casino":content.fadeOut();wrapper.load("sr_games_casino.html",hideLoading);content.fadeIn(check);break;case"sr_games_poker":content.fadeOut();wrapper.load("sr_games_poker.html",hideLoading);content.fadeIn(check);break;case"sr_games_custom":content.fadeOut();wrapper.load("sr_games_custom.html",hideLoading);content.fadeIn(check);break;case"sr_games_tbusters":content.fadeOut();wrapper.load("sr_games_tbusters.html",hideLoading);content.fadeIn(check);break;default:hideLoading();break;};});management_sections.click(function(){showLoading();switch(this.id){case"mng_overview":content.fadeOut();wrapper.load("en_management_overview.html",hideLoading);content.fadeIn(check);break;case"mng_backoffice":content.fadeOut();wrapper.load("en_management_backoffice.html",hideLoading);content.fadeIn(check);break;case"mng_business":content.fadeOut();wrapper.load("en_management_business.html",hideLoading);content.fadeIn(check);break;case"mng_access":content.fadeOut();wrapper.load("en_management_access.html",hideLoading);content.fadeIn(check);break;case"sr_mng_overview":content.fadeOut();wrapper.load("sr_management_overview.html",hideLoading);content.fadeIn(check);break;case"sr_mng_backoffice":content.fadeOut();wrapper.load("sr_management_backoffice.html",hideLoading);content.fadeIn(check);break;case"sr_mng_business":content.fadeOut();wrapper.load("sr_management_business.html",hideLoading);content.fadeIn(check);break;case"sr_mng_access":content.fadeOut();wrapper.load("sr_management_access.html",hideLoading);content.fadeIn(check);break;default:hideLoading();break;};});asistance_sections.click(function(){showLoading();switch(this.id){case"asistance_overview":content.fadeOut();wrapper.load("en_asistance_overview.html",hideLoading);content.fadeIn(check);break;case"asistance_surveillance":content.fadeOut();wrapper.load("en_asistance_surveillance.html",hideLoading);content.fadeIn(check);break;case"asistance_enduser":content.fadeOut();wrapper.load("en_asistance_enduser.html",hideLoading);content.fadeIn(check);break;case"sr_asistance_overview":content.fadeOut();wrapper.load("sr_asistance_overview.html",hideLoading);content.fadeIn(check);break;case"sr_asistance_surveillance":content.fadeOut();wrapper.load("sr_asistance_surveillance.html",hideLoading);content.fadeIn(check);break;case"sr_asistance_enduser":content.fadeOut();wrapper.load("sr_asistance_enduser.html",hideLoading);content.fadeIn(check);break;default:hideLoading();break;};});terminals_sections.click(function(){showLoading();switch(this.id){case"terminals_overview":content.fadeOut();wrapper.load("en_terminals_overview.html",hideLoading);content.fadeIn(check);break;case"sr_terminals_overview":content.fadeOut();wrapper.load("sr_terminals_overview.html",hideLoading);content.fadeIn(check);break;default:hideLoading();break;};});contacts_sections.click(function(){showLoading();switch(this.id){case"mailto":$('ul#sliding-navigation li a').removeClass('selected');$('#sub_menu ul').css({display:'none'});content.fadeOut();wrapper.load("en_mail.html",hideLoading);content.fadeIn(check);break;case"impresum":$('ul#sliding-navigation li a').removeClass('selected');$('#sub_menu ul').css({display:'none'});content.fadeOut();wrapper.load("en_impresum.html",hideLoading);content.fadeIn(check);break;case"sr_mailto":$('ul#sliding-navigation li a').removeClass('selected');$('#sub_menu ul').css({display:'none'});content.fadeOut();wrapper.load("sr_mail.html",hideLoading);content.fadeIn(check);break;case"sr_impresum":$('ul#sliding-navigation li a').removeClass('selected');$('#sub_menu ul').css({display:'none'});content.fadeOut();wrapper.load("sr_impresum.html",hideLoading);content.fadeIn(check);break;default:hideLoading();break;};});scroller_sections.click(function(){showLoading();switch(this.id){case"scroll_1":content.fadeOut();wrapper.load("en_scroll_1.html",hideLoading);content.fadeIn(check);break;case"scroll_2":content.fadeOut();wrapper.load("en_scroll_2.html",hideLoading);content.fadeIn(check);break;case"scroll_3":content.fadeOut();wrapper.load("en_scroll_3.html",hideLoading);content.fadeIn(check);break;case"scroll_4":content.fadeOut();wrapper.load("en_scroll_4.html",hideLoading);content.fadeIn(check);break;case"scroll_5":content.fadeOut();wrapper.load("en_scroll_5.html",hideLoading);content.fadeIn(check);break;case"scroll_6":content.fadeOut();wrapper.load("en_scroll_6.html",hideLoading);content.fadeIn(check);break;case"scroll_7":content.fadeOut();wrapper.load("en_scroll_7.html",hideLoading);content.fadeIn(check);break;case"scroll_8":content.fadeOut();wrapper.load("en_scroll_8.html",hideLoading);content.fadeIn(check);break;case"sr_scroll_1":content.fadeOut();wrapper.load("sr_scroll_1.html",hideLoading);content.fadeIn(check);break;case"sr_scroll_2":content.fadeOut();wrapper.load("sr_scroll_2.html",hideLoading);content.fadeIn(check);break;case"sr_scroll_3":content.fadeOut();wrapper.load("sr_scroll_3.html",hideLoading);content.fadeIn(check);break;case"sr_scroll_4":content.fadeOut();wrapper.load("sr_scroll_4.html",hideLoading);content.fadeIn(check);break;case"sr_scroll_5":content.fadeOut();wrapper.load("sr_scroll_5.html",hideLoading);content.fadeIn(check);break;case"sr_scroll_6":content.fadeOut();wrapper.load("sr_scroll_6.html",hideLoading);content.fadeIn(check);break;case"sr_scroll_7":content.fadeOut();wrapper.load("sr_scroll_7.html",hideLoading);content.fadeIn(check);break;case"sr_scroll_8":content.fadeOut();wrapper.load("sr_scroll_8.html",hideLoading);content.fadeIn(check);break;default:hideLoading();break;};});});})(jQuery);$(window).load(function(){$(".hp-highlight a").mouseover(function(){$(this).prev().animate({opacity:0.85,left:0},500);}).mouseout(function(){$(this).prev().animate({opacity:0,left:'230px'},500);});$("#scroller").mouseenter(function(){$(this).animate({opacity:1},200);}).mouseleave(function(){$(this).animate({opacity:0.1},200);});$('#pause').click(function(){$('#slides').cycle('pause');return false;});$('#play').click(function(){$('#slides').cycle('resume');return false;});$('#slideshow').hover(function(){$('#controls').fadeIn();},function(){$('#controls').fadeOut();});$('#slides').cycle({fx:'fade',requeueOnImageNotLoaded:true,requeueTimeout:250,speed:800,timeout:5000,next:'#next',prev:'#prev'});$('#start_load').fadeTo(1000,0,function(){$('#start_load').css({'display':'none'});});$('#background-img').fadeIn(2000,function(){$('#scroller').animate({opacity:0.1},1000);$('#hide1').animate({opacity:1},1000);});$('#container').fadeIn();$('#contacts').fadeIn();var windowHeight=document.documentElement.clientHeight;$('#content').css({height:windowHeight-55});$('#wrapper').css({height:windowHeight-55});$.preloadImages("http://www.softdevelopment.eu/images/lava.gif","http://www.softdevelopment.eu/images/slideshow/sr_games_overview1.png","http://www.softdevelopment.eu/images/slideshow/sr_games_overview2.png","http://www.softdevelopment.eu/images/game_over.png","http://www.softdevelopment.eu/images/game_over1.png","http://www.softdevelopment.eu/images/slideshow/management1.png","http://www.softdevelopment.eu/images/slideshow/management2.png","http://www.softdevelopment.eu/images/slideshow/assistance1.png","http://www.softdevelopment.eu/images/slideshow/assistance2.png","http://www.softdevelopment.eu/images/slideshow/terminals1.png","http://www.softdevelopment.eu/images/slideshow/terminals2.png","http://www.softdevelopment.eu/images/terminals_over.png","http://www.softdevelopment.eu/images/terminals_over1.png","http://www.softdevelopment.eu/images/download_pdf.png","http://www.softdevelopment.eu/images/contacts1.png","http://www.softdevelopment.eu/images/slideshow/games1.png","http://www.softdevelopment.eu/images/slideshow/games2.png","http://www.softdevelopment.eu/images/online-casino-gambling.png","http://www.softdevelopment.eu/images/gallery/Casino/thumbs/bingo.jpg","http://www.softdevelopment.eu/images/gallery/Casino/thumbs/blackjack.jpg","http://www.softdevelopment.eu/images/gallery/Casino/thumbs/bookofegypt.jpg","http://www.softdevelopment.eu/images/gallery/Casino/thumbs/dolphinspins.jpg","http://www.softdevelopment.eu/images/gallery/Casino/thumbs/dragonstreasure.jpg","http://www.softdevelopment.eu/images/gallery/Casino/thumbs/flamefruits.jpg","http://www.softdevelopment.eu/images/gallery/Casino/thumbs/fruitpower.jpg","http://www.softdevelopment.eu/images/gallery/Casino/thumbs/megafruitpower.jpg","http://www.softdevelopment.eu/images/gallery/Casino/thumbs/ramses.jpg","http://www.softdevelopment.eu/images/gallery/Casino/thumbs/roulete.jpg","http://www.softdevelopment.eu/images/gallery/Casino/thumbs/royalcash.jpg","http://www.softdevelopment.eu/images/gallery/Casino/thumbs/royalfruitpoker.jpg","http://www.softdevelopment.eu/images/gallery/Casino/thumbs/royaltriplewin.jpg","http://www.softdevelopment.eu/images/gallery/Casino/thumbs/royalwin.jpg","http://www.softdevelopment.eu/images/gallery/Casino/thumbs/sharky.jpg","http://www.softdevelopment.eu/images/gallery/Casino/thumbs/wildwest.jpg","http://www.softdevelopment.eu/images/slideshow/sr_games_poker1.png","http://www.softdevelopment.eu/images/slideshow/sr_games_poker2.png","http://www.softdevelopment.eu/images/poker1.png","http://www.softdevelopment.eu/images/poker2.png","http://www.softdevelopment.eu/images/poker3.png","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/add11.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/backgammon.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/billiard.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/coldwar.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/fencein.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/fencein_xxx.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/findit.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/findit_xxx.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/flip.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/gem.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/jigsaw.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/jigsaw_xxx.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/make4.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/maze.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/memory.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/memory_xxx.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/pipes.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/samegame.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/samegame_xxx.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/shanghai.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/solitaire.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/take3.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/towers.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/xchange.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/xchange_xxx.jpg","http://www.softdevelopment.eu/images/gallery/Amusement/thumbs/yahtzee.jpg","http://www.softdevelopment.eu/images/slideshow/backoffice1.png","http://www.softdevelopment.eu/images/slideshow/backoffice2.png","http://www.softdevelopment.eu/images/gallery/backoffice/small_BackofficeExample.png","http://www.softdevelopment.eu/images/business-report.png","http://www.softdevelopment.eu/images/business-report1.png","http://www.softdevelopment.eu/images/security1.png","http://www.softdevelopment.eu/images/security2.png","http://www.softdevelopment.eu/images/slideshow/en1_ss.png","http://www.softdevelopment.eu/images/slideshow/en2_ss.png","http://www.softdevelopment.eu/images/slideshow/games_overview1.png","http://www.softdevelopment.eu/images/slideshow/games_overview2.png","http://www.softdevelopment.eu/images/slideshow/games_poker1.png","http://www.softdevelopment.eu/images/slideshow/games_poker2.png");});
