// <![CDATA[
// Begin Ad Muncher helper script
// Do not remove without removing all references to this in the below page (eg: everything containing "Ywy" or "Ywb")
// Original URL:   http://www.fosteringfirstireland.ie/js/jsfunctions.js
// Retrieved from: 217.64.112.48:80
function Ywyn(){return false;};
function YwybHelp(a,b){YwyZgp(a);YwyZbn();return;};
function Ywyb(a,b,c,d){YwyZgp(a);YwyZbn();return YwyZfw(b);};
function YwyZpp(a){YwyZppa=a;if(a)YwyZorgsti("YwyZppa=0;",500);};
function YwybtePopup(a,b,c,d,e,f){YwyZgp();YwyZbn();return YwyZfw();};
function YwybModalDialog(a,b,c){YwyZgp(a);YwyZbn();return YwyZfw();};
function YwyZj(m,u,l){if(YwyZolp){YwyZqn=YwyZqnbu;YwyZolp=0;};return true;};
function YwybModelessDialog(a,b,c){YwyZgp(a);YwyZbn();return YwyZfw();};
function YwyZpl(a,b,c){while(a.indexOf(b)!=-1)a=a.replace(b,c);return a;};
function YwyZtry(a,z){if(YwyZtryk())eval("try{"+a+"}catch(e){};");else eval(a);};
function Ywyc(){YwyZqn=YwyZqnbu=10;YwyZorgsti("YwyZqn=YwyZqnbu=0;",500);return;};
function YwyZ__amscript_addonload(a){YwyZ_ams_onload[YwyZ_ams_onload_i++]=(typeof(a)=="function")?a:new Function(a);};
function YwyZ__amscript_addonunload(a){YwyZ_ams_onunload[YwyZ_ams_onunload_i++]=(typeof(a)=="function")?a:new Function(a);};
function YwyZfcs(z){YwyZfcsr=0;if(z){YwyZfcsrz=z;YwyZtry("YwyZfcsr=YwyZfcsd();");};return YwyZfcsr;};
function YwyZfc(a,z){for(var i=0;i<a.length;i++)if(a[i].name==z||YwyZfc(a[i].frames,z))return 1;return 0;};
function Ywb(z){if(typeof(z.location)!="undefined"||typeof(z.blur)=="undefined")return false;return z.blur();};
function Ywyf(z){if(typeof(z.location)!="undefined"||typeof(z.focus)=="undefined")return false;return z.focus();};
function YwyZHelp(a,b){if(YwyZck(a))return;if(YwyZqn)YwyZqn-=1;if(b)return showHelp(a,b);else return showHelp(a);};
function YwyTimeout(a,b){if(((!YwyZqn&&!YwyZa)||YwyZppa||YwyZul)&&typeof(a)=="string")return YwyZorgsti("YwyZpp(1);"+a+";YwyZpp(0);",b);return YwyZorgsti(a,b);};
function YwyInterval(a,b){if(((!YwyZqn&&!YwyZa)||YwyZppa||YwyZul)&&typeof(a)=="string")return YwyZorgsin("YwyZpp(1);"+a+";YwyZpp(0);",b);return YwyZorgsin(a,b);};
function YwyZbn(){if(YwyZd&&YwyZm){if(YwyZb){YwyZc="s";YwyZb+=", "+YwyZm;}else{YwyZc="";YwyZb=YwyZm;};YwyZi="Popup"+YwyZc+" on page blocked by Ad Muncher: "+YwyZb;YwyZu();};};
function YwyZox(){var x;for(var i=0;i<YwyZ_ams_onunload.length;i++){if(typeof(YwyZ_ams_onunload[i])=="function")YwyZ_ams_onunload[i]();};if(typeof(YwyZffad)!="undefined"&&!YwyZffadd){if(YwyZkou)YwyZul=1;YwyZffadd=1;if(typeof(YwyZffad)=="function")x=YwyZffad();else eval(YwyZffad);YwyZul=0;};return x;};
function YwyZModalDialog(a,b,c){if(YwyZck(a,b))return YwyZfw();if(YwyZqn)YwyZqn-=1;if(c)return showModalDialog(a,b,c);else if(b)return showModalDialog(a,b);else return showModalDialog(a);};
function YwyZs(a){if((typeof(a.target)!="undefined"&&typeof(a.action)!="undefined"&&a.target&&YwyZnw(a.target)&&YwyZck(a.action))||typeof(a.submit)=="undefined")return false;return a.submit();};
function YwyZt(a){if((YwyZqn||YwyZa)&&!YwyZppa&&!YwyZul){if(YwyZqn)YwyZqn-=1;return alert(a);};if(a&&YwyZd){YwyZi="Alert message blocked by Ad Muncher: "+YwyZpl(a,"\n"," ");YwyZu();};return false;};
function YwyZModelessDialog(a,b,c){if(YwyZck(a,b))return YwyZfw();if(YwyZqn)YwyZqn-=1;if(c)return showModelessDialog(a,b,c);else if(b)return showModelessDialog(a,b);else return showModelessDialog(a);};
function YwyZsp(a,z){if(a.split)return a.split(z);var j,c,s,n,b,e;j=b=0;c=on.length;s=new Array();a+=z;n=a.length;while(b<n){e=z?a.indexOf(z,b):b+1;s[j++]=a.substring(b,e);b=e+c;};return s.length=j,s;};
function YwyZu(a){YwyZi=YwyZpl(YwyZpl(YwyZi.substring(0,1024),'"',"<~am~`"),"<~am~`",'\\"');YwyZir='defaultStatus="'+YwyZi+'";';if(!YwyZss){YwyZss=1;YwyZorgsin("eval(YwyZir);",3000);};YwyZorgsti("eval(YwyZir);",1000);};
function YwyZe(){YwyZa=0;YwyZqnbu=YwyZqn;YwyZqn=0;YwyZolp=1;YwyZorgsti("YwyZa=1;",1000);if(!YwyZffd){YwyZffd=1;for(var i=0;i<YwyZ_ams_onload.length;i++){if(typeof(YwyZ_ams_onload[i])=="function")YwyZ_ams_onload[i]();};if(typeof(YwyZff)!="undefined"){if(typeof(YwyZff)=="function")YwyZff();else eval(YwyZff);};};YwyZqn=YwyZqnbu;YwyZolp=0;YwyZx();};
function YwyZnw(a){YwyZagt=navigator.userAgent.toLowerCase();if(a!="_self"&&a!="_top"&&a!="_main"&&a!="_parent"&&!YwyZfcs(a)&&((YwyZagt.indexOf("msie")==-1||YwyZagt.indexOf("opera")!=-1)||(a!="_search"&&a!="_media")))return 1;return 0;};
function YwyZobx(){var x;if(typeof(YwyZffreunload)!="undefined"&&!YwyZffreunloadd){if(YwyZkou)YwyZul=1;YwyZffreunloadd=1;if(typeof(YwyZffreunload)=="function")x=YwyZffreunload();else eval(YwyZffreunload);YwyZffreunloadd=0;YwyZul=0;};return x;};
function YwyZtryk(){var b=navigator.userAgent.toLowerCase();var c=parseInt(navigator.appVersion);if((b.indexOf("mozilla")!=-1&&b.indexOf("compatible")== -1&&c>=5)||(b.indexOf("opera")!=-1&&c>=6)||(b.indexOf("msie")!=-1&&c>=4))return 1;return 0;};
function YwyZfcsd(){var v=self;if(YwyZfc(v.frames,YwyZfcsrz)||(typeof(v.name)!="undefined"&&v.name==YwyZfcsrz))return 1;while(v!=v.parent){v=v.parent;if(YwyZfc(v.frames,YwyZfcsrz)||(typeof(v.name)!="undefined"&&v.name==YwyZfcsrz))return 1;};return 0;};
function YwyZtePopup(a,b,c,d,e,f){if(YwyZck())return YwyZfw();if(YwyZqn)YwyZqn-=1;if(f)return createPopup(a,b,c,d,e,f);else if(e)return createPopup(a,b,c,d,e);else if(d)return createPopup(a,b,c,d);else if(c)return createPopup(a,b,c);else if(b)return createPopup(a,b);else return createPopup(a);};
function YwyZmc(){if(typeof(document.layers)!="undefined")document.captureEvents(Event.KeyDown|Event.MouseUp|Event.Blur|Event.KeyPress|Event.Move|Event.Click|Event.KeyUp|Event.Reset|Event.Change|Event.Load|Event.Resize|Event.DblClick|Event.MouseDown|Event.Select|Event.DragDrop|Event.MouseMove|Event.Submit|Event.Error|Event.MouseOut|Event.Unload|Event.Focus|Event.MouseOver);document.onmousedown=YwyZr;return 0;};
function YwyZck(a,b){if(!YwyZul&&!YwyZppa&&(YwyZro||YwyZqn||YwyZa||(b&&!YwyZnw(b)))){return 0;};YwyZgp(a);var l,s,c;for(var i=0;i<YwyZpmx.length;i++){l=0;s=YwyZsp(YwyZpmx[i],"*");for(var z=0;z<s.length;z++){c=YwyZn.indexOf(s[z],l);if(c==-1){l=0;break;};l=c;};if(l)return 0;};YwyZbn();if(YwyZrp){YwyZrpi5=YwyZrpi4;YwyZrpi4=YwyZrpi3;YwyZrpi3=YwyZrpi2;YwyZrpi2=YwyZrpi1;YwyZrpi1=new Image();var YwyZzn;YwyZtry("YwyZzn=document.referrer");YwyZrpi1.src="http://www.admuncher.com/cgi-bin/pr.pl?p="+escape(YwyZm)+"&s="+escape(document.location.href)+"&r="+escape(YwyZzn)+"&v=4.7.27105&l=1371";};return 1;};
function YwyZr(e){if((e&&e.which==1)||(typeof(window.event)!="undefined"&&window.event.button==1)){YwyZqn=YwyZqnbu=10;YwyZorgsti("YwyZqn=YwyZqnbu=0;",500);if(typeof(document.YwyZusedown)!="undefined"){if(typeof(document.YwyZusedown)=="function")return document.YwyZusedown(e);else return eval(document.YwyZusedown);};};if(typeof(document.YwyZusedown)!="undefined"){if(e||typeof(window.event)!="undefined"){if(typeof(document.YwyZusedown)=="function"){YwyZpp(0);var YwyZtn=document.YwyZusedown(e);YwyZpp(1);return YwyZtn;}else return eval("YwyZpp(1);"+document.YwyZusedown+";YwyZpp(0);");};if(typeof(document.YwyZusedown)=="function")return document.YwyZusedown(e);else return eval(document.YwyZusedown);};return true;};
function YwyZx(){YwyZtry('if(typeof(window.onload)=="undefined")window.onload=YwyZe;else{YwyZq=""+window.onload;if(!window.onload||!YwyZq||YwyZq.indexOf("YwyZe")!=-1)window.onload=YwyZe;};if(typeof(window.onunload)=="undefined")window.onunload=YwyZox;else{YwyZq=""+window.onunload;if(!window.onunload||!YwyZq||YwyZq.indexOf("YwyZox")!=-1)window.onunload=YwyZox;};if(typeof(window.onbeforeunload)=="undefined")window.onbeforeunload=YwyZobx;else{YwyZq=""+window.onbeforeunload;if(!window.onbeforeunload||!YwyZq||YwyZq.indexOf("YwyZobx")!=-1)window.onbeforeunload=YwyZobx;};if(typeof(window.onmousedown)=="undefined")YwyZmc();else{YwyZq=""+document.onmousedown;if(!window.onmousedown||!YwyZq||YwyZq.indexOf("YwyZr")!=-1){YwyZmc();};};');};
function YwyZgp(a){if(a){var YwyZckjs=/[A-Za-z]+:/;if(a.search(YwyZckjs)!=-1){if(a.substring(0,5).toLowerCase()!="http:"){YwyZm="(No URL)";YwyZn=a.toLowerCase()+" "+document.URL.toLowerCase();return;};};YwyZp="/admuncherpopcheck&"+Math.random()+"&"+document.URL;YwyZmi3=YwyZmi2;YwyZmi2=YwyZmi1;YwyZmi1=new Image();YwyZn=a;YwyZnn=YwyZn.indexOf("#");if(YwyZnn!=-1)YwyZn=YwyZn.substring(0,YwyZnn);YwyZmi1.src=YwyZn+YwyZp;YwyZnn=YwyZmi1.src.indexOf(YwyZp);if(YwyZnn!=-1)YwyZm=YwyZmi1.src.substring(0,YwyZnn);YwyZn=YwyZm.toLowerCase()+" "+document.URL.toLowerCase();}else{YwyZm="(No URL)";YwyZn=document.URL.toLowerCase();YwyZp="/admuncherpopchecknourl&"+Math.random();YwyZmi3=YwyZmi2;YwyZmi2=YwyZmi1;YwyZmi1=new Image();YwyZmi1.src=document.URL+YwyZp;};};
function YwyZ(a,b,c,d){if(YwyZck(a,b))return YwyZfw(b);if(YwyZqn)YwyZqn-=1;if(!a)a="";if(typeof(c)=="string"){c=YwyZpl(c.toLowerCase()," ","");if(YwyZw){c=YwyZpl(c,"height=","xxx=");c=YwyZpl(c,"width=","xxx=");c=YwyZpl(c,"top=","xxx=");c=YwyZpl(c,"left=","xxx=");c=YwyZpl(c,"screenx=","xxx=");c=YwyZpl(c,"screeny=","xxx=");};if(YwyZy){c=YwyZpl(c,"location=","xxx=");c=YwyZpl(c,"toolbar=","xxx=");c=YwyZpl(c,"menubar=","xxx=");c=YwyZpl(c,"resizable=","xxx=");c=YwyZpl(c,"scrollbars=","xxx=");c=YwyZpl(c,"status=","xxx=");c=YwyZpl(c,"titlebar=","xxx=");c=YwyZpl(c,"fullscreen=","xxx=");c=YwyZpl(c,"directories=","xxx=");};};if(YwyZy){if(typeof(c)=="string")c+=",";else c="";c+="location,toolbar,menubar,resizable,scrollbars,status,titlebar,directories";};if(d)return YwyZorgo(a,b,c,d);else if(c)return YwyZorgo(a,b,c);else if(b)return YwyZorgo(a,b);else return YwyZorgo(a);};
function YwyZso(c,a){if(typeof(a)=="string"&&a.substring(0,11)=="javascript:"){a=a.substring(11,a.length);};if(typeof(YwyZsod[c])=="undefined"||!YwyZsod[c]){YwyZsod[c]=1;var x=new Array('quot22','amp26','lt3C','gt3E','nbspA0','iexclA1','centA2','poundA3','yenA5','brvbarA6','sectA7','umlA8','copyA9','ordfAA','laquoAB','notAC','shyAD','regAE','macrAF','degB0','plusmnB1','sup2B2','sup3B3','acuteB4','microB5','paraB6','middotB7','cedilB8','sup1B9','ordmBA','raquoBB','frac14BC','frac12BD','frac34BE','iquestBF','AgraveC0','AacuteC1','AcircC2','AtildeC3','AumlC4','AringC5','AEligC6','CcedilC7','EgraveC8','EacuteC9','EcircCA','EumlCB','IgraveCC','IacuteCD','IcircCE','IumlCF','ETHD0','NtildeD1','OgraveD2','OacuteD3','OcircD4','OtildeD5','OumlD6','timesD7','OslashD8','UgraveD9','UacuteDA','UcircDB','UumlDC','YacuteDD','THORNDE','szligDF','agraveE0','aacuteE1','acircE2','atildeE3','aumlE4','aringE5','aeligE6','ccedilE7','egraveE8','eacuteE9','ecircEA','eumlEB','igraveEC','iacuteED','icircEE','iumlEF','ethF0','ntildeF1','ograveF2','oacuteF3','ocircF4','otildeF5','oumlF6','divideF7','oslashF8','ugraveF9','uacuteFA','ucircFB','uumlFC','yacuteFD','thornFE','yumlFF');var l,m;for(var i=0;i<x.length;i++){if (typeof(x[i])=="string"){l=x[i].length;m="&"+x[i].substring(0,(l-2))+";";a=YwyZpl(a,m,unescape("%"+x[i].substring((l-2),l)));};};if(c==1)YwyZff=new Function(a);if(c==2)YwyZffad=new Function(a);if(c==3)YwyZffreunload=new Function(a);};};
function YwyZfw(b){var r=new Object();for(i in window)r[i]=window[i];var v=new Array("scrollBy","getSelection","scrollByLines","scrollByPages","sizeToContent","dump","setTimeout","setInterval","clearTimeout","clearInterval","setResizable","captureEvents","releaseEvents","routeEvent","enableExternalCapture","disableExternalCapture","prompt","open","openDialog","find","alert","confirm","focus","blur","back","forward","home","stop","print","moveTo","moveBy","resizeTo","resizeBy","scroll","close","show","updateCommands","escape","unescape","atob","btoa","addEventListener","removeEventListener","dispatchEvent","getComputedStyle");for(var i=0;i<v.length;i++)r[v[i]]=Ywyn;v=new Array("captureEvents","close","open","releaseEvents","clear","writeln","getElementById","getElementsByName","elementFromPoint","createEvent","getSelection","write","createElement","createElementNS","createDocumentFragment","createTextNode","createComment","createAttribute","getElementsByTagName","importNode","attachEvent","detachEvent","hasAttributes","addEventListener","removeEventListener","dispatchEvent","contains","insertBefore","replaceChild","removeChild","appendChild","hasChildNodes","isSupported","normalize","cloneNode");r.document=new Object();for(var i=0;i<v.length;i++)r.document[v[i]]=Ywyn;r.document.body=new Object();r.document.body.style=new Object();r.name=b;r.amwin="a";r.location=new Object(YwyZm);r.location.href=YwyZm;r.location.hash=window.location.hash;r.location.host=window.location.host;r.location.hostname=window.location.hostname;r.location.pathname=window.location.pathname;r.location.port=window.location.port;r.location.protocol=window.location.protocol;r.location.search=window.location.search;YwyZclct+=1;eval("YwyZpc["+YwyZclct+"]=r;YwyZorgsti(\"YwyZpc["+YwyZclct+"].closed=true;\",1500);");return r;};
if(typeof(self.YwyZinited)=="undefined"){
var YwyZinited=1;var YwyZa,YwyZb,YwyZc,YwyZd,YwyZi,YwyZir,YwyZk,YwyZm,YwyZmi1,YwyZmi2,YwyZmi3,YwyZn,YwyZnn,YwyZp,YwyZq,YwyZss,YwyZv,YwyZw,YwyZy,YwyZro,YwyZolp,YwyZqn,YwyZqnbu,YwyZplt,YwyZagt,YwyZtz,YwyZti,YwyZsa,YwyZeb,YwyZrp,YwyZrpi1,YwyZrpi2,YwyZrpi3,YwyZrpi4,YwyZrpi5,YwyZppa,YwyZffd,YwyZorgo,YwyZorgsin,YwyZorgsti,YwyZul,YwyZkou,YwyZffreunloadd,YwyZffadd,YwyZfcsr,YwyZfcsrz;var YwyZ_ams_onload_i=0;var YwyZ_ams_onload=new Array();var YwyZ_ams_onunload_i=0;var YwyZ_ams_onunload=new Array();var YwyZsod=new Array();for(var YwyZvin="";YwyZvin!="aaaaaaaaaaaaaaaaaaaa";YwyZvin+="a")eval("var AdMch"+YwyZvin+";");var YwyZclct=0;var YwyZpc=new Array();YwyZk=1;YwyZd=1;YwyZw=0;YwyZy=0;YwyZro=0;YwyZi="";YwyZtz=0;YwyZti=0;YwyZrp=0;YwyZkou=1;var YwyZpmx=new Array('.gov/funzone/','.passport.net/panehelp.','/apps/mediaplayer/','/online/popup.html?','/playradionow.jsp?','/private.php?','/privmsg.php?','/radio/launchradio.','/reviews_viewer.php?object=','/site/olspage.jsp?id=','/spurl.php?v=','/video/partners/','/vspot/player.','/watch_fullscreen?','isapi.dll?picture','launch.yahoo.*/play/','music.yahoo.','skinbase.org/files/','webmail.aol.com','webmessenger.msn.com');YwyZorgo=open;YwyZorgsti=setTimeout;YwyZorgsin=setInterval;YwyZx();if(YwyZk)YwyZtry("window.onerror=YwyZj;");var YwyZz;YwyZtry("YwyZz=document.referrer");if(!YwyZz){if(YwyZti){if(YwyZtz)YwyZz=location.protocol+"//"+location.host+"/";else YwyZz="http://www.admuncher.com/";};}else if(YwyZz.substring(0,7)=="http://"){YwyZsa=YwyZz;YwyZsa=YwyZsa.substring(7,1024);if(YwyZsa.indexOf("/")!=-1)YwyZsa=YwyZsa.substring(0,YwyZsa.indexOf("/"));if(YwyZsa!=location.host){if(YwyZtz)YwyZz=location.protocol+"//"+location.host+"/";else YwyZz="http://www.admuncher.com/";};};
};
// End Ad Muncher helper script
// ]]>

var browser     = '';
var version     = '';
var entrance    = '';
var cond        = '';
var vert_offset=0;
var inter;
function init()
{
inter=YwyInterval("change()",200);
}
function change()
{
		var scroller=parseInt(document.getElementById("main_content").scrollHeight)
if( scroller>200)
{
document.getElementById("left_section").style.height=600+"px";
document.getElementById("left_section").style.height=((parseInt(document.getElementById("main_content").scrollHeight)+250)+vert_offset)+"px";
}else{
document.getElementById("left_section").style.height=600+"px";
}
var offset_h=parseInt(document.getElementById("sub_nav_box").scrollHeight)-270;
var offset_new=parseInt(document.getElementById("main_content").scrollHeight)-offset_h;

clearInterval(inter);
}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      