if(!Interesting){var Interesting={}}if(!Interesting.WidgetLoader){Interesting.WidgetLoader=function(){var g=document.getElementsByTagName("head")[0];var d=[];var b=[];var f=function(j,k){if(j==true){while(b.length>0){var i=b.shift();i()}}if(typeof(k)=="function"){k()}};var a=function(q,n,l,s){if(g){if(q=="script"){var p=true;var u=g.getElementsByTagName("script");var k=u.length;for(var j=0;j<k;j++){if(u[j].src.indexOf(n)>-1){p=false;break}}if(p==true){var t=null;t=document.createElement("script");t.setAttribute("src",n);t.setAttribute("type","text/javascript");if(typeof(l)=="function"){t.onreadystatechange=function(){if(this.readyState=="complete"||this.readyState=="loaded"){f(true,l)}};t.onload=function(){f(true,l)}}g.appendChild(t)}else{if(typeof(s)=="function"){s()}else{if(n.indexOf("/jquery.min")!=-1&&typeof(l)=="function"){b.push(l)}}}}else{if(q=="css"){var m=n.substr(0,n.length-21);var r=g.getElementsByTagName("link");var o=r.length;for(var j=0;j<o;j++){if(r[j].href.indexOf(m)>0){return undefined}}var t=null;t=document.createElement("link");t.setAttribute("href",n);t.setAttribute("rel","stylesheet");t.setAttribute("type","text/css");g.appendChild(t)}}}return undefined};var h=function(i){d.push(i)};var c=function(){if(d.length>0){var i=d.shift();a("script",i,c,c)}};var e=function(){c()};return{loadScript:a,addScriptToQueue:h,processQueue:e}}()}var scripts=document.getElementsByTagName("script");scripts[scripts.length-1].id="InterestingHolder11ec20bd-150c-4d34-971a-bdd3c5a74e37";var $jInt;Interesting.WidgetLoader.loadScript("script","http://widgetserver.realinsurance.com.au/Scripts/External/jquery.min.js",function(){if(!$jInt){$jInt=jQuery.noConflict(true)}$jInt(document).ready(function(){var b=$jInt("#InterestingHolder11ec20bd-150c-4d34-971a-bdd3c5a74e37");b.parent().append("Loading...");var a=b.parents("form").length>0?"":"&Form=True";$jInt.getJSON("http://widgetserver.realinsurance.com.au/Widget.aspx?Content=Widget&Partner=ASIA&Product=CallBack&t=11ec20bd-150c-4d34-971a-bdd3c5a74e37&jsoncallback=?"+a,null,function(d){var c=$jInt("#InterestingHolder11ec20bd-150c-4d34-971a-bdd3c5a74e37").parent();c.html(d.widget);d.widget=null;d.partner="ASIA";$jInt(".InterestingWidget",c).data("WidgetData",d);Interesting.WidgetLoader.loadScript("css","http://widgetserver.realinsurance.com.au/Widget.aspx?Content=Css&Partner=ASIA&Product=CallBack&t=11ec20bd-150c-4d34-971a-bdd3c5a74e37")})})});