if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return"";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;var globalLib={analytics:{init:function()
{$.xLazyLoader({js:'http://2.scripts.sesamehost.com/scripts/jGoogleAnalytics.min.js',name:'jGoogleAnalytics',success:function(){$.jGoogleAnalytics('',{anchorClick:true,domainName:'domain.com',pageViewsEnabled:true});}});}},cssImage_preload:{init:function()
{$.xLazyLoader({js:'http://15.scripts.sesamehost.com/scripts/jquery.preloadCssImages.min.js',name:'preloadCssImages',success:function(){$.preloadCssImages();}});}},form_validation:{init:function()
{$('.hidden-content').css('display','none');$(".sequential-list li").each(function(i){i=i+1;$(this).prepend('<span class="comment-number">'+i+'. </span>');});$("input[name^='Current_Patient']").click(function(){if($("input[name^='Current_Patient']:checked").val()=='No')
$('.hidden-content').fadeIn('slow');else
$('.hidden-content').fadeOut();if($('#found-other').css('display')!='none'){$('#found-other').fadeOut();}});$('#Found').change(function(){var selected=$('#Found option:selected');if(selected.val()=='Other'){$('#found-other').fadeIn('slow');}else{$('#found-other').fadeOut();}});$("input[name^='Contact_Me']").click(function(){if($("input[name^='Contact_Me']:checked").val()=='Yes')
$('.hidden-content').fadeIn('slow');else
$('.hidden-content').fadeOut().find('input').val("");});$("input[name^='Radiographs_Sent']").click(function(){if($("input[name^='Radiographs_Sent']:checked").val()=='Yes')
$('.hidden-content').fadeIn('slow');else
$('.hidden-content').fadeOut().find('input').val("");;});$('.clearme').one("focus",function(){$(this).val("");});$('label.required').each(function(i){$(this).append('<em> * </em>');});$.xLazyLoader({js:['http://20.scripts.sesamehost.com/scripts/jquery.validate.js','http://13.scripts.sesamehost.com/scripts/jquery.maskedinput-1.2.2.min.js'],name:'validate',success:function(){$(".date-mask").mask("99/99/9999");$(".phone-mask").mask("(999) 999-9999");$.validator.addMethod("phone",function(phone_number,element){phone_number=phone_number.replace(/\s+/g,"");return this.optional(element)||phone_number.length>9&&phone_number.match(/^(1-?)?(\([2-9]\d{2}\)|[2-9]\d{2})-?[2-9]\d{2}-?\d{4}$/);},"Please specify a valid phone number");$("#bd form.validate").each(function(){$(this).validate({errorElement:"div",errorClass:"error",validClass:"success",success:function(label){label.text("ok!").addClass("success");},rules:{First_Name:{required:true,minlength:2},Last_Name:{required:true,minlength:2},Doctor_First_Name:{required:true,minlength:2},Doctor_Last_Name:{required:true,minlength:2},Patient_First_Name:{required:true,minlength:2},Patient_Last_Name:{required:true,minlength:2},Patient_Email:{required:true,email:true},Referred_Patient_First_Name:{required:true,minlength:5},Referred_Patient_Last_Name:{required:true,minlength:5},Doctor_Patient_Referring:{required:true,minlength:5},Doctor_Email:{required:true,email:true},Appointment_Email:{required:true,email:true},Daytime_Phone:{required:true,phone:true},Alternate_Phone:{phone:true},Patient_Phone:{required:true,phone:true},Message:{required:true,minlength:12},Would_Like_To:{required:true},Patient_Name:{required:"#Contact_Me_Yes:checked",minlength:5},Email:{required:"#Contact_Me_Yes:checked",email:true},txtNumber:{required:true,minlength:5}}});});}});}},modal_windows:{init:function()
{$.xLazyLoader({js:'http://16.scripts.sesamehost.com/scripts/jquery.prettyPhoto.2.5.6.js',css:'css-main/prettyPhoto.css',name:'prettyPhoto',success:function(){$("a[rel^='prettyPhoto']").prettyPhoto({animationSpeed:'normal',default_width:900,default_height:700,opacity:0.65,showTitle:false,allowresize:true,counter_separator_label:'/',theme:'dark_rounded',hideflash:false,wmode:'transparent',autoplay:true,modal:false});}});}},flash_functions:{init:function()
{$.xLazyLoader({js:'http://8.scripts.sesamehost.com/scripts/jquery.flash_1.3.js',name:'flash',success:function(){var flashModules={defaults:{'width':500,'height':300,'src':'http://media.sesamehost.com/flash/','wmode':'transparent','flashvars':{'autoPlay':'false','thisColor':'0x'+'639CCE'},'express':'flash/playerProductInstall.swf','version':'9'},modules:[{name:'homepage',config:{'src':'flash/','width':540,'height':227}},{name:'braces-diagram',config:{'height':375}},{name:'brace-painter',config:{'height':430,'wmode':'opaque'}},{name:'brushing-and-flossing-ortho',config:{'flashvars':{'brushing':'true','flossing':'true'}}},{name:'brushing-and-flossing-dental',config:{'flashvars':{'brushing':'true','flossing':'true'}}},{name:'color-your-retainer',config:{'width':300,'height':300,'flashvars':{'autoPlay':'true'}}},{name:'common-treatments',config:{'flashvars':{'crowding':'true','openbite':'true','deepOverbite':'true','missing':'true','underbite':'true','spacing':'true','overbite':'true','nonBraces':'true','phaseI':'true'}}},{name:'the-damon-system-comparison',config:{'width':250,'height':165,'wmode':'opaque'}},{name:'emergency-care',config:{'flashvars':{'pokingWire':'true','bracket':'true','looseWire':'true','appliance':'true','headgear':'false','soreness':'true'}}},{name:'general-soreness',config:{'width':200,'height':150}},{name:'headgear',config:{'width':200,'height':150}},{name:'loose-appliance',config:{'width':200,'height':150}},{name:'loose-bracket',config:{'width':200,'height':150}},{name:'loose-wire',config:{'width':200,'height':150}},{name:'poking-wire',config:{'width':200,'height':150}},{name:'ibraces-logo',config:{'width':200,'height':135,'wmode':'opaque'}},{name:'know-your-teeth',config:{'width':500,'height':400}},{name:'office-tour',config:{'width':500,'height':375,'wmode':'opaque','flashvars':{'caption01':'','caption02':'Entry way','caption03':'Reception area','caption04':'Coffee tables and chairs','caption05':'Coffee bar','caption06':'Family waiting room','caption07':'Adult waiting room','caption08':'Game room','caption09':'Exam and consultation room','caption10':'Records room','caption11':'X-ray room','caption12':'Sterilization area','caption13':'Brushing area','caption14':'Open treatment bay','caption15':'','caption16':''}}},{name:'palatal-expander',config:{'width':200,'height':150}},{name:'patient-care',config:{'src':'flash/','height':375}},{name:'smile-gallery',config:{'flashvars':{'bonding':"true",'bridges':"true",'crowns':"true",'fillings':"true",'implants':"true",'invisalign':"true",'veneers':"true",'whitening':"true"}}},{name:'types-of-appliances',config:{'flashvars':{'elastics':'true','headgear':'true','herbst':'true','palatal':'true','positioners':'false','separators':'true'}}},{name:'types-of-braces',config:{'flashvars':{'metal':'true','gold':'false','ceramic':'true','invisible':'true','lingual':'false'}}}]};for(var j=flashModules.modules.length-1;j>=0;j--){var module=flashModules.modules[j];var modConfig=$.extend({},flashModules.defaults,module.config);modConfig.flashvars=$.extend(flashModules.defaults.flashvars,module.config.flashvars);modConfig.src=modConfig.src+module.name+'.swf';$('#flash-'+module.name).flash(modConfig);}
var flashVideos={defaults:{'src':'video/flvPlayer.swf','dir':'http://media.sesamehost.com/video/','width':320,'height':266,'wmode':'transparent','menu':false,'allowFullScreen':true,flashvars:{'autoStart':'false','showScaleModes':'false','smoothVideo':'true'}},videos:[{name:'the-damon-system',config:{'width':240,'height':206}},{name:'the-damon-system-2',config:{'width':400,'height':330}},{name:'in-ovation',config:{}},{name:'opalescence',config:{'width':400,'height':251}},{name:'suresmile',config:{'height':206}},{name:'suresmile-robot',config:{'height':242,flashvars:{startImage:'none',autoStart:'true'}}}]};for(var j=0;j<flashVideos.videos.length;j++){var video=flashVideos.videos[j];var vidConfig=$.extend({},flashVideos.defaults,video.config);vidConfig.flashvars=$.extend({},flashVideos.defaults.flashvars,video.config.flashvars);vidConfig.flashvars.flvToPlay=vidConfig.dir+video.name+'.flv';vidConfig.flashvars.startImage=vidConfig.dir+video.name+'.jpg';$('#video-'+video.name).flash(vidConfig,flashVideos.defaults.pluginOptions);};}});}},games:{init:function()
{$('ul#sesame-games li').hover(function(){$(".cover",this).stop().animate({top:'36px'},{queue:false,duration:160});},function(){$(".cover",this).stop().animate({top:'0px'},{queue:false,duration:160});});}},html_functions:{init:function()
{$('.jshide').addClass('hide');$('a[href^="http://"], a[href^="https://"]').not('[href*="orthosesame.com"],[href*="sesameinteractive.com"],[href*="freyortho.com"], a[href$=".doc"], a[href$=".pdf"]').addClass('external').attr('target','_blank');$('a[href$=".pdf"]').attr('target','_blank').not('[class*="noicon"]').append('<span/>').addClass('pdf');$('a[href$=".doc"]').attr('target','_blank').not('[class*="noicon"]').append('<span/>').addClass('doc');$("a[rel^='prettyPhoto[flash]']").parent('li').append('<span/>').addClass('video-link');$('ol.alpha, ol.numeric').addClass('js');$("ol li").each(function(i){$(this).wrapInner('<span/>');});$('ul.q-and-a li').each(function(){$(this).find('h2,h4,h3').prepend('<span>Q: </span>');$(this).find('div').prepend('<span>A: </span>');});$('#toggle-links').css('display','block');$('#toggle-content dl').hide();function toggleInfoContent(id){if($(id).css('display')!='none'){$(id).fadeOut('fast');$('.back-to-top').addClass('hide');}else{$('#toggle-content dl').fadeOut('fast');$(id).fadeIn('slow');$('.back-to-top').removeClass('hide');}}
$("#toggle-links").bind('click',function(e){var target=e.target,$target=$(target);var id=$target.attr('href')
if(target.nodeName==='A'){toggleInfoContent(id);}
return false;});$('#toggle-emergency div p').hide();function toggleEmergency(id){if($(id).css('display')!='none'){$(id).animate({opacity:'toggle'}).parent().animate({width:'80px',height:'60px'});}else{$(id).animate({opacity:'toggle'}).parent().animate({width:'200px',height:'150px'});}}
$("a.toggle-div").bind('click',function(e){var target=e.target,$target=$(target);var id=$target.attr('href')
if(target.nodeName==='A'){toggleEmergency(id);}
return false;});if($('#content').height()>$(window).height()){$('.back-to-top').removeClass('hide');}
$('#pt-login-form a, #dr-login-form a').bind('mouseover',function(e){var target=e.target,$target=$(target);$target.animate({opacity:'.65'},400).bind('mouseout',function(){$target.animate({opacity:'1'},400);});});$('#sidebar img').hover(function(){$(this).animate({opacity:'.65'},400);},function(){$(this).animate({opacity:'1'},400);});}},gallery_view_tour:{init:function()
{$.xLazyLoader({js:['http://11.scripts.sesamehost.com/scripts/jquery.galleryview-2.0.js','http://7.scripts.sesamehost.com/scripts/jquery.easing.1.3.js','http://19.scripts.sesamehost.com/scripts/jquery.timers-1.1.2.js'],name:'galleryView',success:function(){$('#gallery').galleryView({panel_width:460,panel_height:350,frame_width:80,frame_height:60,transition_speed:600,easing:'easeInOutBack',transition_interval:0,nav_theme:'dark'});}});}},cycle_tour:{init:function()
{$.xLazyLoader({js:'http://6.scripts.sesamehost.com/scripts/jquery.cycle.2.73.all.min.js',name:'cycleTour',success:function(){$('ul.slideshow').cycle({pause:true,wmode:'transparent'});$('#cycle-office-tour').before('<div class="office-tour-nav" id="office-1">').cycle({cleartype:true,cleartypeNoBg:true,speed:1000,timeout:7000,pager:'#office-1',before:function(){$('#caption span').fadeOut();},after:function(curr,next,opts){var alt=$(next).find('img').attr('alt');$('#caption span').html(alt).fadeIn();}});$('#cycle-office-tour-2').before('<div class="office-tour-nav" id="office-2">').cycle({cleartype:true,cleartypeNoBg:true,speed:1000,timeout:7000,pager:'#office-2',before:function(){$('#caption span').fadeOut();},after:function(curr,next,opts){var alt=$(next).find('img').attr('alt');$('#caption span').html(alt).fadeIn();}});}});}},cycle_slideshow:{init:function()
{$.xLazyLoader({js:'http://6.scripts.sesamehost.com/scripts/jquery.cycle.2.73.all.min.js',name:'cycleSlideshow',success:function(){var $ss=$('#slideshow-home');for(var i=1;i<11;i++)
$ss.append('<img src="images/photos/slide'+i+'.png" width="872" height="162" alt="slide" />');$('#slideshow-home img:first').fadeIn(1000,function(){$ss.cycle({random:1,fx:'turnDown',speed:'1000',timeout:7000});});}});}},cycle_before_after:{init:function()
{$.xLazyLoader({js:'http://6.scripts.sesamehost.com/scripts/jquery.cycle.2.73.all.min.js',name:'cycleBeforeAfter',success:function(){$('#before-after-cycle').before('<div class="before-after-nav">').cycle({cleartype:true,cleartypeNoBg:true,speed:500,timeout:0,pager:'.before-after-nav',before:function(){$('.cycle-detail span').fadeOut();},after:function(curr,next,opts){var cycle_alt=$(next).find('img').attr('alt');$('.cycle-detail span').html(cycle_alt).fadeIn();}});}});}},slider_before_after:{init:function()
{$.xLazyLoader({js:['http://6.scripts.sesamehost.com/scripts/jquery.cycle.2.73.all.min.js','http://3.scripts.sesamehost.com/scripts/jquery.beforeafter.js'],name:'sliderBeforeAfter',success:function(){$('.before-after-slider').beforeAfter({animateIntro:false,showFullLinks:false});$('#slider-cycle').before('<div class="slider-nav">').cycle({cleartype:true,cleartypeNoBg:true,speed:500,timeout:0,pager:'.slider-nav',before:function(){$('.slider-detail span').fadeOut();},after:function(curr,next,opt){var slider_alt=$(next).children('.before-after-slider').children('div').siblings().find('img').attr('alt');$('.slider-detail span').html(slider_alt).fadeIn();}});}});}},ie_functions:{init:function()
{var fancyHover=$.support.leadingWhitespace;if(fancyHover==false)
{$('#nav ul li, #utility-nav ul li').bind('mouseenter mouseleave',function(){$(this).toggleClass('sfhover');});$.xLazyLoader({js:'http://2.scripts.sesamehost.com/scripts/jquery.pngFix1.2.min.js',name:'pngFix',success:function(){$(document).pngFix();},});if($('.ie-alert-link').length>0){$.xLazyLoader({js:'http://5.scripts.sesamehost.com/scripts/jquery.cookie.js',name:'cookie',success:function(){$('.ie-alert-link').click(function(){$('#ie_alert').slideToggle("slow");$.cookie('iealert','noshow',{expires:14});});var alertBox=$.cookie('iealert');if(alertBox=='noshow'){$('#alert').css('display','none');}else{$('#alert').css('display','block');}}});}}}},cufon:{init:function()
{}},jcir:{init:function()
{$.xLazyLoader({js:'http://22.scripts.sesamehost.com/scripts/jquery.jcIR.js',img:'images/pixel.gif',name:'jcIR',success:function(){$('.jcir').jcIR({image_dir:'headings',image_ext:'.jpg',elem_width:'600',elem_height:'50'});}});}},navigation:{init:function()
{$.xLazyLoader({js:'http://21.scripts.sesamehost.com/scripts/superfish.js',name:'superfish',success:function(){$('#nav>ul, #utility-nav>ul, #logins>ul').superfish({hoverClass:'sfhover',delay:500,animation:{opacity:'show',height:'show'},autoArrows:false,disableHI:true});}});}},anti_spam:{init:function()
{$.xLazyLoader({js:'http://12.scripts.sesamehost.com/scripts/jquery.jcAntiSpam.js',name:'anti_spam',success:function(){$('.my-email-address').jcAntiSpam({emailCommonName:'Email Dr. Sesame',emailName:'samantha',emailDomain:'sesamedental.com',emailCcName:'',emailCcDomain:''});}});}},tooltips:{init:function()
{$.xLazyLoader({js:'http://17.scripts.sesamehost.com/scripts/jquery.qtip-1.0.0-rc3.min.js',name:'qtip',success:function(){$.fn.qtip.styles.logins={width:306,background:'#fffef3',button:{'color':'white','font-weight':'bold'},color:'#3c0600',textAlign:'left',title:{'background':'#3c0600'},border:{width:3,radius:5,color:'#832117'},tip:'topRight',name:'dark'}
var drLoginForm=$('#dr-login-form');var drLoginTitle='Dental Sesame Doctor Login';$('#doctor-login').click(function(e){e.preventDefault();}).each(function(){$(this).qtip({content:{title:{text:drLoginTitle,button:'Close'},text:drLoginForm},show:{when:'click',solo:true},hide:{when:'click',fixed:true},style:'logins',position:{corner:{target:'bottomLeft',tooltip:'topRight'}}})});}});}}}
$(function(){globalLib.analytics.init();globalLib.html_functions.init();globalLib.ie_functions.init();globalLib.tooltips.init();globalLib.navigation.init();if($("div[id^='flash-']","div[id^='video']")){globalLib.flash_functions.init();}
if($('.jcIR').length>0){globalLib.jcir.init();}
if($('.my-email-address').length>0){globalLib.anti_spam.init();}
if($('#cycle-office-tour').length>0){globalLib.cycle_tour.init();}
if($('form').length>0){globalLib.form_validation.init();}
if($("a[rel^='prettyPhoto']").length>0){globalLib.modal_windows.init();}
if($('ul#sesame-games').length>0){globalLib.games.init();}});
