var HoverNav={init:function(){
if(!document.getElementById){
return false;
}
if(!document.getElementsByTagName){
return false;
}
HoverNav.hideAll();
var _1=new Array();
_1[0]="/style/default/images/bg-50pct-black.png";
Core.preloadImages(_1);
Core.addEventListener(document,"mousemove",HoverNav.mouseListener);
},showNav:function(_2){
HoverNav.hideAll();
Core.removeClass(_2,"hidden");
Core.addClass(_2,"hover");
},hideNav:function(_3){
Core.removeClass(_3,"hover");
Core.addClass(_3,"hidden");
},hideAll:function(){
if(document.getElementById("previous")){
var _4=document.getElementById("previous");
HoverNav.hideNav(_4);
}
if(document.getElementById("next")){
var _5=document.getElementById("next");
HoverNav.hideNav(_5);
}
},mouseListener:function(_6){
var _7=document.getElementById("entry");
var _8=parseInt(_7.width);
var _9=parseInt(_7.height);
var _a=parseInt(HoverNav.findLeft(_7));
var _b=parseInt(HoverNav.findTop(_7));
var _c=_a;
var _d=_a+_8/2;
var _e=_a+(_8/2+1);
var _f=_a+_8;
var top=_b;
var _11=_b+_9;
var IE=document.all?true:false;
var _13=0;
var _14=0;
if(IE){
_13=_6.clientX+document.body.scrollLeft;
_14=_6.clientY+document.body.scrollTop;
}else{
_13=_6.pageX;
_14=_6.pageY;
}
if(_13<0){
_13=0;
}
if(_14<0){
_14=0;
}
if(_14>=top&&_14<=_11){
if(_13<=_d&&_13>=_c){
if(document.getElementById("previous")){
HoverNav.hideAll();
var _15=document.getElementById("previous");
var ul=document.getElementById("innernav");
ul.style.height=Math.round(_9)+"px";
ul.style.width=Math.round(_8)+"px";
HoverNav.showNav(_15);
}
}else{
if(_13<=_f&&_13>=_e){
if(document.getElementById("next")){
var _17=document.getElementById("next");
var ul=document.getElementById("innernav");
ul.style.height=Math.round(_9)+"px";
ul.style.width=Math.round(_8)+"px";
HoverNav.showNav(_17);
}
}else{
HoverNav.hideAll();
}
}
}else{
HoverNav.hideAll();
}
},findLeft:function(obj){
var _19=curtop=0;
if(obj.offsetParent){
do{
_19+=obj.offsetLeft;
curtop+=obj.offsetTop;
}while(obj=obj.offsetParent);
return [_19];
}
},findTop:function(obj){
var _1b=curtop=0;
if(obj.offsetParent){
do{
_1b+=obj.offsetLeft;
curtop+=obj.offsetTop;
}while(obj=obj.offsetParent);
return [curtop];
}
}};
Core.start(HoverNav);
var CommentOnThis={init:function(){
if(!document.getElementById){
return false;
}
if(!document.getElementById("postyours")){
return false;
}
Core.addEventListener(document.getElementById("postyours"),"click",CommentOnThis.setFocus);
},setFocus:function(_1c){
if(location.hash!="#comment"){
Core.preventDefault(_1c);
}
var _1d=document.getElementById("comment");
location.hash="comment";
_1d.select();
}};
Core.start(CommentOnThis);
var SetFocus={init:function(){
if(location.hash=="#comment"){
var _1e=document.getElementById("comment");
_1e.select();
}
}};
Core.start(SetFocus);
var ReplyToComment={init:function(){
if(!document.getElementById){
return false;
}
if(!document.getElementsByTagName){
return false;
}
if(!document.getElementById("comments")){
return false;
}
if(!document.getElementById("comment")){
return false;
}
var _1f=document.getElementById("comments");
var _20=_1f.getElementsByTagName("a");
for(var i=0;i<_20.length;i++){
if(Core.hasClass(_20[i],"permlink")){
Core.addEventListener(_20[i],"click",ReplyToComment.reply);
ReplyToComment.changeLinkText(_20[i]);
}
}
},reply:function(_22){
var _23=document.getElementById("comment");
location.hash="comment";
var id=this.getAttribute("href").match(/comment\d*/);
var _25=document.getElementById(id);
var _26=_25.getElementsByTagName("span");
for(var i=0;i<_26.length;i++){
if(Core.hasClass(_26[i],"fn")){
var _28=_26[i].lastChild.nodeValue;
}
}
var _29=document.createTextNode("\"@"+_28+"\":"+this.getAttribute("href")+" ");
_23.appendChild(_29);
_23.focus();
_23.value=_23.value;
Core.preventDefault(_22);
},changeLinkText:function(_2a){
_2a.lastChild.nodeValue="Reply";
}};
Core.start(ReplyToComment);
var CallHijax={init:function(){
Hijax.prepareForm("contactform","/includes/commentFormLogic.php","container");
}};
Core.start(CallHijax);

