
$(document).ready(function(){$('#logo').hide().fadeIn(5000);});$(function(){$('#leftmenu a').stop().animate({'marginLeft':'20px'},1000);$('#leftmenu a.dropact').stop().animate({'marginLeft':'2px'},1000);$('#leftmenu > li').hover(function(){$('a',$(this)).stop().animate({'marginLeft':'2px'},200);},function(){$('a',$(this)).stop().animate({'marginLeft':'20px'},200);$('a.dropact',$(this)).stop().animate({'marginLeft':'2px'},200);});});$(document).ready(function(){$("#slidecontent").hide();$('#box_link').toggle(function(){$('#slidecontent').show(function(){$('#slidecontent').animate({width:'90'},500);});},function(){$('#slidecontent').animate({width:"0"},500,function(){$('#slidecontent').hide();});});});$(document).ready(function(){$("#slidecontent2").hide();$('#box_link2').toggle(function(){$('#slidecontent2').show(function(){$('#slidecontent2').animate({width:'150'},500);});},function(){$('#slidecontent2').animate({width:"0"},500,function(){$('#slidecontent2').hide();});});});$(document).ready(function(){$('#topmenu li').hover(function(){$('ul',this).slideDown(100);},function(){$('ul',this).slideUp(100);});});$(document).ready(function(){$(".anchor").click(function(event){event.preventDefault();var full_url=this.href;var parts=full_url.split("#");var trgt=parts[1];var target_offset=$("#"+trgt).offset();var target_top=target_offset.top;$('html, body').animate({scrollTop:target_top},500);});});$(document).ready(function(){$("span.currency.eu").hide();$("span.currency.gb").hide();$("span.currency.za").hide();$(".currencies").change(function(){if($("#usd").attr("checked")==true){$("span.currency.us").show();}else{$("span.currency.us").hide();}
if($("#eur").attr("checked")==true){$("span.currency.eu").show();}else{$("span.currency.eu").hide();}
if($("#gbp").attr("checked")==true){$("span.currency.gb").show();}else{$("span.currency.gb").hide();}
if($("#zar").attr("checked")==true){$("span.currency.za").show();}else{$("span.currency.za").hide();}});if($("#usd").attr("checked")==true){$("span.currency.us").show();}else{$("span.currency.us").hide();}
if($("#eur").attr("checked")==true){$("span.currency.eu").show();}else{$("span.currency.eu").hide();}
if($("#gbp").attr("checked")==true){$("span.currency.gb").show();}else{$("span.currency.gb").hide();}
if($("#zar").attr("checked")==true){$("span.currency.za").show();}else{$("span.currency.za").hide();}});
