function simpleFlash(f,b,g,d){var c={};var e={};e.wmode="transparent";e.scale="default";e.quality="high";e.allowscriptaccess="sameDomain";e.allowfullscreen="true";var a={};swfobject.embedSWF(f,b,g,d,"9.0.0",false,c,e,a)}(function(a){a.fn.SelectStyle=function(b){var c=a.extend(a.fn.SelectStyle.defaults,b);if(!a.browser.msie||(a.browser.msie&&a.browser.version>6)){return this.each(function(){var d=a(this).find(":selected");a(this).after('<span class="SelectBox"><span class="SelectBoxInner">'+d.text()+"</span></span>").css({position:"absolute",opacity:0,fontSize:a(this).next().css("font-size")});var f=a(this).next();var h=parseInt(a(this).width())-parseInt(f.css("padding-left"))-parseInt(f.css("padding-right"));var g=f.find(":first-child");f.css({display:"inline-block"});g.css({width:h,display:"block"});var e=parseInt(f.height())+parseInt(f.css("padding-top"))+parseInt(f.css("padding-bottom"));a(this).height(e).change(function(){g.text(a(this).find(":selected").text()).parent().addClass("Changed")});a(this).css({width:a(this).width()+c.rightOffSet,cursor:"pointer"})})}};a.fn.SelectStyle.defaults={rightOffSet:30}})(jQuery);(function(a){a.fn.googleMap=function(b,g){var d={latitude:0,longitude:0,zoom:14,mapTypeId:google.maps.MapTypeId.HYBRID};g=a.extend(d,g||{});var c=new google.maps.LatLng(g.latitude,g.longitude);var f=new google.maps.Map(this.get(0),a.extend(g,{center:c}));var e=new google.maps.Geocoder();e.geocode({address:b},function(i,j){if(j==google.maps.GeocoderStatus.OK&&i.length){if(j!=google.maps.GeocoderStatus.ZERO_RESULTS){f.setCenter(i[0].geometry.location);var h=new google.maps.Marker({position:i[0].geometry.location,map:f})}}})}})(jQuery);$(document).ready(function(){Cufon.replace(".Cufon");Cufon.replace("h1");Cufon.replace("h2");$(".Select").SelectStyle();$("a.TargetBlank").click(function(){window.open($(this).attr("href"));return false});$("dl input, dl textarea, dl select, .Uniform input, .Uniform textarea, .Uniform select, textarea.Uniform, select.Uniform").uniform();$("ul.CategoryList ul").each(function(){$(this).hide()});$("ul.CategoryList li.Level1 img").each(function(){$(this).click(function(){$(this).next().next().next("ul").toggle(400)})});$("ul.CategoryList li.Expanded img").each(function(){$(this).next().next().next("ul").toggle(400)});$("ul.Deletable li .Delete").hover(function(){$(this).parent().addClass("Marker")},function(){$(this).parent().removeClass("Marker")})});
