﻿/*
jQuery plugin to add functionality to your forms to add multiple records on single click on the fly using client side javascript
author: Vipul Limbachiya
http://vipulilmbachiya.com
*/

/* 
 * This program is free software. It comes without any warranty, to the extent permitted by applicable law. 
 * You can redistribute it and/or modify it without any terms.
 * Save developers, use Firefox http://firefox.com
*/

eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(9($){$.1a.19=9(1){1=$.18({A:\'1h 12\',7:\'13\',w:I,y:\'i\',b:\'14\',T:I,M:\'15 O 11 O V W i Z X(s)?\',D:e,J:e,l:e,E:e},1);g 8.N(9(){d 2=$(8);$(2).3("r","0");$(2).3("U","z");$(2).3("F","0");$(2).3("k",1.7+L.R());$(2).4("."+1.7).i();$(2).4("."+1.b).i();$(2).m(" <a o=\'#\' n=\'"+1.7+"\'>"+1.A+"</a>");$(2).4("."+1.7).q().p(9(){g u($(8))});d P=$(2).Q();9 u(c){d f=K($(2).3("r"),10);d t=K($(2).3("F"),10);5(1.l===e||f<1.l){d 6=P.Q();$(6).4("*[v!=\'\'][C!=\'\']").N(9(){5($(8).3("v")){d S=$(8).3("v");d H="";5($(8).3("C")){H=$(8).3("C")}$(8).3("v",S+"1d"+t);$(8).3("C",H+"$"+t)}});f++;t++;$(2).3("r",f);$(2).3("F",t);$(6).1b("k");5(1.w&&$(2).3("k")!=$(c).h().3("k")){5($(c).h().4("."+1.b).x===0){$(c).h().m(" <a o=\'#\' n=\'"+1.b+"\'>"+1.y+"</a>")}$(c).h().4("."+1.b).q().p(9(){g B($(8))})}$(6).3("k",1.7+L.R());$(c).h().16(6);$(c).h().4("."+1.7).i();$(6).4("."+1.7).i();$(6).4("."+1.b).i();5(1.w){5($(6).4("."+1.b).x===0){$(6).m(" <a o=\'#\' n=\'"+1.b+"\'>"+1.y+"</a>")}$(6).4("."+1.b).q().p(9(){g B($(8))})}$(2).3("U","z");$(6).m(" <a o=\'#\' n=\'"+1.7+"\'>"+1.A+"</a>");6.4("."+1.7).q().p(9(){g u($(8))});5(1.D!==e){1.D($(6),2)}}5(1.l!==e&&f>=1.l){6.4("."+1.7).1c();5(1.E!==e){1.E($(6),2)}}g z}9 B(c){d G=I;5(1.T){G=Y(1.M)}5(G){d j=$(c).h().1e();d f=K($(2).3("r"),10);f--;$(2).3("r",f);5($(c).h().4("."+1.7).x>0){5(1.w&&$(2).3("k")!=$(j).3("k")){5($(j).4("."+1.b).x===0){$(j).m(" <a o=\'#\' n=\'"+1.b+"\'>"+1.y+"</a>")}$(j).4("."+1.b).q().p(9(){g B($(8))})}$(j).m(" <a o=\'#\' n=\'"+1.7+"\'>"+1.A+"</a>");j.4("."+1.7).q().p(9(){g u($(8))})}5(1.l!==e&&f<1.l){$(2).1f().4("."+1.7).17()}$(c).h().i();5(1.J!==e){1.J($(j),2)}}g z}})}})(1g);',62,80,'|options|self|attr|find|if|newElem|linkClass|this|function||removeLinkClass|elem|var|null|totalCount|return|parent|remove|prevParent|uniqueId|maxItemsAllowedToAdd|append|class|href|click|unbind|TotalFieldsAdded||fieldCount|handleAdd|id|enableRemove|length|removeLinkText|false|linkText|handleRemove|name|addEventCallback|maxItemReachedCallback|FieldCount|cnt|strname|true|removeEventCallback|parseInt|Math|confirmationMsgOnRemove|each|you|myClone|clone|random|strid|confirmOnRemove|maxCountReached|wish|to|field|confirm|selected||sure|more|addMoreFields|removeFields|Are|after|show|extend|EnableMultiField|fn|removeAttr|hide|_|prev|siblings|jQuery|add'.split('|'),0,{}))

