var currentTab=null;var abcoIntScroll=null;function abcoSwitchTab(id){if(currentTab==null&&id!='seecomments'){window.document.getElementById(id).style.display='block';window.document.getElementById('seecomments').style.display='none';abcoGoto('comments');currentTab=id;return;}else if(currentTab!=id&&currentTab!=null){window.document.getElementById(id).style.display='block';window.document.getElementById(currentTab).style.display='none';abcoGoto('comments');currentTab=id;}else{abcoGoto('comments');}}
function abcoGiveMePageOffset(){offset=abcoGetPageOffset();msg=offset[0]+" "+ offset[1]+"\n";msg+="Screen Size Y:"+ abcoGetScreenSize()+" "+"Total Website Height:"+(abcoGetWebsiteSize())+"\n";alert(msg);}
function abcoCommentReply(authorID,commentID,switchTo){var author=window.document.getElementById(authorID).innerHTML;var to='<a href="#'+ commentID+'">@'+ author.replace(/\s|\t|\n/g,"")+'</a> \n';abcoSwitchTab(switchTo);window.document.getElementById("comment").value+=to;}
function abcoCommentQuote(authorID,commentID,commentBody,switchTo){var author=window.document.getElementById(authorID).innerHTML;var comment=window.document.getElementById(commentBody).innerHTML;var reply='<a href="#'+ commentID+'">@'+ author.replace(/\s|\t|\n/g,"")+'</a> <blockquote>'+ comment.replace(/[\n]*|\t|/g,"")+"</blockquote> \n";abcoSwitchTab(switchTo);window.document.getElementById("comment").value+=reply;}
