$(function(){
    $('#tips').jqm();

    
});

function obtain(id){

   // $("#tips").css("top", ($(document).scrollTop() + window.screen.height / 4 + "px"));
    $("#tips").css("top", ($(document).scrollTop() + window.screen.height / 4 + "px"));
    $("#tips").css("left", ($(document).scrollLeft() + window.screen.width / 4 + "px"));
    $("#detailed").attr("href", "/auditions/display_casting.php?casting_id=" + id);
    $.getJSON("/ajax/casting_info.php?id=" + id, function(json){
        $("#title").text(json.title);
        $("#director").text(json.director);
        $("#jobtype").text(json.jobtype);
        $("#address").text(json.address);
        $("#jishu").text(json.jishu);
        $("#subtype").text(json.subtype);
        $("#phototime").text(json.phototime);

        //$("#publish").text(myDate.getDate()); 
		$("#publish").text(json.publish); 
        //$("#end").text(json.end);
    });
};



  var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-18251382-1']);
      _gaq.push(['_setDomainName', '.u111.com']);
        _gaq.push(['_trackPageview']);

	  (function() {
	      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	          ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();



var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F2e52b27f007c04eb4bd7a2eca12f0dd8' type='text/javascript'%3E%3C/script%3E"));
