jQuery(document).ready(function(){var DeviceWidth=$(window).innerWidth();var DeviceHeight=$(window).innerHeight();$(".header_button").css({"min-width":(DeviceWidth/10)*0.95});$(".right_up").click(function(){$('.enquiry-light').show();$('.enquiry-fade').show();});var str=location.href.toLowerCase();$(".blocker a").each(function(){if(str.indexOf(this.href.toLowerCase())>-1){$("a.highlight").removeClass("highlight");$(this).addClass("highlight");}});$(".tabs-menu a").click(function(event){event.preventDefault();$(this).parent().addClass("current");$(this).parent().siblings().removeClass("current");var tab=$(this).attr("href");$(".tab-content").not(tab).css("display","none");$(tab).fadeIn();});$('.parent div').hide();$('.video-menu a').click(function(){$(".video-menu a").each(function(){$(this).css("color","#000");$(this).css("background-color","#FFF");});$(this).css("color","#0A1AB6");$(this).css("background-color","rgb(80,210,242)");console.log($(this).index('a'));var $div=$('.parent > div').eq($(this).index('.video-menu a'));$div.show();$('.parent > div').not($div).hide();});$('.right .about div').hide();$('.about-menu a').click(function(){$(".about-menu a").each(function(){$(this).css("color","#000");$(this).css("background-color","#FFF");});$(this).css("color","#0A1AB6");$(this).css("background-color","rgb(80,210,242)");console.log($(this).index('a'));var $div=$('.right .about > div').eq($(this).index('.about-menu a'));$div.show();$('.right .about > div').not($div).hide();});$('.right .screenshot div').hide();$(".screenshot-menu a").click(function(event){$(".screenshot-menu a").each(function(){$(this).css("color","#000");$(this).css("background-color","#FFF");});$(this).css("color","#0A1AB6");$(this).css("background-color","rgb(80,210,242)");console.log($(this).index('a'));var $div=$('.right .screenshot > div').eq($(this).index('.screenshot-menu a'));$div.show();$('.right .screenshot > div').not($div).hide();});$('.right .concept div').hide();$(".concept-menu a").click(function(event){$(".concept-menu a").each(function(){$(this).css("color","#000");$(this).css("background-color","#FFF");});$(this).css("color","#0A1AB6");$(this).css("background-color","rgb(80,210,242)");console.log($(this).index('a'));var $div=$('.right .concept > div').eq($(this).index('.concept-menu a'));$div.show();$('.right .concept > div').not($div).hide();});var switchTo5x=true;stLight.options({publisher:'12345',doNotHash:false,doNotCopy:false,hashAddressBar:false});});jQuery(window).resize(function(){var DeviceWidth=$(window).innerWidth();var DeviceHeight=$(window).innerHeight();$(".header_button").css({"min-width":(DeviceWidth/10)*0.95});});jQuery(document).ready(function(){$(".left ul li a:first").trigger("click");});window.document.onkeydown=function(e){if(!e){e=event;}if(e.keyCode==27){lightbox_close();}} function lightbox_open(){window.scrollTo(0,0);document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'}function lightbox_close(){document.getElementById('light').style.display='none';document.getElementById('fade').style.display='none'}function lightbox2_open(){window.scrollTo(0,0);document.getElementById('light2').style.display='block';document.getElementById('fade2').style.display='block'}function lightbox2_close(){window.scrollTo(0,0);document.getElementById('light2').style.display='none';document.getElementById('fade2').style.display='none'}setTimeout(function(){lightbox_open()},800*10);setTimeout(function(){lightbox2_open()},800*10);function enquiry_open(){window.scrollTo(0,0);document.getElementById('enquiry-light').style.display='block';document.getElementById('enquiry-fade').style.display='block'}function enquiry_close(){document.getElementById('enquiry-light').style.display='none';document.getElementById('enquiry-fade').style.display='none'}