


// IE6 PNG fix
/*jQuery(document).ready(function(){
  jQuery.ifixpng('images/blankpix.gif');
  jQuery('.pngfix').ifixpng();
});*/



// Send page
function openSendpage(lang)
{
  //alert(encodeURI(document.title));
  var url = document.location.toString().replace(/\#$/, "");
  window.open('/' + lang + '/sendpage.html?url=' + url + "&title=" + encodeURI(document.title),'mail','scrollbars,toolbar=no,directories=no,width=470,height=410');
}



// Remove checkbox and radio bg color and border for IE
jQuery(document).ready(function(){
  if(jQuery.browser.msie)
  {
    jQuery("input[type='checkbox']").css("background-color", "transparent").css("border", "none");
    jQuery("input[type='radio']").css("background-color", "transparent").css("border", "none");
  }
});



// Inputs

function inputFocus(obj, defVal)
{
  var bodyColor = jQuery("body").css("color");
  obj = jQuery(obj);
  if(obj.val() == defVal)
  {
    obj.css("color", bodyColor);
    obj.val("");
  }
}
