function share(A){window.open(A,"window","width=380,height=430, status=yes,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes")
}function setHomeCookie(A){$.cookie("infobanner",A,{path:"/"})
}function initialBannerMessages(){$("#whatallisclose").click(function(){$("#whatallbox").slideToggle("fast")
});
$("#infobanner").click(function(){$("#whatallbox").slideToggle("fast")
});
$("#infobanner").click(function(){$("#infobanner").slideToggle("fast")
});
$("#whatallisclose").click(function(){$("#infobanner").slideToggle("fast")
});
if($.cookie("infobanner")=="hide"){$("#whatallbox").hide();
$("#infobanner").show()
}else{$("#infobanner").hide();
$("#whatallbox").show()
}if($.cookie("svwhatisvideo")=="hide"){$("#showvideo").hide()
}$("#whatis").click(function(){$("#showvideo").slideToggle("fast")
});
$("#whatisclose").click(function(){$("#showvideo").slideToggle("fast")
});
if($.cookie("svwhatisacademicpapers")=="hide"){$("#showacademic").hide()
}$("#whatis").click(function(){$("#showacademic").slideToggle("fast")
});
$("#whatisclose").click(function(){$("#showacademic").slideToggle("fast")
});
if($.cookie("svwhatisyourvoice")=="hide"){$("#showyourvoice").hide()
}$("#whatis").click(function(){$("#showyourvoice").slideToggle("fast")
});
$("#whatisclose").click(function(){$("#showyourvoice").slideToggle("fast")
});
if($.cookie("svwhatisphotoessay")=="hide"){$("#showphotoessay").hide()
}$("#whatis").click(function(){$("#showphotoessay").slideToggle("fast")
});
$("#whatisclose").click(function(){$("#showphotoessay").slideToggle("fast")
});
if($.cookie("svwhatisnewsstories")=="hide"){$("#shownewsstories").hide()
}$("#whatis").click(function(){$("#shownewsstories").slideToggle("fast")
});
$("#whatisclose").click(function(){$("#shownewsstories").slideToggle("fast")
});
if($.cookie("svwhatisevents")=="hide"){$("#showevents").hide()
}$("#whatis").click(function(){$("#showevents").slideToggle("fast")
});
$("#whatisclose").click(function(){$("#showevents").slideToggle("fast")
})
}function setCookie(A){var B=$.cookie("svwhatis"+A);
if(B=="hide"){B="show"
}else{B="hide"
}$.cookie("svwhatis"+A,B,{path:"/"})
}function setUrlSeo(C,D,B,E){var A="";
if("english"==E){A=C+"/order-"+D+B
}else{A=C+"/ordenamiento-"+D+B
}document.getElementById("formGuestIndex").action=A;
document.getElementById("formGuestIndex").submit()
}function initializeLogin(){if(document.getElementById("userName")!=null&&document.getElementById("password")!=null){document.getElementById("userName").value="username";
document.getElementById("password").value="password"
}initialBannerMessages()
}function clean(A){if("password"==document.getElementById(A).value||"username"==document.getElementById(A).value||""==document.getElementById(A).value){document.getElementById(A).value=""
}}function fill(A){if("password"==document.getElementById(A).value||"username"==document.getElementById(A).value||""==document.getElementById(A).value){if("userName"==A){document.getElementById(A).value="username"
}else{document.getElementById(A).value="password"
}}}function addFckEditor(D,A,F,C){var B=new FCKeditor(D);
B.ToolbarSet=C;
B.Width=A;
B.Height=F;
B.ReplaceTextarea();
try{document.getElementById("length_id").value=document.getElementById("length_id").value-document.getElementById("resume").value.length
}catch(E){}};
