﻿$(document).ready(function() {

    $(".question").each(function() {    
        
        var pos = "topLeft";
        var tip = "topRight";


        $(this).qtip(
        {        
            position: {
                corner: {
                    target: pos,
                    tooltip: tip
                    } 
                },
            content: { text: $(this).attr("tooltip") },  //contextlist[$(this).attr("rel")]}, 
            style: {name: 'cream'},
            show: {delay:0}//,
            //hide: {delay:500}
            
        });
    });
});
