53
| <![CDATA[<script type="text/javascript">
jQuery(function($) {
$('.hasTip').each(function() {
var title = $(this).attr('title');
if (title) {
var parts = title.split('::', 2);
var mtelement = document.id(this);
mtelement.store('tip:title', parts[0]);
mtelement.store('tip:text', parts[1]);
}
});
var JTooltips = new Tips($('.hasTip').get(), {"maxTitleChars": 50,"fixed": false});
});
Calendar._DN = ["Domingo","Segunda","Ter\u00e7a","Quarta","Quinta","Sexta","S\u00e1bado","Domingo"]; Calendar._SDN = ["Dom","Seg","Ter","Qua","Qui","Sex","S\u00e1b","Dom"]; Calendar._FD = 0; Calendar._MN = ["January","February","March","April","May","June","July","August","September","October","November","December"]; Calendar._SMN = ["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"]; Calendar._TT = {"INFO":"Sobre o calend\u00e1rio","ABOUT":"DHTML Date\/Time Selector\n(c) dynarch.com 20022005 \/ Author: Mihai Bazon\nFor latest version visit: http:\/\/www.dynarch.com\/projects\/calendar\/\nDistributed under GNU LGPL. See http:\/\/gnu.org\/licenses\/lgpl.html for details.\n\nSele\u00e7\u00e3o de data:\n- Use os bot\u00f5es \u00ab e \u00bb para selecionar um ano\n- Use os bot\u00f5es < e > para selecionar o m\u00eas\n- Segure o bot\u00e3o do mouse sobre qualquer um dos bot\u00f5es acima para sele\u00e7\u00e3o mais r\u00e1pida.","ABOUT_TIME":"\n\nTime selection:\n Click on any of the time parts to increase it\n or Shiftclick to decrease it\n or click and drag for faster selection.","PREV_YEAR":"Selecione para ir para o ano anterior. Selecione e segure para ver uma lista de anos.","PREV_MONTH":"Selecione para ir para o m\u00eas anterior. Selecione e segure para obter uma lista dos meses.","GO_TODAY":"Ir para hoje","NEXT_MONTH":"Selecione para ir para o pr\u00f3ximo m\u00eas. Selecione e segure para ver uma lista dos meses.","SEL_DATE":"Selecione uma data.","DRAG_TO_MOVE":"Arraste para mover","PART_TODAY":" Hoje ","DAY_FIRST":"Exibir %s primeiro","WEEKEND":"0,6","CLOSE":"Fechar","TODAY":"Hoje","TIME_PART":"Selecione com Shift ou Arraste para alterar o valor.","DEF_DATE_FORMAT":"%Y%m%d","TT_DATE_FORMAT":"%a, %b %e","WK":"Semana","TIME":"Hora:"};
</script>]]>
|
533
| <![CDATA[<script type="text/javascript">
JURI_ROOT ='';
WDF_GRADING_TEXT ='Your score should be less than';
WDF_INVALID_GRADING = '`grading_label` Total should be less than `grading_total`';
FormCurrency ='$';
FormPaypalTax ='0';
function formOnload12()
{
if (wdformjQuery.browser.msie && parseInt(wdformjQuery.browser.version, 10) === 8)
{
wdformjQuery("#form12").find(wdformjQuery("input[type='radio']")).click(function() {wdformjQuery("input[type='radio']+label").removeClass('if-ie-div-label'); wdformjQuery("input[type='radio']:checked+label").addClass('if-ie-div-label')});
wdformjQuery("#form12").find(wdformjQuery("input[type='radio']:checked+label")).addClass('if-ie-div-label');
wdformjQuery("#form12").find(wdformjQuery("input[type='checkbox']")).click(function() {wdformjQuery("input[type='checkbox']+label").removeClass('if-ie-div-label'); wdformjQuery("input[type='checkbox']:checked+label").addClass('if-ie-div-label')});
wdformjQuery("#form12").find(wdformjQuery("input[type='checkbox']:checked+label")).addClass('if-ie-div-label');
}
if(wdformjQuery.browser.ie)
{
wdformjQuery(".wdform-calendar-button").click(function() {
var pos = wdformjQuery(this).offset().top;
setTimeout(function(){
wdformjQuery(".calendar").each(function (){
if(wdformjQuery(this).css("display") == "block"){
wdformjQuery(this).css("top", parseInt(pos)-wdformjQuery(this).height()+"px");
}
});
},300);
});
}
if(wdformjQuery.browser.msie)
{
wdformjQuery(".wdform-calendar-button").click(function() {
var pos = wdformjQuery(this).offset().top;
setTimeout(function(){
wdformjQuery(".calendar").each(function (){
if(wdformjQuery(this).css("display") == "block"){
wdformjQuery(this).css("top", parseInt(pos)-wdformjQuery(this).height()+"px");
}
});
},300);
});
}
wdformjQuery("div[type='type_text'] input, div[type='type_number'] input, div[type='type_phone'] input, div[type='type_name'] input, div[type='type_submitter_mail'] input, div[type='type_paypal_price'] input, div[type='type_textarea'] textarea").focus(function() {delete_value(this)}).blur(function() {return_value(this)});
wdformjQuery("div[type='type_number'] input, div[type='type_phone'] input, div[type='type_spinner'] input, div[type='type_range'] input, .wdform-quantity").keypress(function(evt) {return check_isnum(evt)});
wdformjQuery("div[type='type_grading'] input").keypress(function() {return check_isnum_or_minus(event)});
wdformjQuery("div[type='type_paypal_checkbox'] input[type='checkbox'], div[type='type_paypal_radio'] input[type='radio'], div[type='type_paypal_shipping'] input[type='radio']").click(function() {set_total_value(12)});
wdformjQuery("div[type='type_paypal_select'] select, div[type='type_paypal_price'] input").change(function() {set_total_value(12)});
wdformjQuery(".wdform-quantity").change(function() {set_total_value(12)});
wdformjQuery("div[type='type_time'] input").blur(function() {add_0(this)});
wdformjQuery('.wdform-element-section').each(function() {
if(!wdformjQuery(this).parent()[0].style.width && parseInt(wdformjQuery(this).width())!=0)
{
if(wdformjQuery(this).css('display')=="table-cell")
{
if(wdformjQuery(this).parent().attr('type')!="type_captcha")
wdformjQuery(this).parent().css('width', parseInt(wdformjQuery(this).width()) + parseInt(wdformjQuery(this).parent().find(wdformjQuery(".wdform-label-section"))[0].style.width)+15);
else
wdformjQuery(this).parent().css('width', (parseInt(wdformjQuery(this).parent().find(wdformjQuery(".captcha_input"))[0].style.width)*2+50) + parseInt(wdformjQuery(this).parent().find(wdformjQuery(".wdform-label-section"))[0].style.width)+15);
}
}
if(parseInt(wdformjQuery(this)[0].style.width.replace('px', '')) < parseInt(wdformjQuery(this).css('min-width').replace('px', '')))
wdformjQuery(this).css('min-width', parseInt(wdformjQuery(this)[0].style.width.replace('px', ''))-10);
});
wdformjQuery('.wdform-label').each(function() {
if(parseInt(wdformjQuery(this).height()) >= 2*parseInt(wdformjQuery(this).css('line-height').replace('px', '')))
{
wdformjQuery(this).parent().css('max-width',wdformjQuery(this).parent().width());
wdformjQuery(this).parent().css('width','');
}
});
(function(wdformjQuery){
wdformjQuery.fn.shuffle = function() {
var allElems = this.get(),
getRandom = function(max) {
return Math.floor(Math.random() * max);
},
shuffled = wdformjQuery.map(allElems, function(){
var random = getRandom(allElems.length),
randEl = wdformjQuery(allElems[random]).clone(true)[0];
allElems.splice(random, 1);
return randEl;
});
this.each(function(i){
wdformjQuery(this).replaceWith(wdformjQuery(shuffled[i]));
});
return wdformjQuery(shuffled);
};
})(wdformjQuery);
wdformjQuery("<input type=\"hidden\" name=\"hidden_field_for_validation12\" value =\"\" />").appendTo("#form12")
if(window.before_load)
{
before_load();
}
}
function formAddToOnload12()
{
if(formOldFunctionOnLoad12){ formOldFunctionOnLoad12(); }
formOnload12();
}
function formLoadBody12()
{
formOldFunctionOnLoad12 = window.onload;
window.onload = formAddToOnload12;
}
var formOldFunctionOnLoad12 = null;
formLoadBody12();
form_view_count12=0;
for(i=1; i<=30; i++)
{
if(document.getElementById('12form_view'+i))
{
form_view_count12++;
form_view_max12=i;
}
}
if(form_view_count12>1)
{
for(i=1; i<=form_view_max12; i++)
{
if(document.getElementById('12form_view'+i))
{
first_form_view12=i;
break;
}
}
generate_page_nav(first_form_view12, '12', form_view_count12, form_view_max12);
}
function check_required12(but_type)
{
if(but_type=='reset')
{
if(window.before_reset)
{
before_reset();
}
window.location="/justificativa-eleitoral";
return;
}
if(window.before_submit)
{
before_submit();
}
x=wdformjQuery("#form12");
if(x.find(wdformjQuery("div[wdid=2]")).length != 0 && x.find(wdformjQuery("div[wdid=2]")).css("display") != "none")
{
if(wdformjQuery("#wdform_2_element12").val()=="" || wdformjQuery("#wdform_2_element12").val()=="")
{
alert("\"Número do CRECI (F99999):\" field is required.");
wdformjQuery("#wdform_2_element12").addClass( "form-error" );
old_bg=x.find(wdformjQuery("div[wdid=2]")).css("background-color");
x.find(wdformjQuery("div[wdid=2]")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
wdformjQuery("#wdform_2_element12").focus();
wdformjQuery("#wdform_2_element12").change(function() { if( wdformjQuery(this).val()!="" ) wdformjQuery(this).removeClass("form-error"); else wdformjQuery(this).addClass("form-error");});
return false;
}
}
if(x.find(wdformjQuery("div[wdid=3]")).length != 0 && x.find(wdformjQuery("div[wdid=3]")).css("display") != "none")
{
if(wdformjQuery("#wdform_3_element12").val()=="" || wdformjQuery("#wdform_3_element12").val()=="")
{
alert("\"Nome Completo:\" field is required.");
wdformjQuery("#wdform_3_element12").addClass( "form-error" );
old_bg=x.find(wdformjQuery("div[wdid=3]")).css("background-color");
x.find(wdformjQuery("div[wdid=3]")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
wdformjQuery("#wdform_3_element12").focus();
wdformjQuery("#wdform_3_element12").change(function() { if( wdformjQuery(this).val()!="" ) wdformjQuery(this).removeClass("form-error"); else wdformjQuery(this).addClass("form-error");});
return false;
}
}
if(x.find(wdformjQuery("div[wdid=4]")).length != 0 && x.find(wdformjQuery("div[wdid=4]")).css("display") != "none")
{
if(wdformjQuery("#wdform_4_element12").val()=="" || wdformjQuery("#wdform_4_element12").val()=="")
{
alert("\"Motivo:\" field is required.");
wdformjQuery("#wdform_4_element12").addClass( "form-error" );
old_bg=x.find(wdformjQuery("div[wdid=4]")).css("background-color");
x.find(wdformjQuery("div[wdid=4]")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
wdformjQuery("#wdform_4_element12").focus();
wdformjQuery("#wdform_4_element12").change(function() { if( wdformjQuery(this).val()!="" ) wdformjQuery(this).removeClass("form-error"); else wdformjQuery(this).addClass("form-error");});
return false;
}
}
if(x.find(wdformjQuery("div[wdid=5]")).length != 0 && x.find(wdformjQuery("div[wdid=5]")).css("display") != "none")
{
ext_available=getfileextension(wdformjQuery("#wdform_5_element12").val(),"jpg, jpeg, png, gif, doc, docx, xls, xlsx");
if(!ext_available)
{
alert("Sorry, you are not allowed to upload this type of file.");
old_bg=x.find(wdformjQuery("div[wdid=5]")).css("background-color");
x.find(wdformjQuery("div[wdid=5]")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
wdformjQuery("#wdform_5_element12").focus();
return false;
}
}
;
if(a[12]==1)
return;
var disabled_fields ="";
wdformjQuery("div[wdid]").each(function() {
if(wdformjQuery(this).css("display")=="none")
{
disabled_fields += wdformjQuery(this).attr("wdid");
disabled_fields += ",";
}
if(disabled_fields)
wdformjQuery("<input type=\"hidden\" name=\"disabled_fields12\" value =\""+disabled_fields+"\" />").appendTo("#form12");
});
a[12]=1;
document.getElementById("form"+12).submit();
}
function check12(id)
{
x=wdformjQuery("#12form_view"+id);
if(x.find(wdformjQuery("div[wdid=2]")).length != 0 && x.find(wdformjQuery("div[wdid=2]")).css("display") != "none")
{
if(wdformjQuery("#wdform_2_element12").val()=="" || wdformjQuery("#wdform_2_element12").val()=="")
{
alert("\"Número do CRECI (F99999):\" field is required.");
wdformjQuery("#wdform_2_element12").addClass( "form-error" );
old_bg=x.find(wdformjQuery("div[wdid=2]")).css("background-color");
x.find(wdformjQuery("div[wdid=2]")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
wdformjQuery("#wdform_2_element12").focus();
wdformjQuery("#wdform_2_element12").change(function() { if( wdformjQuery(this).val()!="" ) wdformjQuery(this).removeClass("form-error"); else wdformjQuery(this).addClass("form-error");});
return false;
}
}
if(x.find(wdformjQuery("div[wdid=3]")).length != 0 && x.find(wdformjQuery("div[wdid=3]")).css("display") != "none")
{
if(wdformjQuery("#wdform_3_element12").val()=="" || wdformjQuery("#wdform_3_element12").val()=="")
{
alert("\"Nome Completo:\" field is required.");
wdformjQuery("#wdform_3_element12").addClass( "form-error" );
old_bg=x.find(wdformjQuery("div[wdid=3]")).css("background-color");
x.find(wdformjQuery("div[wdid=3]")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
wdformjQuery("#wdform_3_element12").focus();
wdformjQuery("#wdform_3_element12").change(function() { if( wdformjQuery(this).val()!="" ) wdformjQuery(this).removeClass("form-error"); else wdformjQuery(this).addClass("form-error");});
return false;
}
}
if(x.find(wdformjQuery("div[wdid=4]")).length != 0 && x.find(wdformjQuery("div[wdid=4]")).css("display") != "none")
{
if(wdformjQuery("#wdform_4_element12").val()=="" || wdformjQuery("#wdform_4_element12").val()=="")
{
alert("\"Motivo:\" field is required.");
wdformjQuery("#wdform_4_element12").addClass( "form-error" );
old_bg=x.find(wdformjQuery("div[wdid=4]")).css("background-color");
x.find(wdformjQuery("div[wdid=4]")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
wdformjQuery("#wdform_4_element12").focus();
wdformjQuery("#wdform_4_element12").change(function() { if( wdformjQuery(this).val()!="" ) wdformjQuery(this).removeClass("form-error"); else wdformjQuery(this).addClass("form-error");});
return false;
}
}
if(x.find(wdformjQuery("div[wdid=5]")).length != 0 && x.find(wdformjQuery("div[wdid=5]")).css("display") != "none")
{
ext_available=getfileextension(wdformjQuery("#wdform_5_element12").val(),"jpg, jpeg, png, gif, doc, docx, xls, xlsx");
if(!ext_available)
{
alert("Sorry, you are not allowed to upload this type of file.");
old_bg=x.find(wdformjQuery("div[wdid=5]")).css("background-color");
x.find(wdformjQuery("div[wdid=5]")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
wdformjQuery("#wdform_5_element12").focus();
return false;
}
}
;
return true;
}
// wdformjQuery('.wdform-element-section select').each(function() { reselect(this,''); })
</script>]]>
|