var nrs=nrs||{};nrs.nav=function(){var a=[];function b(){for(var b in a)clearTimeout(a[b]);a=[]}return{init:function(){$("#nav a.nav-item").mouseover(function(){b();$("#nav .submenu").hide();$("#nav a.nav-item").removeClass("hover");$(this).addClass("hover").siblings(".submenu").show()}).mouseout(function(){if($(this).parent().hasClass("has-children")){var b=this;a.push(setTimeout(function(){$(b).removeClass("hover").parent().children(".submenu").hide()},100))}else $(this).removeClass("hover")});$("#nav .submenu").mouseover(function(){b();$(this).siblings("a.nav-item").addClass("hover")}).mouseout(function(){var b=this;a.push(setTimeout(function(){$(b).siblings("a.nav-item").removeClass("hover");$(b).hide()},100))})}}}();nrs.set_wmode=function(){$("object").each(function(){$(this).append('<param name="wmode" value="transparent">')});$("embed").each(function(){$(this).attr("wmode","transparent")})};nrs.video_handler=function(){};$(function(){nrs.nav.init()});var corners=["bottomLeft","bottomRight","bottomMiddle","topRight","topLeft","topMiddle","leftMiddle","leftTop","leftBottom","rightMiddle","rightBottom","rightTop"],opposites=["topRight","topLeft","topMiddle","bottomLeft","bottomRight","bottomMiddle","rightMiddle","rightBottom","rightTop","leftMiddle","leftTop","leftBottom"],i=0;$(document).ready(function(){$("a#state-explanation-link").qtip({content:"With internet relay, we can't tell where you are calling from. This means that calls to 1300 or 1800 numbers can't be automatically sent to the correct call centre. The problem is easily solved if we know your location. ",style:{tip:"bottomMiddle",padding:5,width:350,background:"#ffba73",border:{width:1,color:"#f48f29"},color:"black"},position:{corner:{target:"topMiddle",tooltip:"bottomMiddle"}},show:"mouseover",hide:"mouseout"})})
