

function MM_swapImgRestorePD() { //v3.0
  var i,x,a=document.MM_sr,str; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    document.getElementById("tDesc").innerHTML="";


}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImagePD() { //v3.0
  var i,j=0,x,a=MM_swapImagePD.arguments,str; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
     switch(a[0])
  { 
  	case 'imagep1':
	  document.getElementById("tDesc").innerHTML="<br><font color='#003d7e'><i><B>Office services</B></i></font><br />Responsible for marketing services and office management<br />";
	  break;
  	case 'imagep2':
	  document.getElementById("tDesc").innerHTML="<br><font color='#003d7e'><i><B>Creative/production</B></i></font><br />Create design and layout of all program components and slides; develop multimedia programs<br />";
	  break;
  	case 'imagep3':
	  document.getElementById("tDesc").innerHTML="<br><font color='#003d7e'><i><B>Account services</B></i></font><br />Provide strategic oversight, understand content, support teams with consulting and facilitating services<br />";
	  break;
  	case 'imagep4':
	  document.getElementById("tDesc").innerHTML="<br><font color='#003d7e'><i><B>Finance</B></i></font><br />Manage all internal finances and liaise with client accounting departments<br />";
	  break;
  	case 'imagep5':
	  document.getElementById("tDesc").innerHTML="<br><font color='#003d7e'><i><B>Program direction</B></i></font><br />The &quot;quarterbacks&quot; who manage and oversee every detail of each project or program<br />";
	  break;
  	case 'imagep6':
	  document.getElementById("tDesc").innerHTML="<br><font color='#003d7e'><i><B>Systems technology</B></i></font><br />Responsible for Web programming, database development, and all software support<br />";
	  break;
  	case 'imagep7':
	  document.getElementById("tDesc").innerHTML="<br><font color='#003d7e'><i><B>Editorial</B></i></font><br />Scientific writers and editors who develop medical content for program materials<br />";
	  break;	
  	case 'imagep8':
	  document.getElementById("tDesc").innerHTML="<br><font color='#003d7e'><i><B>Meeting planning</B></i></font><br />Handle all aspects of meeting planning, including hotel, catering, travel, AV<br />";
	  break;	  
	 case 'default':
	  document.getElementById("tDesc").innerHTML="";
	break;
  } 
}
function AddElement() {

	  document.getElementById("tDesc").innerHTML="";

}
var overImgs = new Array('images/programs/officeServices_over.gif','images/programs/creative_over.gif','images/programs/accountServices_over.gif','images/programs/programDirection_over.gif','images/programs/editorial_over.gif','images/programs/meetingPlanning_over.gif','images/programs/systems_over.gif','images/programs/finance_over.gif' );

var Imgs = new Array('images/programs/officeServices.gif','images/programs/creative.gif','images/programs/accountServices.gif','images/programs/programDirection.gif','images/programs/editorial.gif','images/programs/meetingPlanning.gif','images/programs/systems.gif','images/programs/finance.gif' );

function startImgs() {

P1();
P2();
P3();
P4();
P5();
P6();
P7();
P8();
P9();
}

function P1() {
idPD1 = setTimeout('startImgsPD1()', 1000);	
}
function startImgsPD1() {

  MM_swapImage('imagep1', '', overImgs[(0)]);
	  document.getElementById("tDesc").innerHTML="<br><font color='#003d7e'><i><B>Office services</B></i></font><br />Responsible for marketing services and office management<br />";
	
window.clearTimeout(idPD1);
}

function P2() {
idPD2 = setTimeout('startImgsPD2()', 3000);	
}
function startImgsPD2() {
  MM_swapImage('imagep1', '', Imgs[(0)]);
  MM_swapImage('imagep2', '', overImgs[(1)]);
	  document.getElementById("tDesc").innerHTML="<br><font color='#003d7e'><i><B>Creative/production</B></i></font><br />Create design and layout of all program components and slides; develop multimedia programs<br />";
	
window.clearTimeout(idPD2);
}
function P3() {
idPD3 = setTimeout('startImgsPD3()', 5000);	
}
function startImgsPD3() {
  MM_swapImage('imagep2', '', Imgs[(1)]);
  MM_swapImage('imagep3', '', overImgs[(2)]);
	  document.getElementById("tDesc").innerHTML="<br><font color='#003d7e'><i><B>Account services</B></i></font><br />Provide strategic oversight, understand content, support teams with consulting and facilitating services<br />";
	
window.clearTimeout(idPD3);
}
function P4() {
idPD4 = setTimeout('startImgsPD4()', 7000);	
}
function startImgsPD4() {
  MM_swapImage('imagep3', '', Imgs[(2)]);
  MM_swapImage('imagep5', '', overImgs[(3)]);
	  document.getElementById("tDesc").innerHTML="<br><font color='#003d7e'><i><B>Program direction</B></i></font><br />The &quot;quarterbacks&quot; who manage and oversee every detail of each project or program<br />";
	
window.clearTimeout(idPD4);
}
function P5() {
idPD5 = setTimeout('startImgsPD5()', 9000);	
}
function startImgsPD5() {
  MM_swapImage('imagep5', '', Imgs[(3)]);
  MM_swapImage('imagep7', '', overImgs[(4)]);
	  document.getElementById("tDesc").innerHTML="<br><font color='#003d7e'><i><B>Editorial</B></i></font><br />Scientific writers and editors who develop medical content for program materials<br />";
	
window.clearTimeout(idPD5);
}
function P6() {
idPD6 = setTimeout('startImgsPD6()', 11000);	
}
function startImgsPD6() {
  MM_swapImage('imagep7', '', Imgs[(4)]);
  MM_swapImage('imagep8', '', overImgs[(5)]);
	  document.getElementById("tDesc").innerHTML="<br><font color='#003d7e'><i><B>Meeting planning</B></i></font><br />Handle all aspects of meeting planning, including hotel, catering, travel, AV<br />";
	
window.clearTimeout(idPD6);
}
function P7() {
idPD7 = setTimeout('startImgsPD7()', 13000);	
}
function startImgsPD7() {
  MM_swapImage('imagep8', '', Imgs[(5)]);
  MM_swapImage('imagep6', '', overImgs[(6)]);
	  document.getElementById("tDesc").innerHTML="<br><font color='#003d7e'><i><B>Systems technology</B></i></font><br />Responsible for Web programming, database development, and all software support<br />";
	
window.clearTimeout(idPD7);
}
function P8() {
idPD8 = setTimeout('startImgsPD8()', 15000);	
}
function startImgsPD8() {
  MM_swapImage('imagep6', '', Imgs[(6)]);
  MM_swapImage('imagep4', '', overImgs[(7)]);
	  document.getElementById("tDesc").innerHTML="<br><font color='#003d7e'><i><B>Finance</B></i></font><br />Manage all internal finances and liaise with client accounting departments<br />";
	
window.clearTimeout(idPD8);
}
function P9() {
idPD9 = setTimeout('startImgsPD9()', 17000);	
}
function startImgsPD9() {
  MM_swapImage('imagep4', '', Imgs[(7)]);

	  document.getElementById("tDesc").innerHTML="";
	
window.clearTimeout(idPD9);
}
function stopImgs(){
	document.getElementById("tDesc").innerHTML="";	
  MM_swapImage('imagep1', '', Imgs[(0)]);	
  MM_swapImage('imagep2', '', Imgs[(1)]);
  MM_swapImage('imagep3', '', Imgs[(2)]);  
  MM_swapImage('imagep5', '', Imgs[(3)]);  
  MM_swapImage('imagep7', '', Imgs[(4)]);  
  MM_swapImage('imagep8', '', Imgs[(5)]);  
  MM_swapImage('imagep6', '', Imgs[(6)]); 
  MM_swapImage('imagep4', '', Imgs[(7)]);  
	window.clearTimeout(idPD1);
	window.clearTimeout(idPD2);
	window.clearTimeout(idPD3);
	window.clearTimeout(idPD4);
	window.clearTimeout(idPD5);
	window.clearTimeout(idPD6);
	window.clearTimeout(idPD7);
	window.clearTimeout(idPD8);
	window.clearTimeout(idPD9);
}
