var strHtml = ''; strHtml += ''; strHtml += ''; strHtml += '
'; strHtml += '

Futures Fun Facts : Did You Know?

'; strHtml += '

'; strHtml += '
'; strHtml += 'Did you know? According to CRBTrader.com, 5 of the 6 CCI sub-sectors closed higher in 2009. Discover more at LearnAboutFutures.com #futures
'; strHtml += ''; strHtml += ''; strHtml += 'Tue Aug 03 16:57:08 from web'; strHtml += ''; strHtml += '
'; strHtml += '
'; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += '

'; strHtml += '

'; strHtml += 'Get this gadget'; strHtml += '  '; strHtml += ''; strHtml += ''; strHtml += ''; strHtml += '  '; strHtml += ''; strHtml += ' | '; strHtml += 'Next'; strHtml += '

'; strHtml += '
Follow Learn About Futures on Twitter 
'; strHtml += '
'; strHtml += '
 Grab the Futures Fun Facts : Did You Know Twitter Widget Today.
'; strHtml += '
This free widget provides interesting facts on the Futures Industry
'; strHtml += '
'; strHtml += '
'; strHtml += '

Put this widget on your website, blog, etc. its simple! Just copy and paste the code below. We will take care of the rest and tweet a Futures related "Did You Know" fact.

'; strHtml += 'Code:
'; strHtml += '
'; strHtml += '
'; document.write(strHtml); /************************************/ var maxitem = 111; jQuery(document).ready(function () { jQuery("#prev").bind("click", function() { if(maxitem > 0) { postid = jQuery(this).attr("rel"); if(parseInt(maxitem) == parseInt(postid)) { jQuery(this).attr("style", 'color: #555555!important; text-decoration: none; cursor: default;'); jQuery(this).attr("rel", maxitem); jQuery(this).removeAttr("href"); jQuery("#newer").attr("style", 'text-decoration: none; cursor: pointer;'); jQuery("#newer").attr("href", 'javascript:void(0);'); jQuery("#newer").attr("rel", maxitem); } else { jQuery("#post" + postid).attr("style", 'display: none;'); jQuery("#post" + (parseInt(postid) + 1)).attr("style", 'display: block;'); jQuery(this).attr("rel", (parseInt(postid) + 1)); if((parseInt(postid) + 1) == parseInt(maxitem)) { jQuery(this).attr("style", 'color: #555555!important; text-decoration: none; cursor: default;'); jQuery(this).attr("rel", maxitem); jQuery(this).removeAttr("href"); } jQuery("#newer").attr("rel", (parseInt(postid) + 1)); jQuery("#newer").attr("style", 'text-decoration: none; cursor: pointer;'); jQuery("#newer").attr("href", 'javascript:void(0);'); } } }); jQuery("#newer").bind("click", function() { postid = jQuery(this).attr("rel"); if(parseInt(postid) == 1) { jQuery(this).attr("style", 'color: #555555!important; text-decoration: none; cursor: default;'); jQuery(this).attr("rel", 1); jQuery(this).removeAttr("href"); jQuery("#prev").attr("style", 'text-decoration: none; cursor: pointer;'); jQuery("#prev").attr("href", 'javascript:void(0);'); jQuery("#prev").attr("rel", 1); } else { jQuery("#post" + postid).attr("style", 'display: none;'); jQuery("#post" + (parseInt(postid) - 1)).attr("style", 'display: block;'); jQuery(this).attr("rel", (parseInt(postid) - 1)); if((parseInt(postid) - 1) == 1) { jQuery(this).attr("style", 'color: #555555!important; text-decoration: none; cursor: default;'); jQuery(this).attr("rel", 1); jQuery(this).removeAttr("href"); } jQuery("#prev").attr("rel", (parseInt(postid) - 1)); jQuery("#prev").attr("style", 'text-decoration: none; cursor: pointer;'); jQuery("#prev").attr("href", 'javascript:void(0);'); } }); /* Highlight Code*/ jQuery("#mycode").click(function () { jQuery("#mycode").select(); }); }); /*Popup Modal Library*/ ;(function(jQuery){var ie6=jQuery.browser.msie&&parseInt(jQuery.browser.version)==6&&typeof window['XMLHttpRequest']!="object",ieQuirks=null,w=[];jQuery.modal=function(data,options){return jQuery.modal.impl.init(data,options);};jQuery.modal.close=function(){jQuery.modal.impl.close();};jQuery.fn.modal=function(options){return jQuery.modal.impl.init(this,options);};jQuery.modal.defaults={appendTo:'body',focus:true,opacity:50,overlayId:'simplemodal-overlay',overlayCss:{},containerId:'simplemodal-container',containerCss:{},dataId:'simplemodal-data',dataCss:{},minHeight:200,minWidth:300,maxHeight:null,maxWidth:null,autoResize:false,autoPosition:true,zIndex:1000,close:true,closeHTML:'',closeClass:'simplemodal-close',escClose:true,overlayClose:false,position:null,persist:false,onOpen:null,onShow:null,onClose:null};jQuery.modal.impl={o:null,d:{},init:function(data,options){var s=this;if(s.d.data){return false;}ieQuirks=jQuery.browser.msie&&!jQuery.boxModel;s.o=jQuery.extend({},jQuery.modal.defaults,options);s.zIndex=s.o.zIndex;s.occb=false;if(typeof data=='object'){data=data instanceof jQuery?data:jQuery(data);if(data.parent().parent().size()>0){s.d.parentNode=data.parent();if(!s.o.persist){s.d.orig=data.clone(true);}}}else if(typeof data=='string'||typeof data=='number'){data=jQuery('
').html(data);}else{alert('SimpleModal Error: Unsupported data type: '+typeof data);return s;}s.create(data);data=null;s.open();if(jQuery.isFunction(s.o.onShow)){s.o.onShow.apply(s,[s.d]);}return s;},create:function(data){var s=this;w=s.getDimensions();if(ie6){s.d.iframe=jQuery('').css(jQuery.extend(s.o.iframeCss,{display:'none',opacity:0,position:'fixed',height:w[0],width:w[1],zIndex:s.o.zIndex,top:0,left:0})).appendTo(s.o.appendTo);}s.d.overlay=jQuery('
').attr('id',s.o.overlayId).addClass('simplemodal-overlay').css(jQuery.extend(s.o.overlayCss,{display:'none',opacity:s.o.opacity/100,height:w[0],width:w[1],position:'fixed',left:0,top:0,zIndex:s.o.zIndex+1})).appendTo(s.o.appendTo);s.d.container=jQuery('
').attr('id',s.o.containerId).addClass('simplemodal-container').css(jQuery.extend(s.o.containerCss,{display:'none',position:'fixed',zIndex:s.o.zIndex+2})).append(s.o.close&&s.o.closeHTML?jQuery(s.o.closeHTML).addClass(s.o.closeClass):'').appendTo(s.o.appendTo);s.d.wrap=jQuery('
').attr('tabIndex',-1).addClass('simplemodal-wrap').css({height:'100%',outline:0,width:'100%'}).appendTo(s.d.container);s.d.data=data.attr('id',data.attr('id')||s.o.dataId).addClass('simplemodal-data').css(jQuery.extend(s.o.dataCss,{display:'none'})).appendTo('body');data=null;s.setContainerDimensions();s.d.data.appendTo(s.d.wrap);if(ie6||ieQuirks){s.fixIE();}},bindEvents:function(){var s=this;jQuery('.'+s.o.closeClass).bind('click.simplemodal',function(e){e.preventDefault();s.close();});if(s.o.close&&s.o.overlayClose){s.d.overlay.bind('click.simplemodal',function(e){e.preventDefault();s.close();});}jQuery(document).bind('keydown.simplemodal',function(e){if(s.o.focus&&e.keyCode==9){s.watchTab(e);}else if((s.o.close&&s.o.escClose)&&e.keyCode==27){e.preventDefault();s.close();}});jQuery(window).bind('resize.simplemodal',function(){w=s.getDimensions();s.setContainerDimensions(true);if(ie6||ieQuirks){s.fixIE();}else{s.d.iframe&&s.d.iframe.css({height:w[0],width:w[1]});s.d.overlay.css({height:w[0],width:w[1]});}});},unbindEvents:function(){jQuery('.'+this.o.closeClass).unbind('click.simplemodal');jQuery(document).unbind('keydown.simplemodal');jQuery(window).unbind('resize.simplemodal');this.d.overlay.unbind('click.simplemodal');},fixIE:function(){var s=this,p=s.o.position;jQuery.each([s.d.iframe||null,s.d.overlay,s.d.container],function(i,el){if(el){var bch='document.body.clientHeight',bcw='document.body.clientWidth',bsh='document.body.scrollHeight',bsl='document.body.scrollLeft',bst='document.body.scrollTop',bsw='document.body.scrollWidth',ch='document.documentElement.clientHeight',cw='document.documentElement.clientWidth',sl='document.documentElement.scrollLeft',st='document.documentElement.scrollTop',s=el[0].style;s.position='absolute';if(i<2){s.removeExpression('height');s.removeExpression('width');s.setExpression('height',''+bsh+' > '+bch+' ? '+bsh+' : '+bch+' + "px"');s.setExpression('width',''+bsw+' > '+bcw+' ? '+bsw+' : '+bcw+' + "px"');}else{var te,le;if(p&&p.constructor==Array){var top=p[0]?typeof p[0]=='number'?p[0].toString():p[0].replace(/px/,''):el.css('top').replace(/px/,'');te=top.indexOf('%')==-1?top+' + (t = '+st+' ? '+st+' : '+bst+') + "px"':parseInt(top.replace(/%/,''))+' * (('+ch+' || '+bch+') / 100) + (t = '+st+' ? '+st+' : '+bst+') + "px"';if(p[1]){var left=typeof p[1]=='number'?p[1].toString():p[1].replace(/px/,'');le=left.indexOf('%')==-1?left+' + (t = '+sl+' ? '+sl+' : '+bsl+') + "px"':parseInt(left.replace(/%/,''))+' * (('+cw+' || '+bcw+') / 100) + (t = '+sl+' ? '+sl+' : '+bsl+') + "px"';}}else{te='('+ch+' || '+bch+') / 2 - (this.offsetHeight / 2) + (t = '+st+' ? '+st+' : '+bst+') + "px"';le='('+cw+' || '+bcw+') / 2 - (this.offsetWidth / 2) + (t = '+sl+' ? '+sl+' : '+bsl+') + "px"';}s.removeExpression('top');s.removeExpression('left');s.setExpression('top',te);s.setExpression('left',le);}}});},focus:function(pos){var s=this,p=pos||'first';var input=jQuery(':input:enabled:visible:'+p,s.d.wrap);input.length>0?input.focus():s.d.wrap.focus();},getDimensions:function(){var el=jQuery(window);var h=jQuery.browser.opera&&jQuery.browser.version>'9.5'&&jQuery.fn.jquery<='1.2.6'?document.documentElement['clientHeight']:jQuery.browser.opera&&jQuery.browser.version<'9.5'&&jQuery.fn.jquery>'1.2.6'?window.innerHeight:el.height();return[h,el.width()];},getVal:function(v){return v=='auto'?0:v.indexOf('%')>0?v:parseInt(v.replace(/px/,''));},setContainerDimensions:function(resize){var s=this;if(!resize||(resize&&s.o.autoResize)){var ch=s.getVal(s.d.container.css('height')),cw=s.getVal(s.d.container.css('width')),dh=s.d.data.outerHeight(true),dw=s.d.data.outerWidth(true);var mh=s.o.maxHeight&&s.o.maxHeightmh){ch=mh;}else if(dhmh?mh:ch;}if(!cw){if(!dw){cw=s.o.minWidth;}else{if(dw>mw){cw=mw;}else if(dwmw?mw:cw;}s.d.container.css({height:ch,width:cw});if(dh>ch||dw>cw){s.d.wrap.css({overflow:'auto'});}}if(s.o.autoPosition){s.setPosition();}},setPosition:function(){var s=this,top,left,hc=(w[0]/2)-(s.d.container.outerHeight(true)/2),vc=(w[1]/2)-(s.d.container.outerWidth(true)/2);if(s.o.position&&Object.prototype.toString.call(s.o.position)==="[object Array]"){top=s.o.position[0]||hc;left=s.o.position[1]||vc;}else{top=hc;left=vc;}s.d.container.css({left:left,top:top});},watchTab:function(e){var s=this;if(jQuery(e.target).parents('.simplemodal-container').length>0){s.inputs=jQuery(':input:enabled:visible:first, :input:enabled:visible:last',s.d.data[0]);if((!e.shiftKey&&e.target==s.inputs[s.inputs.length-1])||(e.shiftKey&&e.target==s.inputs[0])||s.inputs.length==0){e.preventDefault();var pos=e.shiftKey?'last':'first';setTimeout(function(){s.focus(pos);},10);}}else{e.preventDefault();setTimeout(function(){s.focus();},10);}},open:function(){var s=this;s.d.iframe&&s.d.iframe.show();if(jQuery.isFunction(s.o.onOpen)){s.o.onOpen.apply(s,[s.d]);}else{s.d.overlay.show();s.d.container.show();s.d.data.show();}s.focus();s.bindEvents();},close:function(){var s=this;if(!s.d.data){return false;}s.unbindEvents();if(jQuery.isFunction(s.o.onClose)&&!s.occb){s.occb=true;s.o.onClose.apply(s,[s.d]);}else{if(s.d.parentNode){if(s.o.persist){s.d.data.hide().appendTo(s.d.parentNode);}else{s.d.data.hide().remove();s.d.orig.appendTo(s.d.parentNode);}}else{s.d.data.hide().remove();}s.d.container.hide().remove();s.d.overlay.hide().remove();s.d.iframe&&s.d.iframe.hide().remove();s.d={};}}};})(jQuery); jQuery(document).ready(function () { jQuery('#getgadget').click(function (e) { e.preventDefault(); jQuery('#popform').modal(); }); });