i have following code,i stored value in imgwidth variable
var newImg = new Image();
newImg.src = document.getElementById('image').src;
var height = newImg.height;
var width = newImg.width;
var width_img = width/3;
jQuery.mynamespace = {imgwidth : width_img};
how can i retrieve imgwidth variable globally?