function abreradio(){
	window.open('flash/radio.htm','Radio','width=484,height=250');
}
function troca(div)
{
	if ( eval(div).style.display == "")
	{
		eval(div).style.display = "none";
		MM_swapImage('document.seta','document.seta','images/Layout/seta2.gif','document.seta','document.seta','images/Layout/seta1.gif');
	}
	else{
		eval(div).style.display = "";
		MM_swapImage('document.seta','document.seta','images/Layout/seta1.gif','document.seta','document.seta','images/Layout/seta2.gif');
	}
}
function changeto(highlightcolor){
	source=event.srcElement
	if (source.tagName=="TR"||source.tagName=="TABLE")
	return
	while(source.tagName!="TD")
	source=source.parentElement
	if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
	source.style.backgroundColor=highlightcolor
}
function changeback(originalcolor){
	if (event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")
	return
	if (event.toElement!=source)
	source.style.backgroundColor=originalcolor
}

function MM_preloadImages() { //v2.0
  if (document.images) {
    var imgFiles = MM_preloadImages.arguments;
    if (document.preloadArray==null) document.preloadArray = new Array();
    var i = document.preloadArray.length;
    with (document) for (var j=0; j<imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#"){
      preloadArray[i] = new Image;
      preloadArray[i++].src = imgFiles[j];
  } }
}

function MM_swapImgRestore() { //v2.0
  if (document.MM_swapImgData != null)
    for (var i=0; i<(document.MM_swapImgData.length-1); i+=2)
      document.MM_swapImgData[i].src = document.MM_swapImgData[i+1];
}

function MM_swapImage() { //v2.0
  var i,j=0,objStr,obj,swapArray=new Array,oldArray=document.MM_swapImgData;
  for (i=0; i < (MM_swapImage.arguments.length-2); i+=3) {
    objStr = MM_swapImage.arguments[(navigator.appName == 'Netscape')?i:i+1];
    if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||
        (objStr.indexOf('document.all[')   ==0 && document.all   ==null))
      objStr = 'document'+objStr.substring(objStr.lastIndexOf('.'),objStr.length);
    obj = eval(objStr);
    if (obj != null) {
      swapArray[j++] = obj;
      swapArray[j++] = (oldArray==null || oldArray[j-1]!=obj)?obj.src:oldArray[j];
      obj.src = MM_swapImage.arguments[i+2];
  } }
  document.MM_swapImgData = swapArray; //used for restore
}

function MM_checkPlugin(plugin, theURL, altURL, IEGoesToURL) { //v2.0
  if ((navigator.plugins && navigator.plugins[plugin]) || //if NS, or
      (IEGoesToURL &&  //if flag set, and MSIE browser for Win95/NT (ActiveX)
       navigator.appName.indexOf('Microsoft') != -1 &&
       navigator.appVersion.indexOf('Mac') == -1 &&
       navigator.appVersion.indexOf('3.1') == -1)) {
    if (theURL.length>2) window.location = theURL;
  } else {
    if (altURL.length>2) window.location = altURL;
  }
  document.MM_returnValue = false;
}

function openIT(theURL) {
	//theURL="../../../intranet/"
	wname ="Teste"
	W=450;
	H=500;
	windowCERRARa 			= "images/Layout/close_a.gif"
	windowCERRARd 			= "images/Layout/close_d.gif"
	windowCERRARo 			= "images/Layout/close_o.gif"
	windowNONEgrf 			= "images/Layout/none.gif"
	windowCLOCK				= "images/Layout/clock.gif"
	windowREALtit			= "&nbsp;Saint Germain"
	windowTIT 	    		= "<font face=verdana size=1>&nbsp;</font>"
	windowBORDERCOLOR   	= "#FFFFDC"
	windowBORDERCOLORsel	= "#FFFFDC"
	windowTITBGCOLOR    	= "#FFFFDC"
	windowTITBGCOLORsel 	= "#FFFFDC"
	openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)
}
function Slide(theURL) {
	//theURL="../../../intranet/"
	wname ="Slide"
	W=450;
	H=250;
	windowCERRARa 			= "images/Layout/close_a.gif"
	windowCERRARd 			= "images/Layout/close_d.gif"
	windowCERRARo 			= "images/Layout/close_o.gif"
	windowNONEgrf 			= "images/Layout/none.gif"
	windowCLOCK				= "images/Layout/clock.gif"
	windowREALtit			= "&nbsp;Saint Germain"
	windowTIT 	    		= "<font face=verdana size=1>&nbsp;</font>"
	windowBORDERCOLOR   	= "#FFFFDC"
	windowBORDERCOLORsel	= "#FFFFDC"
	windowTITBGCOLOR    	= "#FFFFDC"
	windowTITBGCOLORsel 	= "#FFFFDC"
	openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)
}