Cwo.RegisterNamespace("Cwo.Page");Cwo.Page.BindPrintButtonClicks=function(a){$("."+a).bind("click",function(b){b.preventDefault();b.stopPropagation();window.print();return false})};Cwo.Page.PreloadImage=function(a){var b=new Image();b.src=a};Cwo.Page.Browser=new function(){var a=this;this.IsIE6=false;jQuery.each(jQuery.browser,function(b,c){if((b==="msie")&&(jQuery.browser.version.substr(0,1)==="6")){a.IsIE6=true}})};Cwo.Page.NavigateWithReferrer=function(a){var b=document.createElement("a");if(typeof(b.click)!=="object"){location.href=a}else{b.href=a;document.body.appendChild(b);b.click()}};Cwo.Page.AjajCalls=new function(){var a={};this.IsCurrentSequenceIndex=function(c,b){if(parseInt(a[c],10)===parseInt(b,10)){return true}return false};this.CreateRequest=function(c){if(a[c]===undefined){a[c]=1}else{var b=a[c];a[c]=b+1}return parseInt(a[c],10)}};Cwo.Page.EventController=new function(){var a=new Cwo.Collection();var b=function(d,c){this.EventName=d;this.Method=c};return{Subscribe:function(d,c){a.Add(new b(d,c))},FireEvent:function(d){for(var c=0;c<a.Count();c++){if(a.Items[c].EventName===d){a.Items[c].Method()}}}}};$(document).ready(function(){Cwo.Page.OnStart=function(){$("a.Print").bind("click",function(b){b.preventDefault();b.stopPropagation();window.print();Cwo.LogMIActivity("_trackPageview","/print/"+window.location.href);return false})};if(navigator.userAgent.indexOf("MSIE")>-1){Cwo.Page.OnStart();return}try{Cwo.Page.OnStart()}catch(a){Cwo.Error.TrackError(a)}});
