/*function moveFlexIFrame(x,y,w,h) {
    var iframe = $('flexIFrame');
    iframe.setStyle('left',x);
    iframe.setStyle('top',y);
    iframe.setStyle('width',w);
    iframe.setStyle('height',h);
}

function hideFlexIFrame(){
    var iframe = $('flexIFrame');
    iframe.setStyle('display','none');
}
    
function showFlexIFrame(){
    var iframe = $('flexIFrame');
    iframe.setStyle('display','');
}

function loadFlexIFrame(url){
    var iframe = $('flexIFrame');
    iframe.set('src',url);
}

function getFlexIFrameLocation(){
    return document.getElementById("flexIFrame").innerHTML;
}

function setFlexIFrameLocation(value){
    document.getElementById("flexIFrame").innerHTML = value;
}*/

function moveFlexIFrame(x,y,w,h) {
    var frameRef = document.getElementById("flexIFrame");
    frameRef.style.left = parseInt(x)+"px";
    frameRef.style.top = parseInt(y)+"px";
    frameRef.width = w;
    frameRef.height = h;
}

function setFlexIFrameLocation(value) {
    document.getElementById("flexIFrame").src = value;
}

function getFlexIFrameLocation() {
	alert("-> "+document.getElementById("flexIFrame").contentDocument.baseURI.toString());
	return document.getElementById("flexIFrame").contentDocument.location.href;
    //return document.getElementById("flexIFrame").src;
}

function hideFlexIFrame() {
    document.getElementById("flexIFrame").style.visibility = "hidden";
}

function showFlexIFrame() {
    document.getElementById("flexIFrame").style.visibility = "visible";
}


/******************************************************************************************************************************/


