hello. doing this:
embedpano({swf:"test_right_left.swf", id:"krpanoSWFObject", xml:"test_right_left.xml", target:"krpano", width:"516", height:"300"});
function krpano() {return document.getElementById("krpanoSWFObject"); }
function loadpano(xmlname) { krpano().call("loadpano(" + xmlname + ", null, MERGE, BLEND(1));"); }
pano loads well ... but when i call loadpano(), firefox shows error "krpano().call is not a function".debug with .toSource() meets empty object. script executes on hosting domain. what it can be ??