  function addToFavorites(urlAddress, pageName) {
            if (window.external) {
            window.external.AddFavorite(urlAddress,pageName);
            } else {
            alert("Sorry! Your browser doesn't support this function.");
            }
          }

//article meretezes
function set_item_size( id, incr, limit )
{
   var the_elem = document.getElementById( id );
   var font_size = "";
   
   if( the_elem != null) {
	   if( the_elem.currentStyle != undefined )
	   {
		 font_size = the_elem.currentStyle.fontSize;
	   }
	   else
	   {
		   var the_style = window.getComputedStyle( the_elem, "" );
		   font_size = the_style.getPropertyValue( 'font-size' );
	   }
	   /*alert(font_size);*/
	   font_metric = font_size.substring( font_size.length - 2, font_size.length );
	   font_size = font_size.substring( 0, font_size.length - 2 );
	   /*alert(font_size);
	   alert(font_metric);*/
	   if( incr == true && font_size < limit )
	   {
		   /*font_size = parseInt(font_size) + 0.1;*/
		   font_size = parseFloat(font_size) + 0.1;
	   }
	   //else
	   if( incr != true &&  font_size > limit )
	   {
		   /*font_size = parseInt(font_size) - 0.1;*/
		   font_size = parseFloat(font_size) - 0.1;
	   }
	   /*alert(font_size);*/
	/* the_elem.style.fontSize = font_size + 'pt';*/
	   the_elem.style.fontSize = font_size + font_metric;
	   /*alert(the_elem.style.fontSize);*/
   }
}

function big()
{
	set_item_size( 'article', true, 1.5 );
	/*set_item_size( 'rtf', true, 1.6 );*/
}

function small()
{
   set_item_size( 'article', false, 0.5 );
   /*set_item_size( 'rtf', false, 17 );*/
}

/* popup */
	function doPopup2(oid, printpage, artpage)
			{
        window.open(printpage + "?artid=" + oid + "&page=" + artpage, "", "width=465, height=372, top=100, left=150, scrollbars");
			}



