﻿function popupWindow(url) {  window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')}function opentaxinfo(){ window.open("tax_info.php","taxinfo","height=330,width=430,toolbar=no,statusbar=no,scrollbars=yes").focus();}// <![CDATA[  var OA_channel = '';// ]]> -->// <![CDATA[var OA_p=location.protocol=='https:'?'https:':'http:';var OA_r=Math.floor(Math.random()*99999999);if (!document.OA_used) document.OA_used = ',';function OA_adjs(z,n){  if (z>-1) {    var az="<"+"script language='JavaScript' type='text/javascript' ";    az+="src='"+OA_p+"//www.voipon.co.uk/openads/www/delivery/ajs.php?n="+n+"&zoneid="+z;    az+="&source="+OA_channel+"&exclude="+document.OA_used+"&r="+OA_r;    az+="&mmm_fo="+(document.mmm_fo)?'1':'0';    if (document.context) az+= "&context=" + escape(document.context);    if (window.location) az+="&loc="+escape(window.location);    if (document.referrer) az+="&referer="+escape(document.referrer);    az+="'><"+"/script>";    document.write(az);  }}function OA_adpop(z,n){  if (z>-1) {    var az="<"+"script language='JavaScript' type='text/javascript' ";    az+="src='"+OA_p+"//www.voipon.co.uk/openads/www/delivery/apu.php?n="+n+"&zoneid="+z;    az+="&source="+OA_channel+"&exclude="+document.OA_used+"&r="+OA_r;    if (window.location) az+="&loc="+escape(window.location);    if (document.referrer) az+="&referer="+escape(document.referrer);    az+="'><"+"/script>";    document.write(az);  }}// ]]> function doClear(theText) {     if (theText.value == theText.defaultValue) {         theText.value = ""     } }  function bookmark(url, description){netscape="Netscape/Firefox User's hit CTRL+D to add a bookmark to this site."if (navigator.appName=='Microsoft Internet Explorer'){window.external.AddFavorite(url, description);}else if (navigator.appName=='Netscape'){alert(netscape);}}  function toggleDiv(divid){    if(document.getElementById(divid).style.display == 'none'){      document.getElementById(divid).style.display = 'block';    }else{      document.getElementById(divid).style.display = 'none';    }  }    function setShareThisImage() {	var links = document.getElementsByTagName('a');	for (var i = 0; i < links.length; i++){		if (links[i].className == 'stbutton stico_default'){			links[i].className = 'sharethis';			var ua = navigator.userAgent;			var MSIEOffset = ua.indexOf("MSIE ");						if (MSIEOffset != -1) {				var ver = parseFloat(ua.substring(MSIEOffset + 5, ua.indexOf(";", MSIEOffset)));				if(ver < 7) {					links[i].style.marginTop = '-4px';				}			} 				}	}}function showTranslateDiv(){	var translateDiv = document.getElementById('translateDiv');	if (translateDiv.style.visibility == 'hidden'){			translateDiv.style.visibility = 'visible';	var translateDivLeft = document.documentElement.clientWidth/2 - 475;			translateDiv.style.left = translateDivLeft + 'px';				}else{		//translateDiv.style.display = 'none';			translateDiv.style.visibility = 'hidden';	}}function closeTranslateDiv(){	document.getElementById('translateDiv').style.display = 'none';}    //<![CDATA[    var tabLinks = new Array();    var contentDivs = new Array();    function init() {      // Grab the tab links and content divs from the page      var tabListItems = document.getElementById('tabs').childNodes;      for ( var i = 0; i < tabListItems.length; i++ ) {        if ( tabListItems[i].nodeName == "LI" ) {          var tabLink = getFirstChildWithTagName( tabListItems[i], 'A' );          var id = getHash( tabLink.getAttribute('href') );          tabLinks[id] = tabLink;          contentDivs[id] = document.getElementById( id );        }      }      // Assign onclick events to the tab links, and      // highlight the first tab      var i = 0;      for ( var id in tabLinks ) {        tabLinks[id].onclick = showTab;        tabLinks[id].onfocus = function() { this.blur() };        if ( i == 0 ) tabLinks[id].className = 'selected';        i++;      }      // Hide all content divs except the first      var i = 0;      for ( var id in contentDivs ) {        if ( i != 0 ) contentDivs[id].className = 'tabContent hide';        i++;      }    }    function showTab() {      var selectedId = getHash( this.getAttribute('href') );      // Highlight the selected tab, and dim all others.      // Also show the selected content div, and hide all others.      for ( var id in contentDivs ) {        if ( id == selectedId ) {          tabLinks[id].className = 'selected';          contentDivs[id].className = 'tabContent';        } else {          tabLinks[id].className = '';          contentDivs[id].className = 'tabContent hide';        }      }      // Stop the browser following the link      return false;    }    function getFirstChildWithTagName( element, tagName ) {      for ( var i = 0; i < element.childNodes.length; i++ ) {        if ( element.childNodes[i].nodeName == tagName ) return element.childNodes[i];      }    }    function getHash( url ) {      var hashPos = url.lastIndexOf ( '#' );      return url.substring( hashPos + 1 );    }