/* sIFR v2.0 RC4
Copyright 2004 - 2005 Mike Davidson, Shaun Inman, Tomas Jogin and Mark Wubben
This software is licensed under the CC-GNU LGPL
*/
var hasFlash=function(){var a=6;if(navigator.appVersion.indexOf("MSIE")!=-1&&navigator.appVersion.indexOf("Windows")>-1){document.write(' \n');if(window.hasFlash!=null)return window.hasFlash}if(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]&&navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){var b=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description;return parseInt(b.charAt(b.indexOf(".")-1))>=a}return false}();String.prototype.normalize=function(){return this.replace(/\s+/g," ")};if(Array.prototype.push==null){Array.prototype.push=function(){var i=0,a=this.length,b=arguments.length;while(i`]*)(#|\.|\>|\`)(.+)$/;function b(c,d,e){c=c.normalize().replace(" ","`");var f=c.match(a);var g,h,j,k;var l=[];if(f==null)f=[c,c];if(f[1]=="")f[1]="*";if(e==null)e="`";if(d==null)d=document;switch(f[2]){case "#":k=f[3].match(a);if(k==null)k=[null,f[3]];g=document.getElementById(k[1]);if(g==null||(f[1]!="*"&&g.nodeName.toLowerCase()!=f[1].toLowerCase()))return l;if(k.length==2){l.push(g);return l}return b(k[3],g,"#");case ".":if(e!=">")h=m(d,f[1]);else h=d.childNodes;for(var i=0,n=h.length;i":if(e!=">")h=m(d,f[1]);else h=d.childNodes;for(var i=0,n=h.length;i");l=l.concat(j);}return l;case "`":h=m(d,f[1]);for(var i=0,n=h.length;i")h=m(d,f[1]);else h=d.childNodes;for(var i=0,n=h.length;i-1,b:g.indexOf("safari")>-1,c:navigator.product!=null&&navigator.product.toLowerCase().indexOf("konqueror")>-1,d:g.indexOf("opera")>-1,e:document.contentType!=null&&document.contentType.indexOf("xml")>-1,f:true,g:true,h:null,i:null,j:null,k:null};f.l=f.a||f.c;f.m=!f.a&&navigator.product!=null&&navigator.product.toLowerCase()=="gecko";if(f.m)f.j=new Number(g.match(/.*gecko\/(\d{8}).*/)[1]);f.n=g.indexOf("msie")>-1&&!f.d&&!f.l&&!f.m;f.o=f.n&&g.match(/.*mac.*/)!=null;if(f.d)f.i=new Number(g.match(/.*opera(\s|\/)(\d+\.\d+)/)[2]);if(f.n||(f.d&&f.i<7.6))f.g=false;if(f.a)f.k=new Number(g.match(/.*applewebkit\/(\d+).*/)[1]);if(window.hasFlash&&(!f.n||f.o)){var aj=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description;f.h=parseInt(aj.charAt(aj.indexOf(".")-1));}if(g.match(/.*(windows|mac).*/)==null||f.o||f.c||(f.d&&f.i<7.6)||(f.b&&f.h<7)||(!f.b&&f.a&&f.k<124)||(f.m&&f.j<20020523))f.f=false;return f;}();if(window.hasFlash==false||!document.getElementsByTagName||!document.getElementById||(f.e&&(f.n||f.l)))return{UA:f};function af(e){if((!k.bAutoInit&&(window.event||e)!=null)||!l(e))return;b=true;for(var i=0,h=ah.length;i';s++;}else if(v.nodeName.toLowerCase()=="br")u+="
";if(v.hasChildNodes()){y=o(v,null,r,s,t);u+=y.u;s=y.s;t=y.t}if(v.nodeName.toLowerCase()=="a")u+="";}w=v;v=v.nextSibling;if(q!=null){x=w.parentNode.removeChild(w);q.appendChild(x);}}return{"u":u,"s":s,"t":t}}function A(B){if(document.createElementNS&&f.g)return document.createElementNS(a,B);return document.createElement(B);}function C(D,E,z){var p=A("param");p.setAttribute("name",E);p.setAttribute("value",z);D.appendChild(p);}function F(p,G){var H=p.className;if(H==null)H=G;else H=H.normalize()+(H==""?"":" ")+G;p.className=H}function j(I,J,K,L,M,N,O,P,Q,R,S,r,T){if(!l())return ah.push(arguments);named.extract(arguments,{sSelector:function(value){I=value},sFlashSrc:function(value){J=value},sColor:function(value){K=value},sLinkColor:function(value){L=value},sHoverColor:function(value){M=value},sBgColor:function(value){N=value},nPaddingTop:function(value){O=value},nPaddingRight:function(value){P=value},nPaddingBottom:function(value){Q=value},nPaddingLeft:function(value){R=value},sFlashVars:function(value){S=value},sCase:function(value){r=value},sWmode:function(value){T=value}});var U=parseSelector(I);if(U.length==0)return false;if(S!=null)S="&"+S.normalize();else S="";if(K!=null)S+="&textcolor="+K;if(L!=null)S+="&linkcolor="+L;if(M!=null)S+="&hovercolor="+M;if(O==null)O=0;if(P==null)P=0;if(Q==null)Q=0;if(R==null)R=0;if(N==null)N="#FFFFFF";if(T=="transparent")if(!f.f)T="opaque";else N="transparent";if(T==null)T="";var p,V,W,X,Y,Z,aa,ab,ac;var ad=null;for(var i=0,h=U.length;i'].join("");else{if(f.d){ab=A("object");ab.setAttribute("data",J);C(ab,"quality","best");C(ab,"wmode",T);C(ab,"bgcolor",N);}else{ab=A("embed");ab.setAttribute("src",J);ab.setAttribute("quality","best");ab.setAttribute("flashvars",Z);ab.setAttribute("wmode",T);ab.setAttribute("bgcolor",N);}ab.setAttribute("sifr","true");ab.setAttribute("type","application/x-shockwave-flash");ab.className="sIFR-flash";ad=ab.cloneNode(true);}}else ab=ad.cloneNode(true);if(f.g){if(f.d)C(ab,"flashvars",Z);else ab.setAttribute("flashvars",Z);ab.setAttribute("width",V);ab.setAttribute("height",W);ab.style.width=V+"px";ab.style.height=W+"px";p.appendChild(ab);}p.appendChild(aa);if(f.l||f.n)p.innerHTML+="";}if(f.n&&k.bFixFragIdBug)setTimeout(function(){document.title=d},0);}function ai(){d=document.title}function ae(){if(k.bIsDisabled==true)return;c=true;if(document.documentElement)F(document.documentElement,"sIFR-hasFlash");if(window.attachEvent)window.attachEvent("onload",af);else if(!f.c&&(document.addEventListener||window.addEventListener)){if(document.addEventListener)document.addEventListener("load",af,false);if(window.addEventListener)window.addEventListener("load",af,false);}else if(typeof window.onload=="function"){var ag=window.onload;window.onload=function(){ag();af();}}else window.onload=af;if(!f.n||window.location.hash=="")k.bFixFragIdBug=false;else ai()}k.UA={bIsWebKit:f.a,bIsSafari:f.b,bIsKonq:f.c,bIsOpera:f.d,bIsXML:f.e,bHasTransparencySupport:f.f,bUseDOM:f.g,nFlashVersion:f.h,nOperaVersion:f.i,nGeckoBuildDate:f.j,nWebKitVersion:f.k,bIsKHTML:f.l,bIsGecko:f.m,bIsIE:f.n,bIsIEMac:f.o};k.bAutoInit=true;k.bFixFragIdBug=true;k.replaceElement=j;k.updateDocumentTitle=ai;k.setup=ae;k.bIsDisabled=false;return k;}();
if(typeof sIFR == "function" && !sIFR.UA.bIsIEMac){
sIFR.setup();
};
if(typeof sIFR == "function"){
sIFR.replaceElement(named({sSelector:"#main h1", sFlashSrc:"http://www.janethull.com/source/js/dt/clarendon.swf", sColor:"#991C20", sBgColor:"#ffffff", sWmode:"transparent"}));
sIFR.replaceElement(named({sSelector:"#main h2", sFlashSrc:"http://www.janethull.com/source/js/dt/arial.swf", sColor:"#555555", sBgColor:"#ffffff", sWmode:"transparent"}));
};