// JavaScript Document
/*
// "innova page peel" by innova templates - Version 1.0
// Copyright (c) 2010 - 2008 http://www.innovatemplates.com/
// This code cannot be redistributed without permission from Kampa Software Solutions Pvt.Ltd. - http://www.kampasoft.com
// Developer: Joy karmakar
// Developer email: info@innovatemplates.com
// Website: innovatemplates.com
// ***Last update: Dec 03, 2011***

innova_cornerpeel(id, minium width, minium height, maxium width, maxium height)
*/
 
function innova_cornerpeel(id, min_width, min_height, max_width, max_height){
 	var trigger=id+", "+id + " img";
 	$(trigger).width(min_width).height(min_height);
 	 $(trigger).hover(function() { //Hover Over
          $(trigger).stop().animate({ width: max_width,  height: max_height }, 400);
        }, function(){ 
		$(trigger).stop().animate({ width: min_width,  height: min_height }, 200);
 		});
}

(function($) {
	$(function() { 
	$(document).ready(function(){
	$('<div id="innova_cornerpeel"><a href="offer.html" ><img src="images/page-peel.png" alt="" width="360" height="360" border="0" /></a></div>').prependTo('body');
	innova_cornerpeel("#innova_cornerpeel", 166, 166, 360, 360);
	});
 	});
})(jQuery);
