// JavaScript Document
function displayFlash(fileName, width, height, flashvars)
{
  document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+width+'" height="'+height+'"><param name="movie" value="'+fileName+'">');
  if(flashvars!="") document.write('<param name="FlashVars" VALUE="'+flashvars+'">');
  document.write('<param name="quality" value="high"><param name="bgcolor" value="white"><param name="wmode" value="transparent"><embed src="'+fileName+'"');
  if(flashvars!="") document.write(' FlashVars="'+flashvars+'" ');
  document.write('wmode="transparent" quality="high" bgcolor="white" width="'+width+'" height="'+height+'" name="menu" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></object>');
}

function uploadCV()
{
  day = new Date();
  id = day.getTime();
  window.open('/cvupload/upload.php', 'name', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=300');  
}

