	  //$(function() {
    //find all form with class jqtransform and apply the plugin
   // $("form.jqtransform").jqTransform();
	//});

	  
function equalHeight(group) {
   tallest = 0;
   group.each(function() {
      thisHeight = $(this).height();
      if(thisHeight > tallest) {
         tallest = thisHeight;
		 
      }
   });
   group.height(tallest);
}

$(function() {
		$( "button, input:submit, a", ".btn_price" ).button();
		//$( "a", ".demo" ).click(function() { return false; });
	});
//$(document).ready(function() {
   //equalHeight($(".column"));
   
//});





    function mychech()
    {
		var formfield=document.searchform.q.value;
		//alert(formfield);
		//alert(document.searchform.q.value);
		
        if (formfield.length<3)
            {
			csscody.alert(JStext6)
            return false;
        }
		else if (formfield==JStext5)
		{
			csscody.alert(JStext4)
            return false;
			}
        else
           return true;
    }//end function


function confirmSubmit()
{
var agree=confirm(JStext2);
if (agree)
	return true ;
else
	return false ;
}

function alertDemo() {
	alert(JStext1);
	return false;
	}//end alert demo

function addToCart(Pid,Langer,Qty) {
	//alertDemo();
		$('#preloader').show();
		$.ajax({ url: "class/cart/actions.php?id="+Pid+"&qty="+Qty+"&action=add&ajax=true", success: function(data){
		//alert(data);
		$("#cart_header_top").load("cart_header_right.php?lang="+Langer, {limit: 25});
		$('#preloader').hide();
		csscody.alert(JStext3);
		//alert(this);
      }});
}//end addToCart


function addTowishlist(Pid,Langer,userID,action) {
	//alertDemo();
		$('#preloader').show();
		$.ajax({ url: "modules/wishlist/controller.php?pid="+Pid+"&action="+action+"&uid="+userID, success: function(data){
		csscody.alert(data);
		//jAlert(data, 'Alert Boz');

		
		$('#preloader').hide();
		if(action=='del'){
			$('#preloader').show();
			location.reload();
			}
		//alert(this);
      }});
}//end addTowishlist


function MM_showHideLayers(item,pos) { 
	//alert(toggle( flip++ % 2 == 0));
	//alert('dd');
	$('.showhide').slideToggle('slow');
	//var curheight=($('.contMain').height());
	//$('.contMain').height(curheight+{height: "toggle"}, 400);

}

function MM_showHideLayersCustom(item) { 
	$(item).slideToggle('slow');
	//$('.radio').toggle();
}

//created by Mavroeidis Nikolaos nikmauro@gmail.com
