/* <![CDATA[ */

function showMail(obj,namn,doman){
obj.href="mailto:"+namn+"@"+doman;
obj.innerHTML=namn+"@"+doman;
 }

function changeColor(obj, color)
{
obj.style.color = color;
}

$(document).ready(function() {
var $q = getParameterByName('q');
if($q != 'na')
{
$('.contentLeft').highlight($q);
$('.contentRight').highlight($q);
}
});

function getParameterByName(name) 
{ 
  name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); 
  var regexS = "[\\?&]"+name+"=([^&#]*)"; 
  var regex = new RegExp( regexS ); 
  var results = regex.exec( window.location.href ); 
  if( results == null ) 
    return "na"; 
  else 
    return decodeURIComponent(results[1].replace(/\+/g, " ")); 
}

/* ]]>  */
