var ie = (document.all) ? 1 : 0;
var p = (ie) ? "filter" : "MozOpacity";

/* n is the element node
   v is the opacity value, from 0 to 100. */

function op(n,v){
    v = (ie) ? "alpha(opacity="+v+")" : v/100;
    n.style[p] = v;
}

function unblur(){ 
	this.blur(); 
}

function blurLinks(){ 
	if (!document.getElementById) return; 
	theLinks = document.getElementsByTagName("a"); 
	for(i=0; i<theLinks.length; i++){ 
		theLinks[i].onfocus = unblur; 
	} 
}

(function($) {
  var cache = [];
  // Arguments are image paths relative to the current page.
  $.preLoadImages = function() {
    var args_len = arguments.length;
    for (var i = args_len; i--;) {
      var cacheImage = document.createElement('img');
      cacheImage.src = arguments[i];
      cache.push(cacheImage);
    }
  }
})(jQuery)

/* toggle login_box local 
$(document).ready(function(){
	$('.login_box').hover(
		function(){
			$('.login_box').animate({
				'top' : "0px"
			},'fast');
		});
	$('.login_box').mouseleave(
	function(){
		$('.login_box').animate({
			'top' : "-54px"
		},'slow'); 
	});
});

$(function(){
	$('input').customInput();
});*/

