﻿$(document).ready(function(){
			$(".checkHeight .boxotherservices").each(function(){
				if($(".content-left .boxotherservices").index(this)!="-1"){
					var hbox = $(this).height();
					if( $(".content-right .boxotherservices").eq( $(".content-left .boxotherservices").index(this) ).size() !=0 ){
						var hboxn = $(".content-right .boxotherservices").eq($(".content-left .boxotherservices").index(this)).height();
						if(hbox<hboxn){
							$(this).css("height",hboxn);
						}else{
							$(".content-right .boxotherservices").eq($(".content-left .boxotherservices").index(this)).css("height",hbox);				
						}
					}else{
						var hboxn=0;
						if(hbox<hboxn) $(this).height() = hboxn;
						else $(".content-right .boxotherservices").eq($(".content-left .boxotherservices").index(this)).css("height",hbox);
					}
				}else if($(".content-right .boxotherservices").index(this)!="-1"){
					var hbox = $(this).height();
					if( $(".content-left .boxotherservices").eq( $(".content-right .boxotherservices").index(this) ).size() !=0 ){
						var hboxn = $(".content-left .boxotherservices").eq($(".content-right .boxotherservices").index(this)).height();
						if(hbox<hboxn){
							$(this).css("height",hboxn);
						}else{
							$(".content-left .boxotherservices").eq($(".content-right .boxotherservices").index(this)).css("height",hbox);				
						}
					}else{
						var hboxn=0;
						if(hbox<hboxn) $(this).height() = hboxn;
						else $(".content-left .boxotherservices").eq($(".content-right .boxotherservices").index(this)).css("height",hbox);
					}
				}
			});

		});
