$(document).ready(function(){
	$('#buka-logo').click(function(){document.location.href = cur_page+"/";});
	if($('#TextRotator')){
		textRotator.Start($('#TextRotator'), [
        	rotateMsg1,
        	rotateMsg2,
        	rotateMsg3,
        	rotateMsg4
		]);
    }
    function checkstatus_project(){
    	var status = ProdownFrame.getStatus();
        switch(status){
    	    case StatManager.PluginEvent.Loading:
            case StatManager.PluginEvent.Ready:
            case StatManager.PluginEvent.Launched:
        	    $("#tr_loader").show();
        	    break;
        	case StatManager.PluginEvent.Idle:
        	    $("#tr_loader").hide();
        	    break;
    	}
        status = null;
        gameTitle = null;
        return null;
    }
    if(SysreqManager.IsPluginInit){
        var localImagesTimer = $.timer(1000, function(timer) {
            checkstatus_project();
            timer.reset(1000);
        });
    }
});
;