//if(location.host=="www.lastbidwinsit.com"||location.host=="lastbidwinsit.com")
//{
$(document).ready(function(){
    if($.browser.msie){
        //Configuring ajax
        $.ajaxSetup({
            cache: false
        });
    }  
    setInterval(function(){
	 auctions1=true;
	 getStatusUrl='userthink.php';
	  if(auctions1){
		 $.ajax({
                url: getStatusUrl,
                dataType: 'json',
                type: 'POST',
                data: auctions1,
                success: function(data){
		   $.gritter.removeAll();
			$.gritter.add({
				// (string | mandatory) the heading of the notification
				title:data['username'],
				// (string | mandatory) the text inside the notification
				text:data['text'],
				// (string | optional) the image to display on the left
				image: 'http://www.metrospur.com/user_photo/'+data['image'],
				// (bool | optional) if you want it to fade out on its own or just sit there
				sticky: true, 
				// (int | optional) the time you want it to be alive for before fading out
				time: '15000'
			});//}
			
			return false;
		
		
					}
					
            });
	  }
    }, 15000);

    // Function for bidding
   

   

});


//}
//else
//{
	 //window.location="http://www.unv7.com";
//}


