if(!window.OMXTop){
	var OMXTop={};
}
if(!OMXTop.show){
	OMXTop.show=function(callback){

		if(top!=self){ //frame detected, return
			return;
		}

		elem = document.createElement("div");
	    elem.id = 'omxTopBar';
		elem.setAttribute('style', 'width: 100%; height: 32px; overflow:hidden;');
		var s = '<iframe width="100%" height="32" style="width:100%; height:32px;';

		if( /MSIE 6/i.test(navigator.userAgent) ){
			document.body.style.margin = '0'; document.body.style.padding = '0'
		}else{
			s += 'position:fixed;left:0;top:0;z-index:3000;';
		}
		if( typeof callback == 'function' ){
			callback();
		}		
		s += '" frameborder="0" src="/social/"></iframe>';
	    elem.innerHTML = s;
	    document.body.insertBefore(elem,document.body.childNodes[0]);	
	};
}
