$(function(){$("input[name=where]").click(function(b){if(this.value=="myspace"){$("input[name=bm].noscript").attr("disabled","disabled");if($("input[name=bm]:checked").val().slice(0,2)=="tb"){$("#bmbn3").attr("checked","checked")}$("#urlBox").show();$("#url").focus()}else{$("input[name=bm].noscript").removeAttr("disabled");$("#urlBox").hide()}});$("#url").blur(function(b){if(this.value===""){$(this).css("border-color","red");$("#urlBox").css("color","red")}else{$(this).css("border-color","");$("#urlBox").css("color","")}});$("a.moreoptions").click(function(d){d.preventDefault();var h=[];var b=$("input[name=where]:checked");if(b.size()>0&&b.val()!==""){h.push("where="+b.val())}if(b.val()=="myspace"){h.push("url="+$("#url").val())}var g=$("input[name=bm]:checked");if(g.size()>0&&g.val()!==""){h.push("type=bm&bm="+g.val())}var f=$("input[name=analytics]:checked");if(f.size()>0&&f.val()!==""){h.push("analytics="+f.val())}var c=this.href;if(h.length>0){c+="?"+h.join("&")}document.location=c});$("#submitbtn").click(function(d){var c=document.getElementById("url").value,b=$("input[name=where]:checked").val();if(b=="myspace"&&c===""){d.preventDefault()}});if(Math.random()<0.01){var a="srv001";if($.cookie(a)!="1"){$("a#hideinfobar").click(function(b){b.preventDefault();$.cookie(a,"1",{expires:30,path:"/"});$("#topinfobar").slideToggle()});$("a#survey").click(function(b){b.preventDefault();$.cookie(a,"1",{expires:365,path:"/"});window.open("http://www.surveymonkey.com/s/QWB6L7T","win","height=600,width=800,scrollbars=yes,resizable=yes,status=yes");$("#topinfobar").slideToggle()});window.setTimeout("$('#topinfobar').slideToggle();",1000)}}});