//
//Namespace creation and common functions
//

//
//Setup logging
con = function(txt) {
    if (typeof console != "undefined"){
	console.log(txt);
    }
};

//
//Setup namespace
if (typeof _ == "undefined"){
    var _ = {};
}
		
//
//Common Functions
_.o = function(exp){
    //
    var jqObj = $(exp);
    //
    if(jqObj.length > 0){
	var out = {
	    j: jqObj,
	    d: jqObj[0]
	};
    }else{
	out = false;
    }
    return out;
};
