    function showMessage(msg_url){
        $.modal.close();
        $.modal('<iframe src="' + msg_url + '" height="450" width="930" style="border:0">', {
            containerCss:{
              backgroundColor:"#fff",
              borderColor:"",
              height:450,
              padding:0,
              width:930
            },
          overlayClose:true
        });     
    }
    function addquotes(s){return s!=null?"'"+s+"'":"''"}
    
    function setWidget(){
     
      var m1 = window.setTimeout(function() { showTwitter(); }, 10*60*1000);
      var m2 = window.setTimeout(function() { showTAF(); }, 20*60*1000);
      var m3 = window.setTimeout(function() { showBlog(); }, 40*60*1000);
      var m4 = window.setTimeout(function() { showAff(); }, 60*60*1000);
    }
    
    function showTwitter() {showMessage('/call/current/twitter.php');}
    function showTAF() {showMessage('/taf/taf1.php');}
    function showBlog() {showMessage('/call/current/blog.php');}
    function showAff() {showMessage('/aff/index_modal.php');}

  

   
    $(function () {	setWidget();  });
      