﻿// JScript File

/*
function g(el) { return document.getElementById(el); }
d = document;

String.prototype.join = function(s) { return this; }
String.prototype.padZero = function(digits) { return new Array(digits - this.length + 1).join('0') + this; }
Number.prototype.padZero = function(digits){return String(this).padZero(digits);}

if( !Array.prototype.push() ) { Array.prototype.push = function(s) { this[this.length] = s;} }

/*
function isValidEmail(s) 
{
	var temp = s.replace(/\s/g, "");
	return (temp.match(/^((\"[^\"\f\n\r\t\v\b]+\")|([\w\!\#\$\%\&\'\*\+\-\~\/\^\`\|\{\}]+(\.[\w\!\#\$\%\&\'\*\+\-\~\/\^\`\|\{\}]+)*))@((\[(((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9])))\])|(((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9])))|((([A-Za-z0-9\-])+\.)+[A-Za-z\-]+))$/)) && temp.charAt(0) != "." && !(temp.match(/\.\./));
}


*/



$().ready(function()
{
    $("div.thumbnail").hover(
        function(){$(this).addClass("thumb_hover");}
        ,function(){$(this).removeClass("thumb_hover");}
    );
   
});