$(function(){
    // Here you can continue..

    /* To reload captcha image with different numbers. */
    $(".captchaImage").click(function () {
        var path = $(this).attr('src');
        var realpath = path.split('?');
        // This u parameter is to prevent caching by browser. (although it is disabled by headers)
        $(this).attr('src',realpath[0] + '?u='+new Date().getTime());
    });
});

/* Iframe protection */
if (window.top !== window.self) {
    document.write = "";
    window.top.location = window.self.location;
    setTimeout(function(){
        document.body.innerHTML='';
    },1);
    window.self.onload=function(evt){
        document.body.innerHTML='';
    };
}
