<!--

function doScripts() {
     
   if (!document.getElementsByTagName) return; 

      var links=document.getElementsByTagName("a");

      for (var i=0; i < links.length; i++) {

         if (links[i].className.match("popupBig")) {
            links[i].onclick=function() {
            window.open(this.href, "popwin", "top=20,left=20,width=750,height=550,scrollbars=yes,resizable=yes");
            return false;
            }
         }else if (links[i].className.match("popupMed")) {
            links[i].onclick=function() {
            window.open(this.href, "popwin", "top=20,left=20,width=630,height=390,scrollbars=yes,resizable=yes");
            return false;
            }
         }else if (links[i].className.match("popupSmall")) {
            links[i].onclick=function() {
            window.open(this.href, "popwin", "top=20,left=20,width=350,height=350,scrollbars=yes,resizable=yes");
            return false;
            }
         }else if (links[i].className.match("popup_")) {
		      var w = links[i].className.substring(6,9);
		    	var h = links[i].className.substring(10,13);
		    	links[i].onclick=function() {
		      window.open(this.href, "popwin", "top=20,left=20,width="+w+",height="+h+",scrollbars=yes,resizable=yes");
		      return false;
		      }
         }else if (links[i].className.match("returnLink")) {
            var strReturn = "javascript:window.history.go(-1)";
            if (window.history.length > 1) {
               links[i].href = strReturn
            }
            return false;
            }
         }
      }

addLoadEvent(doScripts);

//-->

