/* Some DINK functions - IM */

function gup(name)
{
  name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
  var regexS = "[\\?&]"+name+"=([^&#]*)";
  var regex = new RegExp( regexS );
  var results = regex.exec( window.location.href );
  if( results == null )
    return "";
  else
    return results[1].replace(/%20/," ");
}


function FadeEffect(element){
   new Effect.Fade(element, 
   { duration:0});
}
function ShowEffect(element){
   new Effect.Appear(element, 
   {duration:0.3});
}

function ShowProfile() {
   ShowEffect("profile-content");	   	  
}
function ShowContact() {
  ShowEffect("contact-content");	   	  
}
   
   
