window.addEvent('load', function() { new JCaption('img.caption'); }); var hwdms_live_site = ""; jQuery(document).ready(function(){ jQuery("#featuredslider-637 > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 4000, true); }); jQuery(document).ready(function($){ //Full Caption Sliding (Hidden to Visible) $('.jboxgrid.captionfull').hover(function(){ $(".cover", this).stop().animate({top:'0px'},{queue:false,duration:60}); }, function() { $(".cover", this).stop().animate({top:'-128px'},{queue:false,duration:160}); }); }); window.addEvent('load', function() { new JCaption('img.caption'); }); var hwdms_live_site = ""; window.addEvent('domready', function() { SqueezeBox.initialize({}); SqueezeBox.assign($$('a.modal'), { parse: 'rel' }); }); (function($){ window.addEvent('domready',function(){this.Slider246 = new DJImageSlider({id: '246', slider_type: 2, slide_size: 735, visible_slides: 1, show_buttons: 1, show_arrows: 1, preload: 300},{auto: 1, transition: Fx.Transitions.linear, duration: 600, delay: 3600})}); })(document.id); (function($){ window.addEvent('domready',function(){this.Slider427 = new DJImageSlider({id: '427', slider_type: 2, slide_size: 650, visible_slides: 1, show_buttons: 1, show_arrows: 1, preload: 800},{auto: 1, transition: Fx.Transitions.linear, duration: 600, delay: 3600})}); })(document.id); window.addEvent('load', function() { new JCaption('img.caption'); }); var hwdms_live_site = ""; jQuery(document).ready(function(){ jQuery("#featuredslider-637 > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 4000, true); }); jQuery(document).ready(function($){ //Full Caption Sliding (Hidden to Visible) $('.boxgrid.captionfull').hover(function(){ $(".cover", this).stop().animate({top:'0px'},{queue:false,duration:60}); }, function() { $(".cover", this).stop().animate({top:'-128px'},{queue:false,duration:160}); }); }); window.addEvent('load', function() { new JCaption('img.caption'); }); var hwdms_live_site = ""; window.addEvent('domready', function() { SqueezeBox.initialize({}); SqueezeBox.assign($$('a.modal'), { parse: 'rel' }); }); (function($){ window.addEvent('domready',function(){this.Slider246 = new DJImageSlider({id: '246', slider_type: 2, slide_size: 735, visible_slides: 1, show_buttons: 1, show_arrows: 1, preload: 300},{auto: 1, transition: Fx.Transitions.linear, duration: 600, delay: 3600})}); })(document.id); (function($){ window.addEvent('domready',function(){this.Slider427 = new DJImageSlider({id: '427', slider_type: 2, slide_size: 650, visible_slides: 1, show_buttons: 1, show_arrows: 1, preload: 800},{auto: 1, transition: Fx.Transitions.linear, duration: 600, delay: 3600})}); })(document.id); jQuery(function($){ $('.marquee').marquee(); $('.rwsjquerymarque').marquee({ //speed in milliseconds of the marquee speed: 60000, //gap in pixels between the tickers gap: 10, //gap in pixels between the tickers delayBeforeStart: 0, //'left' or 'right' direction: 'right', //true or false - should the marquee be duplicated to show an effect of continues flow duplicated: true, //on hover pause the marquee - using jQuery plugin https://github.com/tobia/Pause pauseOnHover: true }); //pause and resume links $('.pause').click(function(e){ e.preventDefault(); $('.rwsjquerymarque').trigger('pause'); }); $('.resume').click(function(e){ e.preventDefault(); $('.rwsjquerymarque').trigger('resume'); }); //toggle $('.toggle').hover(function(e){ $('.rwsjquerymarque').trigger('pause'); },function(){ $('.rwsjquerymarque').trigger('resume'); }) .click(function(e){ e.preventDefault(); }) }); Date.prototype.stdTimezoneOffset = function() { var jan = new Date(this.getFullYear(), 0, 1); var jul = new Date(this.getFullYear(), 6, 1); return Math.max(jan.getTimezoneOffset(), jul.getTimezoneOffset()); }; Date.prototype.dst = function() { return this.getTimezoneOffset() < this.stdTimezoneOffset(); }; function ISO8601Local524(date) { // handles years from 0000 to 9999 only var offset524 = date.getTimezoneOffset(); var offsetSign524 = "-"; if (offset524 <= 0) { offsetSign524 = "+"; offset524 = -offset524; }; var offsetHours524 = Math.floor(offset524 / 60); var offsetMinutes524 = offset524 - offsetHours524 * 60; return ("000" + date.getFullYear()).slice(-4) + "-" + ("0" + (date.getMonth() + 1)).slice(-2) + "-" + ("0" + date.getDate()).slice(-2) + "T" + ("0" + date.getHours()).slice(-2) + ":" + ("0" + date.getMinutes()).slice(-2) + ":" + ("0" + date.getSeconds()).slice(-2) + "," + ("00" + date.getMilliseconds()).slice(-3) + offsetSign524 + ("0" + offsetHours524).slice(-2) + ":" + ("0" + offsetMinutes524).slice(-2); }; (function(a){a.fn.marquee=function(b){return this.each(function(){var j=a.extend({},a.fn.marquee.defaults,b),i=a(this),g,h,d,f;j=a.extend({},j,i.data());j.gap=j.duplicated?j.gap:0;i.wrapInner('
');var e=i.find(".js-marquee").css({"margin-right":j.gap,"float":"left"});if(j.duplicated){e.clone().appendTo(i)}i.wrapInner('');f=i.find(".js-marquee:first").width()+j.gap;g=i.find(".js-marquee-wrapper");h=i.width();j.speed=((parseInt(f,10)+parseInt(h,10))/parseInt(h,10))*j.speed;if(j.duplicated){j.speed=j.speed/2}var c=function(){if(!j.duplicated){g.css("margin-left",j.direction=="left"?h:"-"+f+"px");d={"margin-left":j.direction=="left"?"-"+f+"px":h}}else{g.css("margin-left",j.direction=="left"?0:"-"+f+"px");d={"margin-left":j.direction=="left"?"-"+f+"px":0}}i.trigger("beforeStarting");g.animate(d,j.speed,"linear",function(){i.trigger("finished");c()})};i.on("pause",function(){g.pause()});i.on("resume",function(){g.resume()});if(j.pauseOnHover){i.hover(function(){if(a.fn.pause){g.pause()}},function(){if(a.fn.resume){g.resume()}})}setTimeout(c,j.delayBeforeStart)})};a.fn.marquee.defaults={speed:5000,gap:20,delayBeforeStart:0,direction:"left",duplicated:false,pauseOnHover:false}})(jQuery); $(document).ready(function() { $().UItoTop({ easingType: 'easeOutQuart' }); }); jQuery(document).ready(function($){ $("input[name$='type']").click(function(){ var value = $(this).val(); if(value=='Individual') { $("#Individual_box").show(); $("#Company_box").hide(); } else if(value=='Company') { $("#Company_box").show(); $("#Individual_box").hide(); } }); $("#Individual_box").show(); $("#Company_box").hide(); }); $(document).ready(function() { //Default Action $(".tab_content").hide(); //Hide all content $("ul.tabs li:first").addClass("active").show(); //Activate first tab $(".tab_content:first").show(); //Show first tab content //On Click Event $("ul.tabs li").click(function() { $("ul.tabs li").removeClass("active"); //Remove any "active" class $(this).addClass("active"); //Add "active" class to selected tab $(".tab_content").hide(); //Hide all tab content var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content $(activeTab).fadeIn(); //Fade in the active content return false; }); }); $(document).ready(function() { //Default Action $(".tab_contentji").hide(); //Hide all content $("ul.tabji li:last").addClass("active").show(); //Activate first tab $(".tab_contentji:first").show(); //Show first tab content //On Click Event $("ul.tabji li").click(function() { $("ul.tabji li").removeClass("active"); //Remove any "active" class $(this).addClass("active"); //Add "active" class to selected tab $(".tab_contentji").hide(); //Hide all tab content var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content $(activeTab).fadeIn(); //Fade in the active content return false; }); }); /* Superior Web Systems */ function displayHideBox(boxNumber) { if(document.getElementById("LightBox"+boxNumber).style.display=="none") { document.getElementById("LightBox"+boxNumber).style.display="block"; document.getElementById("grayBG").style.display="block"; } else { document.getElementById("LightBox"+boxNumber).style.display="none"; document.getElementById("grayBG").style.display="none"; } }