<!--



/*-----------------------MATCH COLUMNS---------------------------*/



matchColumns=function(){ 



     var divs,contDivs,maxHeight,divHeight,d; 

	

     // get all <div> elements in the document 



     divs=document.getElementsByTagName('div'); 



     contDivs=[]; 



     // initialize maximum height value 



     maxHeight=0; 



     // iterate over all <div> elements in the document 



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



          // make collection with <div> elements with class attribute 'container' 



          if(/\bcolumn\b/.test(divs[i].className)){ 



                d=divs[i]; 



                contDivs[contDivs.length]=d; 



                // determine height for <div> element 



                if(d.offsetHeight){ 



                     divHeight=d.offsetHeight; 					



                } 



                else if(d.style.pixelHeight){ 



                     divHeight=d.style.pixelHeight;					 



                } 



                // calculate maximum height 



                maxHeight=Math.max(maxHeight,divHeight); 



          } 



     } 



     // assign maximum height value to all of container <div> elements 



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



          contDivs[i].style.height=maxHeight + "px"; 



     } 



} 



// Runs the script when page loads 



window.onload=function(){ 



     if(document.getElementsByTagName){ 



          matchColumns();			 



     } 



} 



//-->





/*-----------------------SLIDE SHOW---------------------------*/



<!--



//specify interval between slide (in mili seconds)

var slidespeed=3000



//specify images

var slideimages=new Array("images/nannies_london1.jpg","images/nannies_london2.jpg","images/nannies_london3.jpg","images/nannies_london4.jpg","images/nannies_london5.jpg","images/nannies_london6.jpg","images/nannies_london7.jpg","images/nannies_london8.jpg")



var imageholder=new Array()

var ie=document.all

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

imageholder[i]=new Image()

imageholder[i].src=slideimages[i]

}



function gotoshow(){

if (newwindow)

window.open(slidelinks[whichlink])

else

window.location=slidelinks[whichlink]

}



//-->



/*-----------------------UPLOAD FORM---------------------------*/



<!--

function startUpload(){

      document.getElementById('f1_upload_process').style.visibility = 'visible';

      document.getElementById('f1_upload_form').style.visibility = 'hidden';

      return true;

}



function stopUpload(success){

      var result = '';

      if (success == 1){

         result = '<span class="msg">Your CV was uploaded successfully!<\/span><br/>';

      }

      else {

         result = '<span class="emsg">There was an error during the CV upload!<\/span><br/>';

      }

      document.getElementById('f1_upload_process').style.visibility = 'hidden';

      document.getElementById('f1_upload_form').innerHTML = result + ' <input name="myfile" type="file" size="30" /><label><input type="submit" name="submitBtn" class="btn" value="Upload" /><\/label>';

      document.getElementById('f1_upload_form').style.visibility = 'visible';      

      return true;   

}

//-->
