function MM_findObj(n, d) { //v3.0

	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_showHideLayers() { //v3.0

	var i,p,v,obj,args=MM_showHideLayers.arguments;

	for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];

	if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }

	obj.visibility=v; }

}



var content = new Array(

'Durakis Executive Search invested the time to develop a strong understanding of our business, our culture and our needs. <img src="../images/quote_rgt.png" width="24" height="18" border="0" alt="" style="position:relative; top:10px"><br><div class="quoteby">Alan Wilson<br>Chairman, President & CEO, McCormick & Company</div>',



'Chuck understands leadership, and the critical role it plays in all executive decisions. In the end he brings me accomplished leaders &#150; the blueprint for a successful hire. <img src="../images/quote_rgt.png" width="24" height="18" border="0" alt="" style="position:relative; top:10px"><br><div class="quoteby">Fred Strader<br>Chief Operating Officer, Textron Systems</div>',



'Chuck is always on top of his assignment and you feel as if you are his only client. He produces great candidates and results. <img src="../images/quote_rgt.png" width="24" height="18" border="0" alt="" style="position:relative; top:10px"><br><div class="quoteby">Joe Foss<br>Managing Director, McShane Group</div>',



'Chuck is cognizant of matching candidates to culture. He has earned very high ratings in terms of the quality of the candidates presented, professionalism, and responsiveness. <img src="../images/quote_rgt.png" width="24" height="18" border="0" alt="" style="position:relative; top:10px"><br><div class="quoteby">Ron Davies<br>Partner, Chicago Growth Partners</div>',



'Chuck knows how to cross the finish line with the best candidate. Chuck is the best recruiter in the search business I have ever worked with. <img src="../images/quote_rgt.png" width="24" height="18" border="0" alt="" style="position:relative; top:10px"><br><div class="quoteby">Annette Merz<br>President, FinSecure</div>',



'Durakis Executive Search truly delivered, finding high caliber talent that fit with our values. <img src="../images/quote_rgt.png" width="24" height="18" border="0" alt="" style="position:relative; top:10px"><br><div class="quoteby">Lori Robinson<br>VP Marketing, US Consumer Products Division, McCormick & Company</div>',



'Chuck Durakis looks at your business mission when he looks for the best talent for your business. This results in long term impact to the business and lasting satisfaction for the executive. <img src="../images/quote_rgt.png" width="24" height="18" border="0" alt="" style="position:relative; top:10px"><br><div class="quoteby">Anna-Maria Palmer<br>VP Human Resources, AAI Corporation</div>',



'Chuck clearly has a strong sense for identifying top performing leadership talent. The search was concluded on schedule and with a great outcome. We couldn\'t have been more pleased &#150; highly recommended! <img src="../images/quote_rgt.png" width="24" height="18" border="0" alt="" style="position:relative; top:10px"><br><div class="quoteby">Steve Kaye<br>President & CEO, eInstruction</div>',



'Durakis Executive Search looks beyond the scope of the search and digs deep to understand more than what\'s printed on the position description. They ... turn a search into a discovery. <img src="../images/quote_rgt.png" width="24" height="18" border="0" alt="" style="position:relative; top:10px"><br><div class="quoteby">Tim Hill<br>President, Professional Education Solutions, Blackboard</div>'

)



/* Specifies the period of time between updates:

    month - once a month

    date - once per every day of the month (repeats the next month)

    weekday - once per every day of the week (repeats the next week)

    hour - once per hour (repeats the next day)

    request - once per browser request (default)

*/



var updatePeriods = new Array("month","date","weekday","hour","request")



// Invoked to display rotated HTML content in a Web page. The period

// argument should be an element of the updatePeriods array.



function displayRotatedContent(period) {

 var updatePeriod = -1

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

  if(period.toLowerCase() == updatePeriods[i].toLowerCase()) {

   updatePeriod = i

   break

  }

 }

 var s = selectHTML(updatePeriod)

 document.write(s)

}



function selectHTML(updatePeriod) {

 var n = 0

 var max = content.length

 var d = new Date()

 switch(updatePeriod) {

  case 0: // Month (0 - 11)

   n = d.getMonth()

   break

  case 1: // Date (1 - 31 scaled to 0 - 30)

   n = d.getDate() - 1

   break

  case 2: // Weekday (0 - 6)

   n = d.getDay()

   break

  case 3: // Hour (0 - 23)

   n = d.getHours()

   break

  case 4: // Request (Default)

  default:

   n = selectRandom(max)

 }

 n %= max 

 return content[n]

}



// Select a random integer that is between 0 (inclusive) and max (exclusive)

function selectRandom(max) {

 var r = Math.random()

 r *= max

 r = parseInt(r)

 if(isNaN(r)) r = 0

 else r %= max

 return r

}



function popwindow(theURL)

{

 window.open(theURL,"","height=475,width=666,scrollbars=yes,resizable=yes,screenX=25,left=25, screenY=25,top=25");

}



function classChange(id, newClass)

{

	identity=document.getElementById(id);

	identity.className=newClass;

}



function toggle(txt)

{

	MyTxt = document.getElementById(txt);

	MyTxt.style.display = (MyTxt.style.display == 'block') ? 'none' : 'block';

}



window.defaultStatus ="Durakis Executive Search";



