function FrameBuilder(formId,appendTo,initialHeight,iframeCode){this.formId=formId;this.initialHeight=initialHeight;this.iframeCode=iframeCode;this.frame=null;this.timeInterval=200;this.appendTo=appendTo||false;this.formSubmitted=0;this.init=function(){this.createFrame();this.addFrameContent(this.iframeCode);};this.createFrame=function(){var tmp_is_ie=!!window.ActiveXObject;var htmlCode="<"+"iframe onload=\"window.parent.scrollTo(0,0)\" src=\"\" allowtransparency=\"true\" frameborder=\"0\" name=\""+this.formId+"\" id=\""+this.formId+"\" style=\"width:100%; height:"+this.initialHeight+"px; border:none;\" scrolling=\"no\">";if(this.appendTo===false){document.write(htmlCode);}else{var tmp=document.createElement('div');tmp.innerHTML=htmlCode;var a=this.appendTo;document.getElementById(a).appendChild(tmp.firstChild);} this.frame=document.getElementById(this.formId);if(tmp_is_ie===true){try{var iframe=this.frame;var doc=iframe.contentDocument?iframe.contentDocument:(iframe.contentWindow.document||iframe.document);doc.open();doc.write("");} catch(err){this.frame.src="javascript:void((function(){document.open();document.domain=\'"+this.getBaseDomain()+"\';document.close();})())";}} this.addEvent(this.frame,'load',this.bindMethod(this.setTimer,this));var self=this;if(window.chrome!==undefined){this.frame.onload=function(){try{var doc=this.contentWindow.document;var _jotform=this.contentWindow.JotForm;if(doc!==undefined){var form=doc.getElementById(""+self.formId);self.addEvent(form,"submit",function(){if(_jotform.validateAll()){self.formSubmitted=1;}});}}catch(e){}}}};this.addEvent=function(obj,type,fn){if(obj.attachEvent){obj["e"+type+fn]=fn;obj[type+fn]=function(){obj["e"+type+fn](window.event);};obj.attachEvent("on"+type,obj[type+fn]);} else{obj.addEventListener(type,fn,false);}};this.addFrameContent=function(string){string=string.replace(new RegExp('src\\=\\"[^"]*captcha.php\"><\/scr'+'ipt>','gim'),'src="http://api.recaptcha.net/js/recaptcha_ajax.js"><'+'div id="recaptcha_div"><'+'/div>'+'<'+'style>#recaptcha_logo{ display:none;} #recaptcha_tagline{display:none;} #recaptcha_table{border:none !important;} .recaptchatable .recaptcha_image_cell, #recaptcha_table{ background-color:transparent !important; } <'+'/style>'+'<'+'script defer="defer"> window.onload = function(){ Recaptcha.create("6Ld9UAgAAAAAAMon8zjt30tEZiGQZ4IIuWXLt1ky", "recaptcha_div", {theme: "clean",tabindex: 0,callback: function (){'+'if (document.getElementById("uword")) { document.getElementById("uword").parentNode.removeChild(document.getElementById("uword")); } if (window["validate"] !== undefined) { if (document.getElementById("recaptcha_response_field")){ document.getElementById("recaptcha_response_field").onblur = function(){ validate(document.getElementById("recaptcha_response_field"), "Required"); } } } if (document.getElementById("recaptcha_response_field")){ document.getElementsByName("recaptcha_challenge_field")[0].setAttribute("name", "anum"); } if (document.getElementById("recaptcha_response_field")){ document.getElementsByName("recaptcha_response_field")[0].setAttribute("name", "qCap"); }}})'+' }<'+'/script>');string=string.replace(/(type="text\/javascript">)\s+(validate\(\"[^"]*"\);)/,'$1 jTime = setInterval(function(){if("validate" in window){$2clearTimeout(jTime);}}, 1000);');if(string.match('#sublabel_litemode')){string=string.replace('class="form-all"','class="form-all" style="margin-top:0;"');} var iframe=this.frame;var doc=iframe.contentDocument?iframe.contentDocument:(iframe.contentWindow.document||iframe.document);doc.open();doc.write(string);setTimeout(function(){doc.close();try{if('JotFormFrameLoaded'in window){JotFormFrameLoaded();}}catch(e){console.log("error on frame loading",e);}},200);};this.setTimer=function(){var self=this;this.interval=setTimeout(function(){self.changeHeight();},this.timeInterval);};this.getBaseDomain=function(){var thn=window.location.hostname;var cc=0;var buff="";for(var i=0;i18){this.frame.style.height=(actualHeight)+"px";} this.setTimer();};this.bindMethod=function(method,scope){return function(){method.apply(scope,arguments);};};this.frameHeight=0;this.getBodyHeight=function(){if(this.formSubmitted===1){return;} var height;var scrollHeight;var offsetHeight;try{if(this.frame.contentWindow.document.height){height=this.frame.contentWindow.document.height;if(this.frame.contentWindow.document.body.scrollHeight){height=scrollHeight=this.frame.contentWindow.document.body.scrollHeight;} if(this.frame.contentWindow.document.body.offsetHeight){height=offsetHeight=this.frame.contentWindow.document.body.offsetHeight;}}else if(this.frame.contentWindow.document.body){var isChrome=/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor);if(this.frame.contentWindow.document.body.scrollHeight){height=scrollHeight=this.frame.contentWindow.document.body.scrollHeight;} if(isChrome){height=scrollHeight=this.frame.contentWindow.document.height;} if(this.frame.contentWindow.document.body.offsetHeight){height=offsetHeight=this.frame.contentWindow.document.body.offsetHeight;} if(scrollHeight&&offsetHeight){height=Math.max(scrollHeight,offsetHeight);}}}catch(e){} this.frameHeight=height;return height;};this.getViewPortHeight=function(){if(this.formSubmitted===1){return;} var height=0;try{if(this.frame.contentWindow.window.innerHeight) {height=this.frame.contentWindow.window.innerHeight-18;} else if((this.frame.contentWindow.document.documentElement)&&(this.frame.contentWindow.document.documentElement.clientHeight)) {height=this.frame.contentWindow.document.documentElement.clientHeight;} else if((this.frame.contentWindow.document.body)&&(this.frame.contentWindow.document.body.clientHeight)) {height=this.frame.contentWindow.document.body.clientHeight;}}catch(e){} return height;};this.init();} FrameBuilder.get=[];var i63311671654454=new FrameBuilder("63311671654454",false,"","\n\n\n\n\n\n\n\n\nKirim Artikel<\/title>\n<link href=\"https:\/\/cdn.jotfor.ms\/static\/formCss.css?3.3.15770\" rel=\"stylesheet\" type=\"text\/css\" \/>\n<link type=\"text\/css\" rel=\"stylesheet\" href=\"https:\/\/cdn.jotfor.ms\/css\/styles\/nova.css?3.3.15770\" \/>\n<link type=\"text\/css\" media=\"print\" rel=\"stylesheet\" href=\"https:\/\/cdn.jotfor.ms\/css\/printForm.css?3.3.15770\" \/>\n<link type=\"text\/css\" rel=\"stylesheet\" href=\"https:\/\/cdn.jotfor.ms\/themes\/CSS\/566a91c2977cdfcd478b4567.css?\"\/>\n<style type=\"text\/css\">\n .form-label-left{\n width:150px !important;\n }\n .form-line{\n padding-top:12px;\n padding-bottom:12px;\n }\n .form-label-right{\n width:150px !important;\n }\n body, html{\n margin:0;\n padding:0;\n background:false;\n }\n\n .form-all{\n margin:0px auto;\n padding-top:20px;\n width:690px;\n color:#555 !important;\n font-family:\"Lucida Grande\", \"Lucida Sans Unicode\", \"Lucida Sans\", Verdana, sans-serif;\n font-size:14px;\n }\n .form-radio-item label, .form-checkbox-item label, .form-grading-label, .form-header{\n color: #555;\n }\n\n<\/style>\n\n<link type=\"text\/css\" rel=\"stylesheet\" href=\"https:\/\/cdn.jotfor.ms\/css\/styles\/buttons\/form-submit-button-blue.css?3.3.15770\"\/>\n<script src=\"https:\/\/cdn.jotfor.ms\/js\/vendor\/imageinfo.js?v=3.3.15770\" type=\"text\/javascript\"><\/script>\n<script src=\"https:\/\/cdn.jotfor.ms\/file-uploader\/fileuploader.js?v=3.3.15770\"><\/script>\n<script src=\"https:\/\/cdn.jotfor.ms\/static\/prototype.forms.js\" type=\"text\/javascript\"><\/script>\n<script src=\"https:\/\/cdn.jotfor.ms\/static\/jotform.forms.js?3.3.15770\" type=\"text\/javascript\"><\/script>\n<script type=\"text\/javascript\">\n var jsTime = setInterval(function(){try{\n JotForm.jsForm = true;\n\n JotForm.init(function(){\n setTimeout(function() {\n $('input_4').hint('Nama Lengkap');\n }, 20);\n setTimeout(function() {\n $('input_5').hint('Judul Artikel');\n }, 20);\n\tJotForm.clearFieldOnHide=\"disable\";\n setTimeout(function() {\n JotForm.initMultipleUploads();\n }, 2);\n\tJotForm.onSubmissionError=\"jumpToFirstError\";\n });\n\n clearInterval(jsTime);\n }catch(e){}}, 1000);\n<\/script>\n<\/head>\n<body>\n<form class=\"jotform-form\" action=\"https:\/\/submit.jotform.me\/submit\/63311671654454\/\" method=\"post\" enctype=\"multipart\/form-data\" name=\"form_63311671654454\" id=\"63311671654454\" accept-charset=\"utf-8\">\n <input type=\"hidden\" name=\"formID\" value=\"63311671654454\" \/>\n <div class=\"form-all\">\n <ul class=\"form-section page-section\">\n <li class=\"form-line jf-required\" data-type=\"control_textbox\" id=\"id_4\">\n <label class=\"form-label form-label-left form-label-auto\" id=\"label_4\" for=\"input_4\">\n Nama Pengirim\n <span class=\"form-required\">\n *\n <\/span>\n <\/label>\n <div id=\"cid_4\" class=\"form-input jf-required\">\n <input type=\"text\" class=\" form-textbox validate[required]\" data-type=\"input-textbox\" id=\"input_4\" name=\"q4_namaPengirim4\" size=\"40\" value=\"\" \/>\n <\/div>\n <\/li>\n <li class=\"form-line jf-required\" data-type=\"control_textbox\" id=\"id_5\">\n <label class=\"form-label form-label-left form-label-auto\" id=\"label_5\" for=\"input_5\">\n Judul Artikel\n <span class=\"form-required\">\n *\n <\/span>\n <\/label>\n <div id=\"cid_5\" class=\"form-input jf-required\">\n <input type=\"text\" class=\" form-textbox validate[required]\" data-type=\"input-textbox\" id=\"input_5\" name=\"q5_judulArtikel\" size=\"40\" value=\"\" \/>\n <\/div>\n <\/li>\n <li class=\"form-line jf-required\" data-type=\"control_fileupload\" id=\"id_6\">\n <label class=\"form-label form-label-left form-label-auto\" id=\"label_6\" for=\"input_6\">\n Masukkan File\n <span class=\"form-required\">\n *\n <\/span>\n <\/label>\n <div id=\"cid_6\" class=\"form-input jf-required\">\n <span class=\"form-sub-label-container\" style=\"vertical-align: top;\">\n <div class=\"qq-uploader-buttonText-value\">\n Pilih Berkas\n <\/div>\n <input class=\"form-submit-button-blue form-upload-multiple validate[required]\" type=\"file\" id=\"input_6\" name=\"q6_masukkanFile[]\" multiple data-imagevalidate=\"yes\" data-file-accept=\"pdf, doc, html, xls, xlsx, txt\" data-file-maxsize=\"1024\" data-file-minsize=\"0\" data-file-limit=\"3\" \/>\n <label class=\"form-sub-label\" for=\"input_6\" style=\"min-height: 13px;\"> Format pdf, doc, html, xls, xlsx, txt <\/label>\n <\/span>\n <span style=\"display:none\" class=\"cancelText\">\n Cancel\n <\/span>\n <span style=\"display:none\" class=\"ofText\">\n of\n <\/span>\n <\/div>\n <\/li>\n <li class=\"form-line jf-required\" data-type=\"control_captcha\" id=\"id_7\">\n <label class=\"form-label form-label-top\" id=\"label_7\" for=\"input_7\">\n Masukkan Kode yang ditampilkan, lalu klik tombol Krim\n <span class=\"form-required\">\n *\n <\/span>\n <\/label>\n <div id=\"cid_7\" class=\"form-input-wide jf-required\">\n <script type=\"text\/javascript\" src=\"\/\/www.google.com\/recaptcha\/api\/js\/recaptcha_ajax.js\"><\/script>\n <div id=\"recaptcha_input_7\">\n <\/div>\n <script type=\"text\/javascript\">\n var rc_script_tag = document.createElement('script'),\n rc_init_func = function()\n {\n Recaptcha.create(\"6Ld9UAgAAAAAAMon8zjt30tEZiGQZ4IIuWXLt1ky\", \"recaptcha_input_7\", {\n theme: \"clean\",\n callback: function()\n {\n $(\"recaptcha_response_field\").addClassName(\"validate[required]\");\n JotForm.validator()\n }\n });\n }\nrc_script_tag.src = \"\/\/www.google.com\/recaptcha\/api\/js\/recaptcha_ajax.js\";\nrc_script_tag.type = 'text\/javascript';\nrc_script_tag.onload = function()\n{\n rc_init_func.call();\n};\nrc_script_tag.onreadystatechange = function()\n{\n if (rc_script_tag.readyState == 'loaded' || rc_script_tag.readyState == 'complete')\n {\n rc_init_func.call();\n }\n};\n(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(rc_script_tag);\n <\/script>\n <\/div>\n <\/li>\n <li class=\"form-line\" data-type=\"control_button\" id=\"id_2\">\n <div id=\"cid_2\" class=\"form-input-wide\">\n <div style=\"margin-left:156px\" class=\"form-buttons-wrapper\">\n <button id=\"input_2\" type=\"submit\" class=\"form-submit-button\">\n Kirim\n <\/button>\n <\/div>\n <\/div>\n <\/li>\n <li style=\"display:none\">\n Should be Empty:\n <input type=\"text\" name=\"website\" value=\"\" \/>\n <\/li>\n <\/ul>\n <\/div>\n <script>\n JotForm.showJotFormPowered = false;\n <\/script>\n <input type=\"hidden\" id=\"simple_spc\" name=\"simple_spc\" value=\"63311671654454\" \/>\n <script type=\"text\/javascript\">\n document.getElementById(\"si\" + \"mple\" + \"_spc\").value = \"63311671654454-63311671654454\";\n <\/script>\n<\/form><\/body>\n<\/html>\n");(function(){window.handleIFrameMessage=function(e){var args=e.data.split(":");var iframe=document.getElementById("63311671654454");if(!iframe){return};switch(args[0]){case"scrollIntoView":if(!("nojump"in FrameBuilder.get)){iframe.scrollIntoView();} break;case"setHeight":iframe.style.height=args[1]+"px";break;case"collapseErrorPage":if(iframe.clientHeight>window.innerHeight){iframe.style.height=window.innerHeight+"px";} break;case"reloadPage":if(iframe){location.reload();} break;case"removeIframeOnloadAttr":iframe.removeAttribute("onload");break;}};if(window.addEventListener){window.addEventListener("message",handleIFrameMessage,false);}else if(window.attachEvent){window.attachEvent("onmessage",handleIFrameMessage);}})();