
/*

    $(document).ready(function() {
      $('.propjumpnav').hover(
        function () {
          $(this).animate({'height':'300px'}, {queue:false,duration:500});
        }, function () {
          $(this).animate({'height':'28px'}, {queue:false,duration:500});
        });
	  
	 
    });
	


*/




function getFlashMovieObject(movieName)
{
  if (window.document[movieName]) 
  {
      return window.document[movieName];
  }
  if (navigator.appName.indexOf("Microsoft Internet")==-1)
  {
    if (document.embeds && document.embeds[movieName])
      return document.embeds[movieName]; 
  }
  else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
  {
    return document.getElementById(movieName);
  }
}

function PlayFlashMovie()
{
	var flashMovie=getFlashMovieObject("portfolioflash");
	flashMovie.GotoFrame(5);
	flashMovie.Play();
	//embed.nativeProperty.anotherNativeMethod();
}

var faway = {
	        input:"",
	        clear:setTimeout('faway.clear_input()',2000),
	        load: function(link) {
	                window.document.onkeyup = function(e) {
	                        faway.input+= e ? e.keyCode : event.keyCode         
	                        //if (faway.input == "3838404037393739666513") {
								if (faway.input == "38384040373937396665") {
	                                faway.code(link)
	                                clearTimeout(faway.clear)
	                                }
	                        clearTimeout(faway.clear)
	                        faway.clear = setTimeout("faway.clear_input()",2000)
	                        }
	        },
	        code: function(link) { window.location=link},
	        clear_input: function() {
	                faway.input="";
	                clearTimeout(faway.clear);
	        }
	}

	faway.code = function(){

		var chooseit =Math.round(Math.random()*1);
				
	
		document.getElementById('konply').innerHTML = '<embed src="scripts/PCO_Interview1.mp3" autostart="true" type="audio/mpeg" height="35" width="300" />';
		
		
	}

	faway.load();

