/*
 * Copyright (c) 2011 Unique Websites
 * http://www.uniquewebsites.com.au
 * Licensed under a commercial license for exclusive use by Unique Websites clients
 *
 * @version 1.0
 */

jQuery(document).ready(function(){
  mainmenu();
  jQuery("input.money").keypress(function (e) {
    if(e.which !=8 && e.which !=0 && (e.which < 48 || e.which > 57) ){
      return false;
    }
  });
});

function mainmenu(){
  jQuery('.top-nav li.hasChildren').hover(function() {
    jQuery(this).find('ul:first').stop().show();
  }, function() {
    jQuery(this).find('ul:first').stop().css({ display: "none" });
  });
}

var urlParams = {};
(function () {
    var e,
        a = /\+/g,  // Regex for replacing addition symbol with a space
        r = /([^&=]+)=?([^&]*)/g,
        d = function (s) { return decodeURIComponent(s.replace(a, " ")); },
        q = window.location.search.substring(1);

    while (e = r.exec(q))
       urlParams[d(e[1])] = d(e[2]);
})();

  
     
  



                                                                                                                                                                                          


