/*
+------------------------------------------------------------------------------------------+
* COMPANY: Raven Developers 2009
+------------------------------------------------------------------------------------------+
* FILE INFO: Site wide Java Script functions
+------------------------------------------------------------------------------------------+
* WEBSITE: http://www.ravendevelopers.com
+------------------------------------------------------------------------------------------+
* Portions created by Anirudh K. Mahant are Copyright of Raven Developers (C) 2009.
+------------------------------------------------------------------------------------------+
* COPYRIGHT NOTICE:
* The original author(s) retain all the copyrights of this file.
* Portions created by Anirudh K. Mahant (original developer) are Copyright of Raven Developers (C) 2009.
* Portions may contain jQuery JavaScript framework developed by John Resig and other
* community members. More info at http://docs.jquery.com/About
* jQuery LICENSE:
* Copyright (c) 2008 John Resig (jquery.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
+------------------------------------------------------------------------------------------+
*/
function URLDecode(psEncodeString){
  // Create a regular expression to search all +s in the string
  var lsRegExp = /\+/g;
  // Return the decoded string
  return unescape(String(psEncodeString).replace(lsRegExp, " "));
}
//-- Creates and applies Zebra tables alternating rows to tables with Class name .zebra-tbl automatically
//-- from there you can define the CSS styling for each rows cell :) Simple but effective solution!
function ZebraTables(){
	theTable = jQuery.find("table.zebra-tbl");
	if (theTable){
		jQuery(theTable).find("tr").each(function(i){
			var zclass = (i%2 == 0) ? 'odd' : 'even';
			jQuery(this).addClass(zclass);
		});
	}
}
jQuery(document).ready(function(){
	//Site wide JS code here
	ZebraTables();
	jQuery('table.tbl-gnew-products-wrapper span.gsyx br').remove();
});
