base_cfgs["b_5"]={
settings: [
{type:'hidden',name:'url'},
{type:'text',title:'Description',size:'30',name:'title', eg:'My house',mini:1},
{type:'text',title:'Link To',size:'30',name:'link', eg:'http://www.roxer.com',mini:1},
{type:'text',title:'Full Size URL',size:'30',name:'fullsize',mini:1},
{type:'text',title:'Licensing Info',size:'30',name:'license',eg:'http://files.roxer.com/licensing.txt'}
],
width:1,
height:1,
resize:'corners',
scalable:1
}
box_functions['b_5']=function(box,var_store,when) {
var img_id=box.elements['image'] // Get the image idvar img=document.getElementById(img_id);var title=box.db['title'] || '';img.title=title;img.alt=img.title;function adjustDimension(img) {         img.onload=function() {           mw.dim=mw.getImageDimensions(img);setTimeout("mw.selected.setDimensions(mw.dim);",1);         }}if (rox.editor) {      // We're changing the URL. Refresh the image dimensions    // Copied Box     if ((box.fresh_copy) && box.old_db && (!(box.old_db.url == box.db.url))) {        adjustDimension(img);     // - Existing box, changing image URL. Compare it to old value.     // - New Box.     } else if (box.old_db && (!(box.old_db.url == box.db.url))) {       adjustDimension(img);     }}var link=document.getElementById(img_id + '_link');img.src=box.db.url;if (box.db.link) {var anchor=document.createElement('A');anchor.href=box.db.link;img.parentNode.replaceChild(anchor,img);anchor.appendChild(img);} else if (box.db.fullsize) {dojo.require("dojox.image.Lightbox");dojo.addOnLoad(function() {var lightbox=new dojox.image.Lightbox({href:box.db.fullsize,title: title});lightbox.startup();img.style.cursor='pointer';dojo.connect(img,"onclick",lightbox,"show");});}img.style.height="100%";img.style.width="100%";var pub={size_guide:img};return pub;};
rox.loadBox('b_5')