<!-- Hide me from ye olde browsers

function convertLinks()
{
    //alert(location.host);
    //alert(location.hostname);
	for (var i = 0; i < document.links.length; i++) {
        posHOST = document.links[i].href.toLowerCase().indexOf(location.host.toLowerCase());
	    /*
        posJS = document.links[i].href.toLowerCase().indexOf("javascript:");
        posHTTP = document.links[i].href.toLowerCase().indexOf("http");
        posMAIL = document.links[i].href.toLowerCase().indexOf("mailto:");
        */
	   	if ( posHOST > -1) {
	   	//if ( (posJS == -1) && (posJS == -1) && (posJS == -1) ) {
	   	/*
            alert(document.links[i].href.toLowerCase());
            alert("posJS=" + posJS);
            alert("posHTTP=" + posHTTP);
            alert("posMAIL=" + posMAIL);
            */
	   	    posQ = document.links[i].href.indexOf("?");
	   	    p = "?";
	   	    if (posQ > -1) {
	     	    p = "&";
	     	}
    	    document.links[i].href = document.links[i].href + p + "view=R";
		}
	}
	
/*	
  for (var f=0; f < document.forms.length; f++) {
	for (var i=0; i < document.forms[f].elements.length; i++) {
	 if ( (document.forms[f].elements[i].type == "select-one") || (document.forms[f].elements[i].type == "radio") || (document.forms[f].elements[i].type == "button") ) {
	   	if ( (document.forms[f].elements[i].value != "Print this page") && (document.forms[f].elements[i].value != "Close") ) {
		 	document.forms[f].elements[i].disabled = true;
		}
	 }
     if (document.forms[f].elements[i].type == "select-one") {
       var lst = document.forms[f].elements[i];
       for (var j=0; j < lst.options.length; j++) {
           lst.options[j].value="#";
       }
     }
    }
  }
*/
  
}

//convert links to 'ready to publish' links if view=R parameter exists
//alert(location.href);
posP = location.href.toLowerCase().indexOf("view=r");
if (posP > -1) convertLinks();

//for a preview, disable all links
//posP = location.href.toLowerCase().indexOf("id=");
//if (posP > -1) deactivateLinks();

//elem = document.getElementById ("ctl00_searchbutton_ctl01");
//elem.src = 'images/btn_arrow_f2.gif';
//elem.onmouseover = "alert('hello');"
//elem.onmouseover = "this.src = 'images/btn_arrow_f2.gif'";
//elem.onmouseout = "this.src = 'images/btn_arrow.gif'";


//-->