(function($){var cache=[];$.preLoadImages=function(){var args_len=arguments.length;for(var i=args_len;i--;){var cacheImage=document.createElement('img');cacheImage.src=arguments[i];cache.push(cacheImage);}}})(jQuery)
jQuery.preLoadImages("/site/images/btn_navi_over_left.gif","/site/images/btn_navi_over_right.gif");$(document).ready(function(){$('div.accordionContent').hide();$('div#lp_one_cont').show();$('div#lp_one_btn').removeClass('accordionButton');$('div#lp_one_btn').addClass('accordionButton_on');$('#lp_one_btn').click(function(){$('#lp_one_cont').slideToggle('normal');$('#lp_two_cont').slideUp('normal');$('#lp_three_cont').slideUp('normal');$('#lp_two_btn').removeClass('accordionButton_on'),$('#lp_two_btn').addClass('accordionButton');$('#lp_three_btn').removeClass('accordionButton_on'),$('#lp_three_btn').addClass('accordionButton');if($('#lp_one_btn').hasClass('accordionButton')){$(this).removeClass('accordionButton');$(this).addClass('accordionButton_on');}else{$(this).removeClass('accordionButton_on');$(this).addClass('accordionButton');}});$('#lp_two_btn').click(function(){$('#lp_two_cont').slideToggle('normal');$('#lp_one_cont').slideUp('normal');$('#lp_three_cont').slideUp('normal');$('#lp_one_btn').removeClass('accordionButton_on'),$('#lp_one_btn').addClass('accordionButton');$('#lp_three_btn').removeClass('accordionButton_on'),$('#lp_three_btn').addClass('accordionButton');if($('#lp_two_btn').hasClass('accordionButton')){$(this).removeClass('accordionButton');$(this).addClass('accordionButton_on');}else{$(this).removeClass('accordionButton_on');$(this).addClass('accordionButton');}});$('#lp_three_btn').click(function(){$('#lp_three_cont').slideToggle('normal');$('#lp_one_cont').slideUp('normal');$('#lp_two_cont').slideUp('normal');$('#lp_one_btn').removeClass('accordionButton_on'),$('#lp_one_btn').addClass('accordionButton');$('#lp_two_btn').removeClass('accordionButton_on'),$('#lp_two_btn').addClass('accordionButton');if($('#lp_three_btn').hasClass('accordionButton')){$(this).removeClass('accordionButton');$(this).addClass('accordionButton_on');}else{$(this).removeClass('accordionButton_on');$(this).addClass('accordionButton');}});$("div.info_box_expanded").hide();$('h4.ib_one, img.ib_one_img').click(function(){$('#ib_one').fadeIn("normal");});$('h4.ib_two, img.ib_two_img').click(function(){$('#ib_two').fadeIn("normal");});$('h4.ib_three, img.ib_three_img').click(function(){$('#ib_three').fadeIn("normal");});$('h4.ib_four, img.ib_four_img').click(function(){$('#ib_four').fadeIn("normal");});$('div.info_box_expanded').click(function(){$('div.info_box_expanded').fadeOut("normal");});$("#directory").show();$('#clinic p.left a').click(function(){$('#directory').slideToggle('normal');});});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;function submit_form(form_object){document.forms[0].submit();}
function prefill(element_name,element_value){var element_array=document.getElementsByName(element_name);for(var i=0;i<element_array.length;i++){if(element_array[i].type){var element_type=element_array[i].type;if(element_type.match(/^select/)){prefill_select(element_array[i],element_value);}
else if(element_type=='checkbox'){prefill_checkbox(element_array[i],element_value);}
else if(element_type=='radio'){prefill_radio(element_array[i],element_value);}
else if(element_type=='text'){prefill_text(element_array[i],element_value);}
else if(element_type=='textarea'){prefill_text(element_array[i],element_value);}
else{}}}}
function prefill_select(select_object,option_value){if(option_value==''){select_object.selectedIndex=0;return 1;}
for(var i=0;i<select_object.options.length;i++){if(select_object.options[i].value==option_value){select_object.selectedIndex=i;}}}
function prefill_radio(radio_object,radio_value){if(radio_object.value==radio_value){radio_object.checked=true;}
else{radio_object.checked=false;}}
function prefill_checkbox(checkbox_object,checked_flag){var checked_value=false;if(checked_flag){checked_value=true;}
checkbox_object.checked=checked_value;}
function prefill_text(text_object,text_value){text_object.value=text_value;}
function clear_field(input_object){if(input_object.defaultValue&&input_object.value==input_object.defaultValue){input_object.value="";}}
function check_field_is_not_empty(form_object,field_name){var alert_message='Please enter a value in the form!';if(field_name.match(/^search/)){alert_message='Please enter a keyword or phrase to search for!';}
if(form_object.elements[field_name].value==""){window.alert(alert_message);return false;}
if(form_object.elements[field_name].value=="Search"){window.alert(alert_message);return false;}
return true;}
function open_window(url,width,height,centered,window_name,feature_string){if(!window_name){window_name='';}
if(!feature_string){feature_string='';}
else{feature_string=','+feature_string;}
var x=0;var y=0;if(centered){x=Math.round((screen.availWidth-width)/2);y=Math.round((screen.availHeight-height)/2);}
feature_string='left='+x+',top='+y+',width='+width+',height='+height+feature_string;window.open(url,window_name,feature_string);return true;}
function open_image_window(image_path,title){var url='http://--VHOST-NAME--/cgi-bin/popup-image.pl';url=url+'?-image='+image_path+'&-title='+title;open_window(url,400,400,1,'imageWin','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1');return true;}
function open_outbound_window(url){open_window(url,950,600,1,'outboundWin','toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1');}
var agt=navigator.userAgent.toLowerCase();var is_major=parseInt(navigator.appVersion);var is_minor=parseFloat(navigator.appVersion);var is_nav=((agt.indexOf('mozilla')!=-1)&&(agt.indexOf('spoofer')==-1)&&(agt.indexOf('compatible')==-1)&&(agt.indexOf('opera')==-1)&&(agt.indexOf('webtv')==-1)&&(agt.indexOf('hotjava')==-1));var is_nav4up=(is_nav&&(is_major>=4));var is_nav6up=(is_nav&&(is_major>=5));var is_ie=((agt.indexOf("msie")!=-1)&&(agt.indexOf("opera")==-1));var is_ie3=(is_ie&&(is_major<4));var is_ie4=(is_ie&&(is_major==4)&&(agt.indexOf("msie 4")!=-1));var is_ie4up=(is_ie&&(is_major>=4));var is_ie5=(is_ie&&(is_major==4)&&(agt.indexOf("msie 5.0")!=-1));var is_ie5_5=(is_ie&&(is_major==4)&&(agt.indexOf("msie 5.5")!=-1));var is_ie5up=(is_ie&&!is_ie3&&!is_ie4);var is_ie5_5up=(is_ie&&!is_ie3&&!is_ie4&&!is_ie5);var is_ie6=(is_ie&&(is_major==4)&&(agt.indexOf("msie 6.")!=-1));var is_ie6up=(is_ie&&!is_ie3&&!is_ie4&&!is_ie5&&!is_ie5_5);function write_bookmark_link(url,title){if(is_nav4up){document.write('<a href="javascript:void(0)" onclick="window.sidebar.addPanel(\''+dequote(title)+'\',\''+url+'\',\'\')" class="bookmark-page">Bookmark this page</a>');}
else if(is_ie4up){document.write('<a href="javascript:void(0)" onclick="window.external.AddFavorite(\''+url+'\',\''+dequote(title)+'\')" class="bookmark-page">Bookmark this page</a>');}
else{}
return true;}
function dequote(string){return string.replace(/'/g,'\\\'');}
function goto_href(url){if(url=='')return false;document.location.href=url;}
function ___getPageScroll(){var xScroll,yScroll;if(self.pageYOffset){yScroll=self.pageYOffset;xScroll=self.pageXOffset;}else if(document.documentElement&&document.documentElement.scrollTop){yScroll=document.documentElement.scrollTop;xScroll=document.documentElement.scrollLeft;}else if(document.body){yScroll=document.body.scrollTop;xScroll=document.body.scrollLeft;}
arrayPageScroll=new Array(xScroll,yScroll);return arrayPageScroll;};function ___getPageSize(){var xScroll,yScroll;if(window.innerHeight&&window.scrollMaxY){xScroll=window.innerWidth+window.scrollMaxX;yScroll=window.innerHeight+window.scrollMaxY;}else if(document.body.scrollHeight>document.body.offsetHeight){xScroll=document.body.scrollWidth;yScroll=document.body.scrollHeight;}else{xScroll=document.body.offsetWidth;yScroll=document.body.offsetHeight;}
var windowWidth,windowHeight;if(self.innerHeight){if(document.documentElement.clientWidth){windowWidth=document.documentElement.clientWidth;}else{windowWidth=self.innerWidth;}
windowHeight=self.innerHeight;}else if(document.documentElement&&document.documentElement.clientHeight){windowWidth=document.documentElement.clientWidth;windowHeight=document.documentElement.clientHeight;}else if(document.body){windowWidth=document.body.clientWidth;windowHeight=document.body.clientHeight;}
if(yScroll<windowHeight){pageHeight=windowHeight;}else{pageHeight=yScroll;}
if(xScroll<windowWidth){pageWidth=xScroll;}else{pageWidth=windowWidth;}
arrayPageSize=new Array(pageWidth,pageHeight,windowWidth,windowHeight);return arrayPageSize;};function setOpacity(obj,value){obj.style.opacity=value/10;obj.style.filter='alpha(opacity='+value*10+')';};var siteProblemURL="http://www.connected-uk.com/cgi-bin/site_feedback.pl";function site_problem(site_name){site_name=escape(site_name);openChild(siteProblemURL+"?site_name="+site_name,'w_res',640,480,'scrollbars=yes');}
function openChild(filename,windowname,width,height,option_list){x=(640-width)/2,y=(480-height)/2;if(screen){y=(screen.availHeight-height)/2;x=(screen.availWidth-width)/2;}
if(screen.availWidth>1800){x=((screen.availWidth/2)-width)/2;}
if(option_list!=''){option_list=','+option_list;}
childWindow=window.open(filename,windowname,'resizable=no,width='+width+',height='+height+',screenX='+x+',screenY='+y+',top='+y+',left='+x+option_list);if(childWindow.opener==null)childWindow.opener=self;}
function openNormal(filename,windowname,width,height,option_list){x=(640-width)/2,y=(480-height)/2;if(screen){y=(screen.availHeight-height)/2;x=(screen.availWidth-width)/2;}
if(screen.availWidth>1800){x=((screen.availWidth/2)-width)/2;}
if(option_list!=''){option_list=','+option_list;}
childWindow=window.open(filename,windowname,'resizable=no,width='+width+',height='+height+',screenX='+x+',screenY='+y+',top='+y+',left='+x+option_list);if(childWindow.opener==null)childWindow.opener=self;}
var welcome={};welcome.init=function(){$('#welcome-popup').show(1000);$('#welcome-popup a[rel=welcome-launch-obs]').click(function(e){e.preventDefault();$('#welcome-popup').hide(1000);obs.load();});$('#welcome-popup a[rel=welcome-close]').click(function(e){e.preventDefault();$('#welcome-popup').hide(1000);});}
var widget={};widget.config={};widget.config.loading_html='<div id="loading-logo"></div><p>LOADING...</p><div id="loading-bar"></div>';widget.init=function(){this.div=document.createElement('div');$(this.div).attr('id','widget');this.loading=document.createElement('div');$(this.loading).attr('id','loading').append(widget.config.loading_html);this.bg=document.createElement('div');$(this.bg).attr('id','widget-background');$('body').append(this.div).append(this.bg);this.attach();return this;}
widget.attach=function(){var w=this;$('a[href*="t_widget_action"]').unbind('click').click(function(e){e.preventDefault();$(this).attr('href').search(/t_widget_action=([^&]+)/);var action=RegExp.$1;if(action==='load'){w.load($(this).attr('href'),undefined,function(){w.attach()});}
else{w[action]();}});$('form[action*="t_widget_action"]').unbind('submit').submit(function(e){e.preventDefault();w.load($(this).attr('action'),$(this).serializeArray(),function(){w.attach()});})
$(window).unbind('resize').resize(function(){w.position();});return this;}
widget.load=function(url,data,callback){$(this.bg).show();$(this.div).empty().append(this.loading).load(url,data,callback).show();this.position();return this;}
widget.close=function(){var w=this;$(w.div).hide(1,function(){$(w.bg).hide();});return this;}
widget.position=function(){var page_size=___getPageSize();var page_scroll=___getPageScroll();var top_offset=page_scroll[1]+70;var left_offset=(page_size[0]-$(this.div).width())/2;$(this.bg).css({'width':page_size[0],'height':page_size[1]});$(this.div).css({'top':top_offset,'left':left_offset});return this;}
var microWidget={};microWidget.config={};microWidget.config.loading_html='<div id="loading-logo"></div><p>LOADING...</p><div id="loading-bar"></div>';microWidget.init=function(){this.div=document.createElement('div');$(this.div).attr('id','micro-widget');this.loading=document.createElement('div');$(this.loading).attr('id','micro-widget-loading').append(microWidget.config.loading_html);this.bg=document.createElement('div');$(this.bg).attr('id','micro-widget-background');$('body').append(this.div).append(this.bg);this.attach();return this;}
microWidget.attach=function(){var w=this;$('a[href*="t_micro_widget_action"]').unbind('click').click(function(e){e.preventDefault();$(this).attr('href').search(/t_micro_widget_action=([^&]+)/);var action=RegExp.$1;if(action==='load'){w.load($(this).attr('href'),undefined,function(){w.attach()});}
else{w[action]();}});$('a[href*="t_widget_action"]').unbind('click').click(function(e){$(w.div).hide(1,function(){$(w.bg).hide();});e.preventDefault();$(this).attr('href').search(/t_widget_action=([^&]+)/);var action=RegExp.$1;if(action==='load'){widget.load($(this).attr('href'),undefined,function(){widget.attach()});}
else{w[action]();}});$('form[action*="t_micro_widget_action"]').unbind('submit').submit(function(e){e.preventDefault();w.load($(this).attr('action'),$(this).serializeArray(),function(){w.attach()});})
$('form[action*="t_widget_action"]').unbind('submit').submit(function(e){$(w.div).hide(1,function(){$(w.bg).hide();});e.preventDefault();widget.load($(this).attr('action'),$(this).serializeArray(),function(){widget.attach()});})
$(window).unbind('resize').resize(function(){w.position();});return this;}
microWidget.load=function(url,data,callback){$(this.bg).show();$(this.div).empty().append(this.loading).load(url,data,callback).show();this.position();return this;}
microWidget.close=function(){var w=this;$(w.div).hide(1,function(){$(w.bg).hide();});return this;}
microWidget.position=function(){var page_size=___getPageSize();var page_scroll=___getPageScroll();var top_offset=page_scroll[1]+70;var left_offset=(page_size[0]-$(this.div).width())/2;$(this.bg).css({'width':page_size[0],'height':page_size[1]});$(this.div).css({'top':top_offset,'left':left_offset});return this;}

