



var HS_COOKIE_IFRAME="hs_iframe";var HS_IFRAME_URL=0;var HS_IFRAME_PARAM=1;var HS_IFRAME_RESPONSEID=2;var HS_COOKIE_COMPLIANCE="hs_compliance";var HS_COOKIE_MOSTACTIVE="hs_mostctive";var HS_HEDGELET_MOST_ACTIVE=0;var HS_HEDGELET_ALL=1;var HS_COOKIE_QA="hs_qatool";var HS_HEDGELET_MARKETNAME=0;var HS_HEDGELET_SUBMARKETNAME=1;var HS_HEDGELET_SUBMARKETPATH=2;var HS_HEDGELET_ASSETNAME=3;var HS_HEDGELET_ASSETPATH=4;var HS_HEDGELET_HEDGELETPATH=5;var HS_HEDGELET_HEDGELETTYPE=6;var HS_COOKIE_GRAPH="hs_qagraph";var HS_HEDGELET_MARKETNAME=0;var HS_HEDGELET_SUBMARKETNAME=1;var HS_HEDGELET_SUBMARKETPATH=2;var HS_HEDGELET_ASSETNAME=3;var HS_HEDGELET_ASSETPATH=4;var HS_HEDGELET_HEDGELETPATH=5;var HS_HEDGELET_HEDGELETTYPE=6;var HS_COOKIE_HEDGELETFILTER="hs_hedgeletfilter";var HS_FILTER_H_TYPE=0;var HS_FILTER_H_TIMEFRAME=1;var HS_FILTER_H_PERIODICITY=2;var HS_FILTER_H_STATUS=3;var HS_FILTER_H_CLASS=4;var HS_COOKIE_ORDER="hs_order";var HS_COOKIE_ORDERRECEIPT="hs_orderreceipt";var HS_ORDER_ACTION=0;var HS_ORDER_NUMBER=1;var HS_ORDER_TYPE=2;var HS_ORDER_PRICE=3;var HS_ORDER_QUANTITY=4;var HS_ORDER_AMOUNT=5;var HS_ORDER_HEDGELETPATH=6;var HS_ORDER_ACCOUNTNUMBER=7;var HS_ORDER_GIVEUPINST=8;var HS_ORDER_SYMBOL=9;var HS_ORDER_GIVEUPACCOUNT=10;var HS_ORDER_QUICKTRADE=11;var HS_ORDER_PRICE2=12;var HS_ORDER_QUANTITY2=13;var HS_COOKIE_ASSETS="hs_assets";var HS_COOKIE_INST_ACCOUNT="hs_account";var HS_USER_ID=0;var HS_CUST_ACCTNO=1;var HS_ACCTNO=2;var HS_USERNAME=3;var HS_COOKIE_ADD_ACCOUNT="hs_add_account";var HS_ACCT_NAME=0;var HS_ACCT_NO=1;var HS_ACCT_TYPE=2;var HS_ACCT_ALLOW=3;var HS_COOKIE_ADD_TRADER="hs_add_trader";var HS_ACCT_NAME=0;var HS_ACCT_MPHONE=1;var HS_ACCT_SPHONE=2;var HS_ACCT_FAX=3;var HS_ACCT_EMAIL=4;var HS_ACCT_ADDR=5;var HS_ACCT_CITY=6;var HS_ACCT_ZIP=7;var HS_ACCT_FCM=8;var HS_ACCT_TID=9;var HS_COOKIE_EDIT_TRADER="hs_edit_trader";var HS_ACCT_NAME=0;var HS_ACCT_MPHONE=1;var HS_ACCT_SPHONE=2;var HS_ACCT_FAX=3;var HS_ACCT_EMAIL=4;var HS_ACCT_ADDR=5;var HS_ACCT_CITY=6;var HS_ACCT_ZIP=7;var HS_ACCT_FCM=8;var HS_ACCT_TID=9;var HS_COOKIE_EDIT_ACCOUNT="hs_edit_account";var HS_ACCT_NAME=0;var HS_ACCT_NO=1;var HS_ACCT_TYPE=2;var HS_COOKIE_DEL="hs_del_trader";var HS_ACTION=0;var HS_TRADER_CUSTOMID=1;var HS_TRADER_NAME=2;var HS_TRADER_ID=4;var HS_COOKIE_DEL_GIVEUP="hs_del_giveup";var HS_ACCOUNT_NAME=0;var HS_EMAIL_SUBSCRIBE="hs_email_subscribe";var HS_COOKIE_BINARY_OR_FUTURES="hs_binaryorfutures";var HS_COOKIE_BINARY_OR_FUTURES_SELECTION=0;HS_DeclarePersistentCookie(HS_COOKIE_MOSTACTIVE,30);
function HS_ShowElementVisById(id){var _2;if((_2=HS_GetElementByID(id))!=null){_2.style.visibility="visible";}}function HS_HideElementVisById(id){var _4;if((_4=HS_GetElementByID(id))!=null){_4.style.visibility="hidden";}}function HS_HideElement(_5){if(_5!=null){_5.style.display="none";}}
var HS_SERVICE_RESPONSE_ASSET=1;var HS_SERVICE_RESPONSE_TRADE=2;var HS_SERVICE_RESPONSE_PnP=3;var HS_SERVICE_RESPONSE_PnP_SNAPQUOTE=4;var HS_SERVICE_RESPONSE_QUOTEDETAIL1=5;var HS_SERVICE_RESPONSE_QUOTEDETAIL2=6;var HS_SERVICE_RESPONSE_QUOTEDEPTH=7;var HS_SERVICE_RESPONSE_PENDINGSETTLED=8;var HS_SERVICE_RESPONSE_HEDGELETS=9;var HS_SERVICE_RESPONSE_DAILYBULLETIN=10;var HS_SERVICE_RESPONSE_POSITIONS=11;var HS_SERVICE_RESPONSE_MARKET_HEDGELET=12;var HS_SERVICE_RESPONSE_SUBMARKET_HEDGELET=13;var HS_SERVICE_RESPONSE_PnP_ATAGLANCE=14;var HS_SERVICE_RESPONSE_PLACEORDER_SNAPQUOTE=15;var HS_SERVICE_RESPONSE_PLACEORDER=16;var HS_SERVICE_RESPONSE_OPENORDERS=17;var HS_SERVICE_RESPONSE_OPENORDERDETAIL=18;var HS_SERVICE_RESPONSE_UNDERLYING=19;var HS_SERVICE_RESPONSE_BREADCRUMB=20;var HS_SERVICE_RESPONSE_FEATURED=21;var HS_SERVICE_RESPONSE_PLACEORDER_SNAPQUOTE_I=22;var HS_SERVICE_RESPONSE_PLACEORDER_POSITIONS=23;var HS_SERVICE_RESPONSE_ASSET_INDIVIDUAL=24;var HS_SERVICE_RESPONSE_TRANSACTIONHISTORY=25;var HS_SERVICE_RESPONSE_ORDERHISTORY=26;var HS_SERVICE_RESPONSE_MARKET_TRADE=27;var HS_SERVICE_RESPONSE_SUBMARKET_TRADE=28;var HS_SERVICE_CALENDAR_HEDGELETS=29;var HS_SERVICE_RESPONSE_COMPLIANCE_MARKET=30;var HS_SERVICE_RESPONSE_COMPLIANCE_SUBMARKET=31;var HS_SERVICE_RESPONSE_COMPLIANCE_ASSET=32;var HS_SERVICE_RESPONSE_COMPLIANCE_HEDGELET=33;var HS_SERVICE_RESPONSE_QA_MARKET=34;var HS_SERVICE_RESPONSE_QA_SUBMARKET=35;var HS_SERVICE_RESPONSE_QA_ASSET=36;var HS_SERVICE_RESPONSE_VIEWACCOUNT=37;var HS_SERVICE_RESPONSE_TRADERDETAIL=38;var HS_SERVICE_RESPONSE_ACCTDETAIL=39;var HS_SERVICE_RESPONSE_TRADERLIST=40;var HS_SERVICE_RESPONSE_ACCTLIST=41;var HS_ACCOUNTTYPE_UNDEFINED=0;var HS_ACCOUNTTYPE_COMPLIANCE=1;var HS_ACTION_PLACEORDER=1;var HS_ACTION_MODIFYORDER=2;var HS_ACTION_CANCELORDER=3;var HS_ACTION_CANCELALLORDERS=4;var HS_DELIMITER="|||";var HS_COOKIE_IFRAME="hs_iframe";var HS_IFRAME_URL=0;var HS_IFRAME_PARAM=1;var HS_IFRAME_RESPONSEID=2;var HS_COOKIE_HEDGELET="hs_hedgelet";var HS_COOKIE_COMPLIANCE="hs_compliance";var HS_HEDGELET_MARKETNAME=0;var HS_HEDGELET_SUBMARKETNAME=1;var HS_HEDGELET_SUBMARKETPATH=2;var HS_HEDGELET_ASSETNAME=3;var HS_HEDGELET_ASSETPATH=4;var HS_HEDGELET_HEDGELETPATH=5;var HS_HEDGELET_HEDGELETTYPE=6;var HS_COOKIE_QA="hs_qatool";var HS_HEDGELET_MARKETNAME=0;var HS_HEDGELET_SUBMARKETNAME=1;var HS_HEDGELET_SUBMARKETPATH=2;var HS_HEDGELET_ASSETNAME=3;var HS_HEDGELET_ASSETPATH=4;var HS_HEDGELET_HEDGELETPATH=5;var HS_HEDGELET_HEDGELETTYPE=6;var HS_COOKIE_GRAPH="hs_qagraph";var HS_HEDGELET_MARKETNAME=0;var HS_HEDGELET_SUBMARKETNAME=1;var HS_HEDGELET_SUBMARKETPATH=2;var HS_HEDGELET_ASSETNAME=3;var HS_HEDGELET_ASSETPATH=4;var HS_HEDGELET_HEDGELETPATH=5;var HS_HEDGELET_HEDGELETTYPE=6;var HS_COOKIE_HEDGELETFILTER="hs_hedgeletfilter";var HS_FILTER_H_TYPE=0;var HS_FILTER_H_TIMEFRAME=1;var HS_FILTER_H_PERIODICITY=2;var HS_FILTER_H_STATUS=3;var HS_COOKIE_ORDER="hs_order";var HS_COOKIE_ORDERRECEIPT="hs_orderreceipt";var HS_ORDER_ACTION=0;var HS_ORDER_NUMBER=1;var HS_ORDER_TYPE=2;var HS_ORDER_PRICE=3;var HS_ORDER_QUANTITY=4;var HS_ORDER_AMOUNT=5;var HS_ORDER_HEDGELETPATH=6;var HS_COOKIE_SESSIONERROR="hs_sessionerror";var HS_COOKIE_TARGETURL="hs_targeturl";var HS_COOKIE_TEMP1="hs_temp1";var HTS_SYSTEMSTATE_UNAVAILABLE=1;var HTS_SYSTEMSTATE_LOCKEDFORSETTLEMENT=2;var HTS_SYSTEMSTATE_AVAILABLE=4;var arrHSMonthsSimple=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");var arrHSMonthsFull=new Array("January","February","March","April","May","June","July","August","September","October","November","December");var arrHSWeeksSimple=new Array("Sun","Mon","Tue","Wed","Thu","Fri","Sat");function HS_UpdateMonthSelect(id,_2,_3){var _4=HS_GetElementByID(id);if(_4!=null){if(typeof _2=="undefined"||_2<=0){_2=24;}if(typeof _3=="undefined"){_3=new Date();}var _5=_3.getMonth();var _6=_3.getFullYear();HS_ClearDropDownList(id);var _7=_5;var _8=_6;for(i=0;i<_2;i++){if(i>0){_7--;}if(_7<0){_7=11;_8--;}HS_AddDropDownOption(id,arrHSMonthsSimple[_7]+" "+_8,(_7+1)+HS_DELIMITER+_8,false);}}}function createFilter(){var _9=0;for(i=0;i<createFilter.arguments.length;i++){_9+=createFilter.arguments[i];}return _9;}function HSUSD(_a,_b){return new Array("USD",_a,_b);}function HSDate(_c,_d,_e){return new Array(_c,_d,_e);}function HSTime(_f,_10,_11,_12,_13){return new Array(_f,_10,_11,_12,_13);}function HSDateTime(_14,_15,_16,_17,_18,_19,_1a,_1b){return new Array(_14,_15,_16,_17,_18,_19,_1a,_1b);}function HS_GenerateDateTime(_1c){var _1d=HS_GenerateDate(_1c);if(_1c.length>6){_1d+=" "+HS_GenerateTime(new Array(_1c[3],_1c[4],_1c[5],_1c[6],_1c[7]));}return _1d;}function HS_GenerateDateTime2(_1e){var _1f=HS_GenerateDate2(_1e);if(_1e.length>6){_1f+="&nbsp;-&nbsp;"+HS_GenerateTime(new Array(_1e[3],_1e[4],_1e[5],_1e[6],_1e[7]));}return _1f;}function HS_GenerateDateCal(_20){var _21=new Date();_21.setDate(_20[2]);_21.setMonth(_20[1]-1);_21.setYear(_20[0]);return _21;}function HS_GenerateDate(_22){return arrHSMonthsFull[_22[1]-1]+"&nbsp;"+_22[2]+",&nbsp;"+_22[0];}function HS_GenerateDate2(_23){return HS_GenerateDateSimple(_23);}function HS_GenerateDateSimple(_24,_25){var _26="&nbsp;";if(typeof _25!="undefined"&&_25){_26=" ";}return _24[2]+_26+arrHSMonthsSimple[_24[1]-1]+_26+_24[0].toString().substring(2);}function HS_GenerateTime(_27){if(_27[3].toLowerCase().indexOf("st")!=-1||_27[3].toLowerCase().indexOf("dt")!=-1){_27[3]=_27[3].replace("S","");_27[3]=_27[3].replace("D","");}return ((_27[0]%12==0)?"12":_27[0]%12)+":"+((_27[1]<10)?"0":"")+_27[1]+"&nbsp;"+((_27[0]>=12)?"PM":"AM")+"&nbsp;"+_27[3];}function HS_IsValidDate(_28){if(_28[1]<=12&&_28[2]<60){return true;}else{return false;}}function HS_IsValidCurrency(_29){if(typeof _29!="undefined"&&_29!=null&&_29.length>=3&&_29[2]!=null&&_29[2]<100){return true;}else{return false;}}function HS_GenerateCurrencyN(_2a){var _2b;if(HS_IsValidCurrency(_2a)){_2b=Math.round((_2a[1]+_2a[2]/100)*100)/100;}else{_2b=0;}return _2b;}function HS_GenerateCurrency(_2c){return HS_GenerateCurrency2(_2c,false);}function HS_GenerateCurrency2(_2d,_2e){return HS_GenerateCurrency3(_2d,true,_2e);}function HS_GenerateCurrency4(_2f,_30){return HS_GenerateCurrency5(Math.floor(_2f),Math.round((_2f-Math.floor(_2f))*100),"USD",true,_30);}function HS_GenerateCurrency3(_31,_32,_33,_34){return HS_GenerateCurrency5(_31[1],_31[2],_31[0],_32,_33,_34);}function HS_GenerateCurrency5(_35,_36,_37,_38,_39,_3a){if(_36<100||(typeof _3a!="undefined"&&_3a)){var _3b=false;if(_35<0||_36<0){_3b=true;var _3c=Math.abs(_35).toString();}else{var _3c=_35.toString();}if(_38){for(var i=0;i<Math.floor((_3c.length-(1+i))/3);i++){_3c=_3c.substring(0,_3c.length-(4*i+3))+","+_3c.substring(_3c.length-(4*i+3));}}_3c+=".";if(_36<0){_36=Math.abs(_36);}if(_36<10){_3c+="0";}_3c+=_36.toString();if(_3b){_3c="-"+_3c;}if(_39){if(_37.toLowerCase()=="usd"){_3c="$&nbsp;"+_3c;}}return _3c;}else{return "-";}}function HS_GetTimeRemainingString(_3e){return HS_GetTimeRemainingString2(_3e,false);}function HS_GetTimeRemainingString2(_3f,_40){var _41,nHours,nMinutes,bNegative;bNegative=false;if(_3f<0){return "-";bNegative=true;_3f=-(_3f);}_41=Math.floor(_3f/(24*60*60));_3f-=_41*(24*60*60);nHours=Math.floor(_3f/(60*60));_3f-=nHours*(60*60);nMinutes=Math.round(_3f/(60));var _42="";if(_41>0){_42+=_41+" day";if(_41>1){_42+="s";}}if(_40){if(_42.length>0){_42+=", ";}_42+=nHours+":";if(nMinutes<10){_42+="0";}_42+=nMinutes;}else{if(nHours>0){if(_42.length>0){_42+=", ";}_42+=nHours+" hour";if(nHours>1){_42+="s";}}if(nMinutes>0){if(_42.length>0){_42+=", ";}_42+=nMinutes+" minute";if(nMinutes>1){_42+="s";}}}if(bNegative){_42="minus "+_42;}return _42;}function HS_GetOrderTypeString(_43){switch(_43){case HS_ORDER_TYPE_BUY:return "Buy";break;case HS_ORDER_TYPE_SELL:return "Sell";break;case HS_ORDER_TYPE_SUBSCRIBE:return "Subscribe";break;case HS_ORDER_TYPE_REDEEM:return "Redeem";break;default:return "-";}}function HS_SetHedgeletFilters(_44){if(!IsArray(_44)||_44.length<5){return;}var _45="";var _46=HS_GetHedgeletFilters();_45+=(_44[HS_FILTER_H_TYPE]!="")?_44[HS_FILTER_H_TYPE]:_46[HS_FILTER_H_TYPE];_45+=HS_DELIMITER;_45+=(_44[HS_FILTER_H_TIMEFRAME]!="")?_44[HS_FILTER_H_TIMEFRAME]:_46[HS_FILTER_H_TIMEFRAME];_45+=HS_DELIMITER;_45+=(_44[HS_FILTER_H_PERIODICITY]!="")?_44[HS_FILTER_H_PERIODICITY]:_46[HS_FILTER_H_PERIODICITY];_45+=HS_DELIMITER;_45+=(_44[HS_FILTER_H_STATUS]!="")?_44[HS_FILTER_H_STATUS]:_46[HS_FILTER_H_STATUS];HS_SetCookie(HS_COOKIE_HEDGELETFILTER,_45);}function HS_GetHedgeletFilters(){var _47=false;var _48=HS_GetCookie(HS_COOKIE_HEDGELETFILTER);var _49;if(_48==null||_48.length<1){_47=true;}else{_49=_48.split(HS_DELIMITER);if(!IsArray(_49)||_49.length<5){_47=true;}else{for(var i=0;i<_49.length;i++){if(typeof _49[i]=="undefined"||_49[i]==null){_47=true;break;}}}}if(_47){return new Array(HS_HEDGELET_TYPE_ALL,HS_TIME_FRAME_ALL,HS_PERIODICITY_ALL,createFilter(HS_STATUS_OPEN,HS_STATUS_CLOSED),HS_HEDGELET_CLASS_RETAIL);}else{return _49;}}function HS_SetHedgeletFilter(id,_4c){if((id<HS_FILTER_H_TYPE&&id>HS_FILTER_H_STATUS)||_4c==""){return;}var _4d=new Array("","","","","");_4d[id]=_4c;HS_SetHedgeletFilters(_4d);}function HS_GetHedgeletFilter(id){if(id<HS_FILTER_H_TYPE&&id>HS_FILTER_H_STATUS){return;}var _4f=HS_GetHedgeletFilters();return _4f[id];}
function HS_GetHedgeletChange(_1,_2){var _3="-";if(!$$(_1)){return _3;}var _4="<img src=\"/images/institutional/arrow_up.gif\" style=\"vertical-align:middle;\">";var _5="<img src=\"/images/institutional/arrow_down.gif\" style=\"vertical-align:middle;\">";var _6="&nbsp;";var _7=0;var _8=0;if(typeof _2!="undefined"&&_2){_4="";_5="";_6="";}var _9=_1["ecHedgeletType"];if(!$$(_9)){_9=_1["nHedgeletType"];}if(!$$(_9)){return _3;}var _a=HS_DefaultCurrencyTick();if(_9==HS_HEDGELET_TYPE_VARIABLE){if($$(_1["bdTickSize"])){_a=_1["bdTickSize"];}}var _b=_1["bdPercentChange"];if(!$$(_b)){return _3;}var _c=HS_GetTickMultiplier(_a);var _d="";if(_b!=0){if(Math.abs(_b)>=1){_8=Math.round(_b);_7=Math.round(_b*_c)/_c;if(typeof _2=="undefined"){_d=_6+"("+_7+")";}if(_8>0){_3=_4+_6+_8+"%"+_d;}else{if(_8<0){_3=_5+_6+_8+"%"+_d;}}}else{if(-1<_b&&_b<=-0.5){_3=_5+_6;}else{if(-0.5<_b&&_b<0){_3=_5+_6+-1+"%";}else{if(0<_b&&_b<=0.5){_3=_4+_6;}else{if(0.5<_b&&_b<1){_3=_4+_6+1+"%";}}}}}}return _3;}function HS_GetAssets(_e,_f){var _10=new Array();for(var i=0;i<_e.length;i++){var _12=_e[i];for(var j=0;j<_12[HS_HASHKEY_SUBARRAY].length;j++){var _14=_12[HS_HASHKEY_SUBARRAY][j];for(var k=0;k<_14[HS_HASHKEY_SUBARRAY].length;k++){var _16=_14[HS_HASHKEY_SUBARRAY][k];_10.push(_16);}}}if(typeof _f!="undefined"&&_f!=null&&_f){_10.sort(HS_CompareAssets_New);}return _10;}function HS_BuildHedgeletServiceRequestString(_17,_18,_19,_1a){var str="/hedgelet/service/";if(typeof _19!="undefined"&&_19){str+="hedgeletlist";}else{str+="hedgelet";}str+="?";str+="hedgelettype="+_17[HS_FILTER_H_TYPE]+"&timeframe="+_17[HS_FILTER_H_TIMEFRAME]+"&periodicity="+_17[HS_FILTER_H_PERIODICITY]+"&status="+_17[HS_FILTER_H_STATUS]+"&hedgeletclass="+_17[HS_FILTER_H_CLASS];if(typeof _18!="undefined"&&_18){if(_18.length>0){str+="&assetpath="+escape(_18);}}if(typeof _1a!="undefined"&&_1a){str+="&delayquote=1";}return str;}function HS_FilterHedgeletsByType(_1c){var url=window.location.href;var _1e=[];if(url.match("/hedgelets/YesNo/")){_1e.push(HS_HEDGELET_TYPE_YES);_1e.push(HS_HEDGELET_TYPE_NO);_1e.push(HS_HEDGELET_TYPE_BINARY);}if(url.match("/trade/active-trader.html")){_1e.push(HS_HEDGELET_TYPE_BINARY);_1e.push(HS_HEDGELET_TYPE_VARIABLE);}if(_1c==null||_1c.length<=0||_1e.length<=0){return _1c;}var _1f=[];_1f.push(_1c[0]);for(var i=1;i<_1c.length;i++){var _21=_1c.get("ecHedgeletStatus",i)||_1c.get("ecStatus",i);if(!_21||(_21!=HS_STATUS_OPEN&&_21!=HS_STATUS_CLOSED)){continue;}var _22=_1c.get("ecHedgeletType",i);var _23=false;for(var j=0;j<_1e.length;j++){if(_22==_1e[j]){_1f.push(_1c[i]);_23=true;break;}}}_1f.headers=_1c.headers;return _1f;}function HS_GetTickSizeDisplay(_25,_26){if(typeof _25=="undefined"||typeof _26=="undefined"){return "";}var ts=_25;if(_26!=HS_HEDGELET_TYPE_VARIABLE){ts=HS_GenerateCurrency4(ts,true,false,null,false);}return ts;}function HS_GetTickValueDisplay(_28,_29){return HS_GetTickSizeDisplay(_28,_29);}
function HS_ExtractArrayByName(arrayName, strBuffer) {
    eval(strBuffer);

    if (eval ('typeof ' + arrayName + ' != \'undefined\'')) {
        eval('var newArray = ' + arrayName + ';');
        return newArray;
    } else {
        return null;
    }
}

function HS_CompareHedgeletSeries_New(_1,_2){return HS_CompareAssetHedgeletSeries_New(_1,_2);}function HS_CompareHedgeletList_New(_3,_4){return HS_CompareHedgeletSeries_New(_3,_4);}function HS_CompareAssetHedgeletSeries_desc(_5,_6){var _7;if(defaultSort=="desc"){if(_5[nVolPosn]>_6[nVolPosn]){return -1;}else{if(_5[nVolPosn]<_6[nVolPosn]){return 1;}else{if(_5[nOpenPosn]>_6[nOpenPosn]){return -1;}else{if(_5[nOpenPosn]<_6[nOpenPosn]){return 1;}else{return 0;}}}}}else{if(defaultSort=="asc"){if(_5[nVolPosn]<_6[nVolPosn]){return -1;}else{if(_5[nVolPosn]>_6[nVolPosn]){return 1;}else{if(_5[nOpenPosn]<_6[nOpenPosn]){return -1;}else{if(_5[nOpenPosn]>_6[nOpenPosn]){return 1;}else{return 0;}}}}}}}function HS_CompareAssetHedgeletSeries_Hedgelet(_8,_9){var n1=nAssetName;var n2=nSortKey;var n3=nLastTradingDate;iResult=HS_CompareDate(_8[n3],_9[n3]);if(iResult!=0){return iResult;}else{if(_8[n1]<_9[n1]){return -1;}else{if(_8[n1]>_9[n1]){return 1;}else{if(_8[n2]<_9[n2]){return -1;}else{if(_8[n2]>_9[n2]){return 1;}else{return 0;}}}}}}function HS_CompareAssetHedgeletSeries_HedgeletReverse(_d,_e){var n1=nAssetName;var n2=nSortKey;var n3=nLastTradingDate;iResult=-(HS_CompareDate(_d[n3],_e[n3]));if(iResult!=0){return iResult;}else{if(_d[n1]<_e[n1]){return -1;}else{if(_d[n1]>_e[n1]){return 1;}else{if(_d[n2]<_e[n2]){return -1;}else{if(_d[n2]>_e[n2]){return 1;}else{return 0;}}}}}}function HS_CompareAssetHedgeletSeries_Sort(_12,_13){var _14;var n1;if(colClicked==MOST_ACTIVES_HIGHEST_VOLUME){n1=nVolPosn;}else{if(colClicked==MOST_ACTIVES_ADVANCERS_PERCENT_CHANGE){n1=nChangePosn;}else{if(colClicked==MOST_ACTIVES_DECLINERS_PERCENT_CHANGE){n1=nChangePosn;}else{if(colClicked==MOST_ACTIVES_HIGHEST_OPEN_INTEREST){n1=nOpenPosn;}}}}if(colClicked!=MOST_ACTIVES_DECLINERS_PERCENT_CHANGE){if(_12[n1]>_13[n1]){return -1;}else{if(_12[n1]<_13[n1]){return 1;}else{return 0;}}}else{if(_12[n1]<_13[n1]){return -1;}else{if(_12[n1]>_13[n1]){return 1;}else{return 0;}}}}function HS_CompareAssetHedgeletSeries_New_Reverse(_16,_17){var _18;_18=-(HS_CompareDate(_16[nLastTradingDate],_17[nLastTradingDate]));if(_18!=0){return _18;}else{if(_16[nSortKey]<_17[nSortKey]){return -1;}else{if(_16[nSortKey]>_17[nSortKey]){return 1;}else{if(_16[nHedgeletTypePosn]<_17[nHedgeletTypePosn]){return -1;}else{if(_16[nHedgeletTypePosn]>_17[nHedgeletTypePosn]){return 1;}else{return 0;}}}}}}function HS_CompareAssetHedgeletSeries_Latest(_19,_1a){var _1b;_1b=HS_CompareDate(_19[nLastTradingDate],_1a[nLastTradingDate]);if(_1b!=0){return _1b;}else{if(_19[nSortKey]<_1a[nSortKey]){return -1;}else{if(_19[nSortKey]>_1a[nSortKey]){return 1;}else{if(_19[nHedgeletTypePosn]<_1a[nHedgeletTypePosn]){return -1;}else{if(_19[nHedgeletTypePosn]>_1a[nHedgeletTypePosn]){return 1;}else{return 0;}}}}}}function HS_CompareMarkets_New(_1c,_1d){if(_1c["stMarketName"]<_1d["stMarketName"]){return -1;}else{if(_1c["stMarketName"]>_1d["stMarketName"]){return 1;}else{return 0;}}}function HS_CompareSubmarkets_New(_1e,_1f){if(_1e["stSubmarketName"]<_1f["stSubmarketName"]){return -1;}else{if(_1e["stSubmarketName"]>_1f["stSubmarketName"]){return 1;}else{return 0;}}}function HS_CompareAssets_New(_20,_21){if(_20["stAssetName"]<_21["stAssetName"]){return -1;}else{if(_20["stAssetName"]>_21["stAssetName"]){return 1;}else{return 0;}}}function HS_ComparePendingSettledHedgeletSeries_New(_22,_23){var _24;if(HS_IsPending(_22["ecHedgeletStatus"])&&!HS_IsPending(_23["ecHedgeletStatus"])){return -1;}else{if(!HS_IsPending(_22["ecHedgeletStatus"])&&HS_IsPending(_23["ecHedgeletStatus"])){return 1;}else{_24=HS_CompareDate(_22["daSettlementDate"],_23["daSettlementDate"]);if(_24!=0){if(HS_IsSettled(_22["ecHedgeletStatus"])){return -(_24);}else{return _24;}}else{if(_22["stAssetName"]<_23["stAssetName"]){return -1;}else{if(_22["stAssetName"]>_23["stAssetName"]){return 1;}else{if(_22["stSortKey"]<_23["stSortKey"]){return -1;}else{if(_22["stSortKey"]>_23["stSortKey"]){return 1;}else{if(_22["ecHedgeletType"]<_23["ecHedgeletType"]){return -1;}else{if(_22["ecHedgeletType"]>_23["ecHedgeletType"]){return 1;}else{return 0;}}}}}}}}}}function HS_CompareHedgeletsHedgeletSeries_New(_25,_26){var _27;var dt1=new Array(_25["daLastTradingDate"][0],_25["daLastTradingDate"][1],_25["daLastTradingDate"][2],_25["tmLastTradingDayCloseTime"][0],_25["tmLastTradingDayCloseTime"][1],_25["tmLastTradingDayCloseTime"][2],_25["tmLastTradingDayCloseTime"][3],_25["tmLastTradingDayCloseTime"][4]);var dt2=new Array(_26["daLastTradingDate"][0],_26["daLastTradingDate"][1],_26["daLastTradingDate"][2],_26["tmLastTradingDayCloseTime"][0],_26["tmLastTradingDayCloseTime"][1],_26["tmLastTradingDayCloseTime"][2],_26["tmLastTradingDayCloseTime"][3],_26["tmLastTradingDayCloseTime"][4]);_27=HS_CompareDateTime(dt1,dt2);if(_27!=0){return _27;}else{if(_25["stAssetName"]<_26["stAssetName"]){return -1;}else{if(_25["stAssetName"]>_26["stAssetName"]){return 1;}else{if(_25["stSortKey"]<_26["stSortKey"]){return -1;}else{if(_25["stSortKey"]>_26["stSortKey"]){return 1;}else{if(_25["ecHedgeletType"]<_26["ecHedgeletType"]){return -1;}else{if(_25["ecHedgeletType"]>_26["ecHedgeletType"]){return 1;}else{return 0;}}}}}}}}function HS_CompareDailyBulletin_New(_2a,_2b){var _2c;if(_2a["stMarketName"]<_2b["stMarketName"]){return -1;}else{if(_2a["stMarketName"]>_2b["stMarketName"]){return 1;}else{if(_2a["stSubmarketName"]<_2b["stSubmarketName"]){return -1;}else{if(_2a["stSubmarketName"]>_2b["stSubmarketName"]){return 1;}else{if(_2a["stAssetName"]<_2b["stAssetName"]){return -1;}else{if(_2a["stAssetName"]>_2b["stAssetName"]){return 1;}else{if(_2a["stHedgeletName"]<_2b["stHedgeletName"]){return -1;}else{if(_2a["stHedgeletName"]>_2b["stHedgeletName"]){return 1;}else{if(_2a["nHedgeletType"]<_2b["nHedgeletType"]){return -1;}else{if(_2a["nHedgeletType"]>_2b["nHedgeletType"]){return 1;}else{return 0;}}}}}}}}}}}function HS_CompareOpenOrderDetail_New(_2d,_2e){iResult=HS_CompareDate(_2d["daOrderDate"],_2e["daOrderDate"]);}function HS_CompareTransactionHistory_New(_2f,_30){iResult=-(HS_CompareDateTime(_2f["dtTransactionDateTime"],_30["dtTransactionDateTime"]));if(iResult!=0){return iResult;}else{return 0;}}function HS_CompareOrderHistory_New(_31,_32){var _33=-(HS_CompareDateTime(_31["dtTimePlaced"],_32["dtTimePlaced"]));if(_33!=0){return _33;}else{return 0;}}function HS_CompareOrderHistory_New_Suborder(_34,_35){var _36=(HS_CompareDateTime(_34["dtTimePlaced"],_35["dtTimePlaced"]));if(_36!=0){return _36;}else{return 0;}}function HS_CompareAccounts_New(_37,_38){if(_37["isStatus"]>_38["isStatus"]){return -1;}else{if(_37["isStatus"]<_38["isStatus"]){return 1;}else{if(_37["stAccountName"]<_38["stAccountName"]){return -1;}else{if(_37["stAccountName"]>_38["stAccountName"]){return 1;}else{return 0;}}}}}function HS_CompareTraders_New(_39,_3a){if(_39["isActive"]>_3a["isActive"]){return -1;}else{if(_39["isActive"]<_3a["isActive"]){return 1;}else{if(_39["stFirstName"]<_3a["stFirstName"]){return -1;}else{if(_39["stFirstName"]>_3a["stFirstName"]){return 1;}else{return 0;}}}}}function HS_CompareGiveUp_New(_3b,_3c){if(_3b["stKey"]<_3c["stKey"]){return -1;}else{if(_3b["stKey"]>_3c["stKey"]){return 1;}else{return 0;}}}function HS_CompareDay(_3d,_3e){var _3f={};_3f["01"]=1;_3f["02"]=2;_3f["03"]=3;_3f["04"]=4;_3f["05"]=5;_3f["06"]=6;_3f["07"]=7;_3f["08"]=8;_3f["09"]=9;_3f["10"]=10;_3f["11"]=11;_3f["12"]=12;_3f["13"]=13;_3f["14"]=14;_3f["15"]=15;_3f["16"]=16;_3f["17"]=17;_3f["18"]=18;_3f["19"]=19;_3f["20"]=20;_3f["21"]=21;_3f["22"]=22;_3f["23"]=23;_3f["24"]=24;_3f["25"]=25;_3f["26"]=26;_3f["27"]=27;_3f["28"]=28;_3f["29"]=29;_3f["30"]=30;_3f["31"]=31;_3f["1"]=32;_3f["2"]=33;_3f["3"]=34;_3f["4"]=35;_3f["5"]=36;_3f["6"]=37;_3f["7"]=38;_3f["8"]=39;_3f["9"]=40;var x=_3f[_3d["stKey"]];var y=_3f[_3e["stKey"]];return ((x<y)?-1:((x>y)?1:0));}function HS_CompareDepartment(_42,_43){var x=_42["stKey"].toLowerCase();var y=_43["stKey"].toLowerCase();return ((x<y)?-1:((x>y)?1:0));}function HS_CompareMonth(_46,_47){var _48={};_48["jan"]=0;_48["feb"]=1;_48["mar"]=2;_48["apr"]=3;_48["may"]=4;_48["jun"]=5;_48["jul"]=6;_48["aug"]=7;_48["sep"]=8;_48["oct"]=9;_48["nov"]=10;_48["dec"]=11;_48["1"]=12;_48["2"]=13;_48["3"]=14;_48["4"]=15;_48["5"]=16;_48["6"]=17;_48["7"]=18;_48["8"]=19;_48["9"]=20;_48["10"]=21;_48["11"]=22;_48["12"]=23;var x=_48[_46["stValue"].toLowerCase()];var y=_48[_47["stValue"].toLowerCase()];return ((x<y)?-1:((x>y)?1:0));}function HS_ComparePositions_New(_4b,_4c){var _4d;if(_4b["stHedgeletName"]<_4c["stHedgeletName"]){return -1;}else{if(_4b["stHedgeletName"]>_4c["stHedgeletName"]){return 1;}else{if(_4b["ecHedgeletType"]<_4c["ecHedgeletType"]){return -1;}else{if(_4b["ecHedgeletType"]>_4c["ecHedgeletType"]){return 1;}else{_4d=-(HS_CompareDateTime(_4b["dtPostDateTime"],_4c["dtPostDateTime"]));if(_4d!=0){return _4d;}else{return 0;}}}}}}function HS_CompareTraders(_4e,_4f){if(_4e["stFirstName"]<_4f["stFirstName"]){return -1;}else{if(_4e["stFirstName"]>_4f["stFirstName"]){return 1;}else{return 0;}}}function HS_CompareAccounts(_50,_51){if(_50["stAccountNumber"]<_51["stAccountNumber"]){return -1;}else{if(_50["stAccountNumber"]>_51["stAccountNumber"]){return 1;}else{return 0;}}}function HS_CompareOrderbookBid(_52,_53){var _54=HS_GenerateCurrencyN(_52["cyBid"]);var _55=HS_GenerateCurrencyN(_53["cyBid"]);if(_54>_55){return -1;}else{if(_54<_55){return 1;}else{return 0;}}}function HS_CompareOrderbookAsk(_56,_57){var _58=HS_GenerateCurrencyN(_56["cyAsk"]);var _59=HS_GenerateCurrencyN(_57["cyAsk"]);if(_58<_59){return -1;}else{if(_58>_59){return 1;}else{return 0;}}}function HS_CompareOrderbookPrice(_5a,_5b){if(_5a[1]>_5b[1]){return -1;}else{if(_5a[1]<_5b[1]){return 1;}else{return 0;}}}function HS_CompareTimeAndSales(_5c,_5d){var _5e;var dt1=new Array(_5c["daDate"][0],_5c["daDate"][1],_5c["daDate"][2],_5c["daTime"][0],_5c["daTime"][1],_5c["daTime"][2],_5c["daTime"][3],_5c["daTime"][4]);var dt2=new Array(_5d["daDate"][0],_5d["daDate"][1],_5d["daDate"][2],_5d["daTime"][0],_5d["daTime"][1],_5d["daTime"][2],_5d["daTime"][3],_5d["daTime"][4]);_5e=HS_CompareDateTime(dt1,dt2);return -(_5e);}function HS_CompareFCM(_61,_62){if(_61["stKey"]<_62["stKey"]){return -1;}else{if(_61["stKey"]>_62["stKey"]){return 1;}else{return 0;}}}function HS_CompareDashboardHedgelets_New(_63,_64){var _65;var dt1=new Array(_63["daLastTradingDate"][0],_63["daLastTradingDate"][1],_63["daLastTradingDate"][2],_63["tmLastTradingDayCloseTime"][0],_63["tmLastTradingDayCloseTime"][1],_63["tmLastTradingDayCloseTime"][2],_63["tmLastTradingDayCloseTime"][3],_63["tmLastTradingDayCloseTime"][4]);var dt2=new Array(_64["daLastTradingDate"][0],_64["daLastTradingDate"][1],_64["daLastTradingDate"][2],_64["tmLastTradingDayCloseTime"][0],_64["tmLastTradingDayCloseTime"][1],_64["tmLastTradingDayCloseTime"][2],_64["tmLastTradingDayCloseTime"][3],_64["tmLastTradingDayCloseTime"][4]);_65=HS_CompareDateTime(dt1,dt2);return _65;}function HS_CompareDateTime(d1,d2){var _6a=HS_CompareDate(d1,d2);if(_6a!=0){return _6a;}else{if(d1[3]<d2[3]){return -1;}else{if(d1[3]>d2[3]){return 1;}else{if(d1[4]<d2[4]){return -1;}else{if(d1[4]>d2[4]){return 1;}else{if(d1[5]<d2[5]){return -1;}else{if(d1[5]>d2[5]){return 1;}else{return 0;}}}}}}}}function HS_CompareComplianceHedgelets(_6b,_6c){var _6d=_6b.headers||_6c.headers;if(!_6d){return 0;}var _6e=_6d["ecHedgeletType"];if(_6b[_6e]==HS_HEDGELET_TYPE_BINARY&&_6c[_6e]==HS_HEDGELET_TYPE_VARIABLE){return -1;}else{if(_6c[_6e]==HS_HEDGELET_TYPE_BINARY&&_6b[_6e]==HS_HEDGELET_TYPE_VARIABLE){return 1;}else{var _6f=_6d["daLastTradingDate"];return HS_CompareDate(_6b[_6f],_6c[_6f]);}}}
function HS_ClearDropDownList(id){var _2=HS_GetElementByID(id);if(_2!=null&&_2.options){while(_2.options.length>0){try{_2.remove(0);}catch(e){}}}}function HS_AddDropDownOption(id,_4,_5,_6,_7,_8){var _9=HS_GetElementByID(id);HS_AddDropDownOption2(_9,_4,_5,_6,_7,_8);}function HS_AddDropDownOption2(_a,_b,_c,_d,_e,_f){var _10;if(_a!=null&&_a.options){_10=document.createElement("option");_10.value=_c;_10.selected=_d;_10.disabled=_e;_10.className=_f;try{_a.add(_10);}catch(e){_a.add(_10,null);}_10.innerHTML=_b;}}
function HS_FindServiceData(_1,_2){if(_1==null){return -1;}for(var i=0;i<_1.length;i++){if(_1[i]==_2){return i;}}return -1;}function HS_ServiceArray(_4){var _5=new Array();if(_4==null){return null;}for(var i=0;i<_4.length;i++){_5.push(new Array(_4,i));}if(_5.size()>0){return _5;}else{return null;}}
var arrHSMonthsFull=new Array("January","February","March","April","May","June","July","August","September","October","November","December");var arrHSWeeksSimple=new Array("Sun","Mon","Tue","Wed","Thu","Fri","Sat");function getDaysInMonth(_1,_2){var _3;if(_1=="1"||_1=="3"||_1=="5"||_1=="7"||_1=="8"||_1=="10"||_1=="12"){_3=31;}else{if(_1=="4"||_1=="6"||_1=="9"||_1=="11"){_3=30;}else{if(_1=="2"){if(isLeapYear(_2)){_3=29;}else{_3=28;}}}}return (_3);}function isLeapYear(_4){if(((_4%4)==0)&&((_4%100)!=0)||((_4%400)==0)){return (true);}else{return (false);}}var months=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");date=new Date();monthIndex=date.getMonth();year=date.getFullYear();selectedDate=" ";function getPreviousMonthYear(){if(monthIndex==0){date=new Date(year-1,11,1);monthIndex=12;}monthIndex=monthIndex-1;year=date.getFullYear("YYYY");}function getValMonthYear(){if(this.monthIndex<=9){return year+"0"+monthIndex;}else{return year+""+monthIndex;}}function getTextMonthYear(){return months[monthIndex]+" "+year;}function fillMonthSelector(_5){for(i=0;i<24;i++){_5.options[i]=new Option(getTextMonthYear());_5.options[i].value=getValMonthYear();getPreviousMonthYear();}}function HS_UpdateMonthSelect(id,_7,_8,_9){var _a=HS_GetElementByID(id);if(_a!=null){HS_UpdateMonthSelect2(_a,_7,_8,_9,true);}}function HS_UpdateMonthSelect2(_b,_c,_d,_e,_f){if(_b!=null){if(typeof _c=="undefined"||_c<=0){_c=24;}if(typeof _d=="undefined"){_d=new Date();}var _10=_d.getMonth();var _11=_d.getFullYear();while(_b.options.length>0){try{_b.remove(0);}catch(e){}}if(typeof _e!="undefined"&&_e!=null){HS_AddDropDownOption2(_b,_e,"",false);}var _12=_10;var _13=_11;for(var i=0;i<_c;i++){if(i>0){_12--;}if(_12<0){_12=11;_13--;}if(_f){HS_AddDropDownOption2(_b,arrHSMonthsSimple[_12]+" "+_13,(_12+1)+HS_DELIMITER+_13,false);}else{HS_AddDropDownOption2(_b,arrHSMonthsFull[_12]+" "+_13,(_12+1)+HS_DELIMITER+_13,false);}}}}function HS_GenerateDateTime(_15){var _16=HS_GenerateDate(_15);if(_15.length>6){_16+=" "+HS_GenerateTime(new Array(_15[3],_15[4],_15[5],_15[6],_15[7]));}return _16;}function HS_GenerateDateTime2(_17){var _18=HS_GenerateDate2(_17);if(_17.length>6){_18+="&nbsp;-&nbsp;"+HS_GenerateTime(new Array(_17[3],_17[4],_17[5],_17[6],_17[7]));}return _18;}function HS_GenerateDateTime3(_19,_1a){var _1b=HS_GenerateDate3(_19);if(_19.length>6){_1b+="&nbsp;"+HS_GenerateTime(new Array(_19[3],_19[4],_19[5],_19[6],_19[7]),_1a);}return _1b;}function HS_GenerateDateTime4(_1c,_1d,_1e){var _1f=HS_GenerateDateSimple(_1c);if(_1c.length>6&&_1d){_1f+="&nbsp;"+HS_GenerateTime(new Array(_1c[3],_1c[4],_1c[5],_1c[6],_1c[7]),_1e);}return _1f;}function HS_GenerateDateTimeTrading(_20){var _21=HS_GenerateDate3(_20);if(_20.length>=6){_21+=" at ";_21+=_20[3];_21+=":";_21+=((_20[4]<10)?"0":"")+_20[4];_21+=":";_21+=((_20[5]<10)?"0":"")+_20[5];}return _21;}function HS_GenerateDateCal(_22){var _23=new Date();_23.setDate(_22[2]);_23.setMonth(_22[1]-1);_23.setYear(_22[0]);return _23;}function HS_GenerateDate(_24){return arrHSMonthsFull[_24[1]-1]+"&nbsp;"+_24[2]+",&nbsp;"+_24[0];}function HS_GenerateDate2(_25){return HS_GenerateDateSimple(_25);}function HS_GenerateDate3(_26){return _26[1]+"/"+_26[2]+"/"+_26[0].toString().substring(2);}function HS_IsValidDate(_27){if(_27[1]<=12&&_27[2]<60){return true;}else{return false;}}function HS_IsValidCurrency(_28){if(_28[2]<100){return true;}else{return false;}}function HS_GetTimeRemainingString(_29){return HS_GetTimeRemainingString2(_29,false);}function HS_GetTimeRemainingString2(_2a,_2b){var _2c,nHours,nMinutes,bNegative;bNegative=false;if(_2a<0){return "-";bNegative=true;_2a=-(_2a);}_2c=Math.floor(_2a/(24*60*60));_2a-=_2c*(24*60*60);nHours=Math.floor(_2a/(60*60));_2a-=nHours*(60*60);nMinutes=Math.round(_2a/(60));var _2d="";if(_2c>0){_2d+=_2c+" day";if(_2c>1){_2d+="s";}}if(_2b){if(_2d.length>0){_2d+=", ";}_2d+=nHours+":";if(nMinutes<10){_2d+="0";}_2d+=nMinutes;}else{if(nHours>0){if(_2d.length>0){_2d+=", ";}_2d+=nHours+" hour";if(nHours>1){_2d+="s";}}if(nMinutes>0){if(_2d.length>0){_2d+=", ";}_2d+=nMinutes+" minute";if(nMinutes>1){_2d+="s";}}}if(bNegative){_2d="minus "+_2d;}return _2d;}function HS_GetTimeRemainingString3(_2e){var _2f,nHours,nMinutes;if(_2e<0){return "-";}_2f=Math.floor(_2e/(24*60*60));_2e-=_2f*(24*60*60);nHours=Math.floor(_2e/(60*60));_2e-=nHours*(60*60);nMinutes=Math.round(_2e/(60));var _30="";if(_2f>0){if(nHours>12){_2f=_2f+1;}_30+=_2f+" day";if(_2f>1){_30+="s";}return _30;}if(nHours>0){if(_30.length>0){_30+=" ";}_30+=nHours+"h";}if(nMinutes>0){if(_30.length>0){_30+=" ";}_30+=nMinutes+"m";}return _30;}var SEC_PER_MINUTE=60;var SEC_PER_HOUR=SEC_PER_MINUTE*60;var SEC_PER_DAY=SEC_PER_HOUR*24;function HS_getTimeRemaining(_31){var _32=new Array();_32.days=Math.floor(_31/SEC_PER_DAY);_31-=_32.days*SEC_PER_DAY;_32.hours=Math.floor(_31/SEC_PER_HOUR);_31-=_32.hours*SEC_PER_HOUR;_32.minutes=Math.floor(_31/SEC_PER_MINUTE);_31-=_32.minutes*SEC_PER_MINUTE;_32.seconds=_31;return _32;}function HS_getTimeRemainingStr(_33,_34,_35,_36,_37,_38){var r=HS_getTimeRemaining(_33);var _3a="";_3a+=buildTimeRemainingString(_3a,r.days,true,_35);_3a+=buildTimeRemainingString(_3a,r.hours,_34,_36);_3a+=buildTimeRemainingString(_3a,r.minutes,_34,_37);_3a+=buildTimeRemainingString(_3a,r.seconds,_34,_38);return _3a;}function buildTimeRemainingString(_3b,_3c,_3d,_3e){if(_3c<=0||typeof _3e=="undefined"){return "";}var tmp="";if(_3b.length>0){tmp+=", ";}tmp+=(_3c+" "+_3e);if(_3d&&_3c>1){tmp+="s";}return tmp;}
function HS_IsValidCurrency(_1){if(typeof _1=="undefined"||_1==null||_1.length<3){return false;}if(typeof _1[2]=="undefined"||_1[2]==null){return false;}if(_1[1]==9999&&_1[2]==9999){return false;}var _2=HS_GetCurrencyMultiplier(_1);if(Math.abs(_1[2])>=_2){return false;}return true;}function HS_GetCurrencyMultiplier(_3){var _4=100;if(typeof _3=="undefined"||_3==null||_3.length<3){return _4;}if(typeof _3[2]=="undefined"||_3[2]==null){return _4;}var _5=HS_DefaultCurrencyTick();if(_3.length>=4&&typeof _3[3]!="undefined"&&_3[3]!=null&&_3[3]>0){_5=_3[3];}_4=HS_GetTickMultiplier(_5);return _4;}function HS_DefaultCurrencyTick(){return 0.01;}function HS_GetTickMultiplier(_6){var t=_6;if(typeof t=="undefined"||t==null){t=HS_DefaultCurrencyTick();}if(isNaN(t)){t=parseFloat(t);}if(isNaN(t)||t<=0){t=HS_DefaultCurrencyTick();}var _8=1;var _9=0;while(t<1){t*=10;_8*=10;_9++;}_8=Math.max(1,_8);return _8;}function HS_GenerateCurrency(_a){return HS_GenerateCurrency2(_a,false);}function HS_GenerateCurrency2(_b,_c){return HS_GenerateCurrency3(_b,true,_c);}function HS_GenerateCurrency3(_d,_e,_f,_10){var _11=HS_DefaultCurrencyTick();if(_d.length>=4&&typeof _d[3]!="undefined"&&_d[3]!=null&&_d[3]>0){_11=_d[3];}var _12=HS_GetTickMultiplier(_11);return HS_GenerateCurrency5(_d[1],_d[2],(_12.toString().length-1),_d[0],_e,_f,_10);}function HS_GenerateCurrency4(_13,_14,_15,_16,_17){var _18=(_13<0)?true:false;_13=Math.abs(_13);var t=_16;if(typeof t=="undefined"||t==null||t<0){if(typeof _15!="undefined"&&_15!=null&&_15){t=_13-Math.floor(_13);}else{t=HS_DefaultCurrencyTick();}}var _1a=HS_GetTickMultiplier(t);var _1b=_13-Math.floor(_13);if(_1b>0&&_1b<1){_1b*=_1a;}if(typeof _17=="undefined"||_17==null){_17=true;}var _1c=Math.floor(_13);if(_18){_13=-_13;_1c=Math.ceil(_13);}return HS_GenerateCurrency5(_1c,Math.round(_1b),(_1a.toString().length-1),"USD",_17,_14);}function HS_GenerateCurrency5(_1d,_1e,_1f,_20,_21,_22,_23){var str="-";if(typeof _1d=="undefined"||_1d==null){return str;}if(typeof _1e=="undefined"||_1e==null){return str;}if(_1d==9999&&_1e==9999){return str;}var _25=false;if(_1d<0||_1e<0){_25=true;str=Math.abs(_1d).toString();}else{str=_1d.toString();}if(_21){for(var i=0;i<Math.floor((str.length-(1+i))/3);i++){str=str.substring(0,str.length-(4*i+3))+","+str.substring(str.length-(4*i+3));}}var _27=_1f;if(typeof _27=="undefined"||_27==null||_27<0){_27=2;}if(_27>0){str+=".";if(_1e<0){_1e=Math.abs(_1e);}var _28=_1e.toString();var _29=_27-_28.length;while(_29>0){_28="0"+_28;_29--;}str+=_28;}if(_25){str="-"+str;}if(_22&&typeof _20!="undefined"&&_20!=null&&_20.length>0){if(_20.toLowerCase()=="usd"){str="$"+str;}}return str;}function HS_GenerateCurrencyN(_2a){var _2b;if(HS_IsValidCurrency(_2a)){var _2c=HS_GetCurrencyMultiplier(_2a);_2b=Math.round((_2a[1]+_2a[2]/_2c)*_2c)/_2c;}else{_2b=0;}return _2b;}function HS_Futures_ToDisplayPrice(_2d,_2e){if(HS_IsValidCurrency(_2d)&&_2e["ecHedgeletType"]==HS_HEDGELET_TYPE_VARIABLE){if(_2e["bdUnderlyingFloor"]==""||_2e["bdUnderlyingCap"]==""||!HS_IsValidCurrency(_2e["cyPayout"])){return (_2d);}var _2f=HS_Futures_ToDisplayPrice2(_2d,_2e["bdUnderlyingFloor"],_2e["bdUnderlyingCap"],_2e["cyPayout"],_2e["bdTickSize"]);return _2f;}else{return (_2d);}}function HS_Futures_ToDisplayPrice2(_30,_31,cap,_33,_34){if(!HS_IsValidCurrency(_30)){return _30;}var _35=HS_GenerateCurrencyN(_33);if(_35<=0){return _30;}if(_31==null||_31.length<=0){return _30;}if(cap==null||cap.length<=0){return _30;}return HS_Futures_ToDisplayPrice3(_30,_31,cap,_35,_34);}function HS_Futures_ToDisplayPrice3(_36,_37,cap,_39,_3a){var _3b=HS_GenerateCurrencyN(_36);var _3c=HS_Futures_ToDisplayPrice_calc(_3b,_37,cap,_39,_3a);return (HS_FloatToCurrency(_36[0],_3c,false,_3a));}function HS_Futures_ToDisplayPrice_calc(_3d,_3e,cap,_40,_41){var _42=parseFloat(_3e);var _43=parseFloat(cap);var _44=_43-_42;return _3d*_44/_40+_42;}function HS_Futures_FromDisplayPrice(_45,_46,cap,_48,_49){var _4a=HS_GenerateCurrencyN(_48);if(_4a<=0){return cyPrice;}if(_46==null||_46.length<=0){return cyPrice;}if(cap==null||cap.length<=0){return cyPrice;}var _4b=parseFloat(_46);var _4c=parseFloat(cap);var _4d=_4c-_4b;return ((_45-_4b)*_4a)/_4d;}function HS_Futures_ToHedgeletPrice2(_4e,_4f,cap,_51){if(!HS_IsValidCurrency(_4e)){return _4e;}var _52=HS_GenerateCurrencyN(_4e);var _53=HS_Futures_ToHedgeletPrice3(_52,_4f,cap,_51);return (HS_FloatToCurrency(_4e[0],_53,false,HS_DefaultCurrencyTick()));}function HS_Futures_ToHedgeletPrice3(_54,_55,cap,_57,_58,_59){if(typeof _59=="undefined"){_59=0.01;}var _5a=HS_GenerateCurrencyN(_57);if(_5a<=0){return _54;}if(_55==null||_55.length<=0){return _54;}if(cap==null||cap.length<=0){return _54;}var _5b=parseFloat(_55);var _5c=parseFloat(cap);if($$s(_58)){_58=HS_DefaultCurrencyTick();}var _5d=HS_GetTickMultiplier(_58);var _5e=Math.round((_5c-_5b)*_5d)/_5d;if(_5e<=0){return _54;}var _5f=Math.round((_54-_5b)*_5d)/_5d;var _60=HS_GetTickMultiplier(_59);var _61=Math.max(0,Math.round((_5f*_5a/_5e)*_60)/_60);return _61;}function HS_CurrencyToFloat(_62){var _63;if(HS_IsValidCurrency(_62)){var _64=HS_GetCurrencyMultiplier(_62);_63=Math.round((_62[1]+_62[2]/_64)*_64)/_64;}else{_63=0;}return _63;}function HS_FloatToCurrency(_65,_66,_67,_68){var t=_68;if(typeof t=="undefined"||t==null||t<0){if(typeof _67!="undefined"&&_67!=null&&_67){t=_66-Math.floor(_66);}else{t=HS_DefaultCurrencyTick();}}var _6a=HS_GetTickMultiplier(t);var _6b=_66-Math.floor(_66);if(_6b>0&&_6b<1){_6b*=_6a;}var str=_65;if(typeof str=="undefined"||str==null||str.length<0){str="USD";}return [str,Math.floor(_66),Math.round(_6b),1/_6a];}function HS_StripCommas(_6d){if(_6d==null||typeof _6d!="string"){return _6d;}else{return _6d.replace(/,/g,"");}}
if(typeof hs=="undefined"){hs={};}hs.ui={};hs.ui.initialize=function(){hs.ui.widgetGroups=[];hs.ui.loadWidgetGroup("hsidGlobalWidgets");hs.ui.linkHelpAll();};hs.ui.loadWidgetGroup=function(id){var _2=$(id);if(_2!=null){hs.ui.widgetGroups.push(_2);}};hs.ui.getWidget=function(_3,_4){for(var i=0;i<hs.ui.widgetGroups.length;i++){var _6=getElementByName(hs.ui.widgetGroups[i],_3,_4);if(_6!=null){return _6;}}return null;};hs.ui.createDialog=function(_7,_8,_9){if(HS_ClientBrowserIs("msie")){var _a=hs.ui.getWidget("table","dialog_ie");}else{var _a=hs.ui.getWidget("table","dialog");}if(_a!=null){_a=_a.cloneNode(true);_a.id="Toptable";document.body.appendChild(_a);_a.style.display="none";_a.style.top="-1000px";_a.style.left="-1000px";if(typeof _7!="undefined"&&_7!=null&&_7>0){_a.style.width=_7+"px";}var _b=getElementByName(_a,"div","title");if(_b!=null){_b.innerHTML="&nbsp;";if(typeof _9!="undefined"&&_9!=null&&_9){_b.style.textAlign="center";_b.style.marginLeft="12px";_b.style.marginRight="12px";}}_b=getElementByName(_a,"div","content");if(_b!=null){_b.innerHTML="&nbsp;";}if(typeof _8=="undefined"||_8==null||!_8){_b=getElementByName(_a,"img","link_close");if(_b!=null){_b.style.visibility="hidden";}}}return _a;};hs.ui.linkHelpAll=function(){var _c=$("hsidHSContainer2");if(_c!=null){var _d=_c.getElementsByTagName("a");for(var i=0;i<_d.length;i++){var _f=_d[i];hs.ui.linkHelp(_f);}}};hs.ui.linkHelp=function(obj,_11){if(obj==null){return;}var _12=null;if(typeof _11!=""&&_11!=null&&_11.length>0){_12=_11;}else{var _13="_hs_glossary_term[";var _14=obj.className;if(typeof _14!="undefined"&&_14!=null&&_14.length>0){var _15=_14.indexOf(_13);if(_15>=0){var end=_14.indexOf("]",_15+_13.length-1);if(end>_15){var str=_14.substring(_15+_13.length,end);if(str.length>0){_12=str;}}}}}if(_12!=null){obj.onmouseover=new Function("hs.ui.showHelp( this, '"+_12+"' );");if(!$$s(obj.href)&&!$$(obj.onclick)){var str="definitionAnchor";if(obj.className.length>0){str=" "+str;}obj.className+=str;}}};
if(typeof hs=="undefined"){hs={};}if(typeof hs.ui=="undefined"){hs.ui={};}hs.ui.helpDialog=null;hs.ui.helpDialogRequests={};hs.ui.helpDialogRequestsCount=0;hs.ui.helpDialogInterval=500;hs.ui.showHelp=function(_1,_2){if(!$$(_1)){return;}if(!$$s(_2)){return;}var _3=hs.ui.helpDialogRequestsCount++;hs.ui.helpDialogRequests[_3]={target:_1,term:_2};setTimeout("hs.ui.displayHelp( \""+_3+"\" );",hs.ui.helpDialogInterval);_1.onmouseout=new Function("hs.ui.hideHelp( \""+_3+"\" );");};hs.ui.displayHelp=function(id){var _5=hs.ui.helpDialogRequests[id];if(!$$(_5)||!$$(_5.target)||!$$(_5.term)){return;}var _6=_5.target;var _7=_5.term;if(!$$(_6)){return;}if(!$$s(_7)){return;}if(typeof _Glossary=="undefined"){return;}if(!$$(_Glossary)){return;}hs.ui.helpDialogRequests[id]=null;var _8="Definition";var _9=_Glossary[_7];if(typeof _9=="undefined"||_9==null||_9.length<=0){return;}if(hs.ui.helpDialog==null){hs.ui.helpDialog=hs.ui.createDialog(250,false);var _a=getElementByName(hs.ui.helpDialog,"div","title");if(_a!=null){_a.innerHTML=_8;_a.style.marginLeft="2px";}_a=getElementByName(hs.ui.helpDialog,"div","content");if(_a!=null){_a.style.marginTop="4px";_a.style.marginLeft="2px";_a.style.marginRight="0px";_a.style.marginBottom="2px";}}if(hs.ui.helpDialog==null){return;}if(hs.ui.underlying){hs.ui.underlying.hide();}var _a=getElementByName(hs.ui.helpDialog,"div","content");if(_a!=null){_a.innerHTML="";var _b=HS_GetElementByID("hsidHelpDialogTerm");if(_b!=null){_b=_b.cloneNode(true);_a.appendChild(_b);_b.innerHTML=_7;}_b=HS_GetElementByID("hsidHelpDialogDefinition");if(_b!=null){_b=_b.cloneNode(true);_a.appendChild(_b);_b.innerHTML="<span>&nbsp;</span>- "+_9;}}hs.ui.helpDialog.style.zIndex=-1000;hs.ui.helpDialog.style.display="block";HS_BoundElement(hs.ui.helpDialog,_6,null,null,[-5,-12,-12,-9],[0,0,0,9]);if(typeof _Dialogs!="undefined"&&_Dialogs!=null){_Dialogs.bringToTop(hs.ui.helpDialog);}else{hs.ui.helpDialog.style.zIndex=1000;}};hs.ui.hideHelp=function(id){var _d=hs.ui.helpDialogRequests[id];if($$(_d)){var _e=_d.target;if($$(_e)){_e.onmouseout=null;}hs.ui.helpDialogRequests[id]=null;}else{if(hs.ui.helpDialog==null){return;}hs.ui.helpDialog.style.display="none";hs.ui.helpDialog.style.zIndex=-1000;}};
var _Glossary={"term":"definition","Account Number":"The number that identifies your relationship with HedgeStreet. Your account number is sent to you via email once you have completed the account application process. Your account number is also found on the My HedgeStreet tab after you have logged in. ","ACH (Automatic Clearing House Network)":"A nationwide electronic funds transfer network that enables participating financial institutions to distribute electronic credit and debit entries to bank accounts and to settle such entries. Any withdrawals from a HedgeStreet account will be done via ACH. ","Action":"The Select button allows you to select a Contract in the trading console below.","Amount":"The total amount of a transaction.","Available Cash":"Cash in your account which can be used either for trading purposes or cash withdrawals.","Ask":"The Contract price associated with a sell order. This is the price at which HedgeStreet members are willing to sell a Contract, making it the price at which other members can buy the contract.","Buyer Payout":"The amount the buyer receives as a result of the expiration value of the underlying at settlement. For Binaries, the buyer payout is either $0 or $10; for Futures, the buyer payout is between $0 and $50 (depending on the contract size of the Futures Contract).","Available Cash":"Cash in your account which can be used for trading purposes or cash withdrawals. ","Bid":"The price associated with a buy order. This is the price at which HedgeStreet members are willing to buy a Contract, making it the price at which other members can sell the contract.","Buy":"The act of purchasing a Contract. If you are logged in, this button/link directs you to the Place Order page. If you are not logged in, this link directs you to a login/open-account page. ","Buy Downside":"The maximum amout of money you could lose by buying at your entered quantity and price","Buy Order":"A bid to buy a specified quantity of Contracts at a specified price. (To place a buy order, a trader must have sufficient funds in his/her Available Cash account to cover the entire cost of the order if it is executed.) ","Buy Upside":"The maximum amout of money you could make by buying at your entered quantity and price","Callable Contracts":"A Contract in which the expiration date is contingent on a specified occurrence, rather than a predetermined time. When the specified occurrence happens, it yields the payout criteria for determining the settlement value of the Contract. The Contract will then be \"called\" into expiry. ","Cancel":"A link on the Open Orders page that allows a member to remove an existing open order from HedgeStreet. ","Cash":"A value on the Positions page indicating the Available Cash in your account that can be used for trading purposes or cash withdrawals. ","Cash Required":"The total cash associated with acquiring a particular Contract position.","Cash Required to Trade":"The per contract cost associated with acquiring a particular Contract position for a buyer or seller.","Change":"The daily percent change of the Contract.","Chart":" A graphical display of a Contract and the underlying market over the course of a defined period. You can view charts containing the current day's data (1-day), the week's data (5-day), the month's data (30 days) or All data for a longer term perspective. The Contract price data (displayed in blue) are the average of the latest bid and ask prices, generated periodically. For Assets with a ticking underlying, the market data (displayed in green) for the day and week charts are the intraday futures and spot prices. The market data for all other assets and chart durations are the expiration values of the underlying each day, as determined by the respective HedgeStreet Settlement Source Agency.","Clearing":"The daily financial settlement of transactions, including payouts and fees, for HedgeStreet and its members. ","Close":"The last price at which a particular Contract was traded on a given day. ","Closing Transaction":"An order placed by a trader to reduce or eliminate a Contract position. ","Commodity Futures Trading Commission (CFTC)":"The Federal regulatory agency responsible for monitoring the activities within the commodity futures and options industry in much the same way the Securities and Exchange Commission (SEC) regulates the securities industry. HedgeStreet is a designated contract market and clearing organization regulated by the CFTC. For more information, visit www.cftc.gov. ","Confirmation Code":"A unique alphanumeric code electronically sent to the user as part of the account creation process. This confirmation code, which serves as the electronic signature of the member applicant, must be entered by the applicant to finalize the creation of an account in order to become a member. ","Cost":"The amount paid by the trader when any portion of an order is executed (not including applicable fees). ","Cost Basis":"The amount a trader paid for a particular Contract (unit cost basis) or a Contract position (total cost basis). ","Country of Residence":"The country of which you are a legal resident. Currently, HedgeStreet only permits legal residents (both individuals and entities) of the United States with an account at a United States financial institution to apply for membership. ","Current Value":"The current value for a Contract. Current value is the average of the current inside Sell At and Buy At prices for the Contract. If a Sell At and Buy At price is unavailable, HedgeStreet uses the last traded price for the Contract. HedgeStreet displays the current value for the long position. To calculate the current value for the short position for a Binary, subtract the current value from $10; to calculate the current value for the short position for a Futures Contract, subtract the current value from the Contracts contract size ($0-$50).","Daily High":"The highest trade price achieved during the day for a particular Contract.","Daily Low":"The lowest trade price achieved during the day for a particular Contract.","Date/Time":"The date and time an order or transaction was recorded by HedgeStreet.","Description":"A detailed description for a particular transaction.","Discount":"The amount a Contract value is trading under its corresponding Asset value. For example, if a Gold $400 to $410 (2 Dec 05) Variable Long Contract is trading at $5, and Gold is trading at $408, there is a discount of $3. Differences between Contract values and Asset values are created by market forces and the time-value of Contracts. ","Dollar Multiplier":"The monetary amount by which the rate, level, amount, measure, or other value of the underlying of a Variable Contract is multiplied to determine the Settlement Value. ","Electronic Check":"An Electronic Check is an online service that allows you to deposit funds with a paper check via the Internet. You can deposit up to $10,000 with each electronic check. ","Electronic Signature":"As a completely Internet-based contract market, HedgeStreet requests that applicants sign certain documents via electronic signature. An electronic signature is a sound, symbol or process used to sign enforceable contracts as well as other types of documents. Signing a document with an electronic signature is the legal equivalent to signing a document with pen and paper. When you complete the initial application on the HedgeStreet website, HedgeStreet will assign you a unique alphanumeric signature code and send that code to your registered email address. You will then be required to input that code as your electronic signature. HedgeStreet will confirm as to whether or not you agree to sign the application and agreement by electronic means. HedgeStreet will then store the receipt of your unique electronic signature along with your confirmation that you acknowledged and agreed to sign the membership application. HedgeStreet will follow the same procedure for each authorized representative designated by an entity applicant. ","Entity":"A business/legal body (other than an individual) that may open a HedgeStreet account, such as a Trust, Corporation, Limited Liability Company (LLC), Partnership or Sole Proprietorship. ","Estimated Cash Required":"The estimated cash associated with acquiring a particular Contract position.","Expiration Value":"The value of an asset at expiration. The Underlying Expiration Value is used to determine the payout for buyers and sellers","Fee":"A charge assessed to members for activities on HedgeStreet. (For a list of current fees, please refer to the Fee Schedule)","Final Results":"Contracts that have been settled and cleared.","Contract":"A Contract is a small financial contract between a Buyer and a Seller, based on an underlying asset (such as Oil or Gold), or an underlying economic event (such as an increase in the Fed Funds rate).These inexpensive financial contracts are designed by HedgeStreet and traded exclusively on the HedgeStreet Exchange. Traders take a position on the degree and direction of price movements or the outcome of an economic event by buying and selling Contracts that represent what they believe will occur. If the outcome the trader predicted occurs, they receive a pre-defined payout per contract.","Contract Pair":"The combination of opposing Yes and No Contracts. For example, Gasoline > $2.125 Yes (2 Dec 05) and Gasoline > $2.125 No (2 Dec 05) constitute a Contract Pair. ","Contract Position":"The number of Contracts held by a trader. A trader who does not hold any Contracts has \"no position\". ","Hedging":"The act of sheltering oneself from uncertainty by investing in a financial instrument that will offset monetary losses in the event of a specific outcome. ","Hypothetical Performance":"Hypothetical performance results have many inherent limitations, some of which are described below. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown. In fact, there are frequently sharp differences between hypothetical performance results and the actual results subsequently achieved by any particular trading program. One of the limitations of hypothetical performance results is that they are generally prepared with the benefit of hindsight. In addition, hypothetical trading does not involve financial risk, and no hypothetical trading record can completely account for the impact of financial risk in actual trading. For example, the ability to withstand losses or to adhere to a particular trading program in spite of trading losses are material points which can also adversely affect actual trading results. There are numerous other factors related to the markets in general or to the implementation of any specific trading program which cannot be fully accounted for in the preparation of hypothetical performance results and all of which can adversely affect actual trading results. ","In-the-Money Contract":"A Contract for which the payout criteria is determined to have been met at Settlement. ","Last Trade":"The last price at which a particular Contract was traded.","Last Bid":"The last buy price (bid) for a particular Contract on a given day. ","Last Offer":"The last sell price (ask) for a particular Contract on a given day. ","Last Trade":"The last price at which a particular Contract was traded. ","Login":"The process of accessing a HedgeStreet account, by entering the proper username and password, in order to view account information or trade on HedgeStreet. ","Logout":"The process of ending access to a HedgeStreet account. The user must log in again to view account information or trade on HedgeStreet. ","Long":"On HedgeStreet, \"long\" refers to a Variable Contract position that increases in value as the underlying asset increases, and decreases in value as the underlying asset decreases. ","Market":"On HedgeStreet, a market is a grouping of related Contracts. Examples of markets include \"Finance\" and \"Real Estate\". For a list of current markets, refer to the Contracts page. ","Market Value":"The total value of a Contract position in the market. Market Value represents the cash that would be obtained if the entire Contract position were liquidated at the Current Value price.","Maturity":"For Contracts, maturity is the same as Expiration. ","National Futures Association (NFA)":"A self-regulatory organization whose members include Futures Commission Merchants (FCM), Commodity Pool Operators (CPO), Commodity Trading Advisors (CTA), Introducing Brokers (IB), contract markets, commercial firms, and banks. The NFA is responsible-under CFTC oversight-for certain aspects of the regulation of FCMs, CPOs, CTAs, IBs, and their registered employees. The primary focus of the NFA includes monitoring the qualifications and proficiency, financial condition, retail sales practices, and business conduct of these futures professionals. NFA also performs arbitration and dispute resolution functions for industry participants. HedgeStreet has contracted with National Futures Association (\"NFA\") to assist with the surveillance of the HedgeStreet market including conducting trade practice and market surveillance on trading and order data, reviewing data for any trade or market inconsistencies or exceptions and notifying HedgeStreet if any investigation is warranted. For more information, please visit www.nfa.futures.org. ","Non-Intermediated":"The absence of an agent, broker, or financial institution who acts as a middle person between an individual and a market. ","Offer":"An order to sell a specified number of Contracts at a specified price per Contract. Offers are shown in the Ask column of the Order Book. A trade occurs when another trader places a buy order at or above the Offer price. ","Open":"The first price at which a particular Contract was traded on a given day. ","Open Interest":"The total number of Contracts that have been purchased, but have not yet expired and settled (i.e., the total number of outstanding Contracts that are owned by participants in the market).","Open Order":"A buy or sell order (Bid or Ask) that has been placed, but has not yet been filled (executed). ","Opening Trade Value":"The rate, level, amount, measure, or other value of the underlying of a Variable Contract at which a Contract position is opened in a member account. ","Opening Transaction":"An order placed by a trader to establish or increase a Contract position. ","Order Book":"On HedgeStreet, the order book provides a gauge of liquidity by displaying the best bids and ask prices for each Contract and the associated quantities. ","Order Number":"A unique numeric code assigned to each buy or sell order placed on HedgeStreet. ","Out-of-the Money Contract":"A Contract for which the payout criteria is not determined to have been met at settlement. ","P & L":"The total profit or loss for a Contract position. P&L is calculated as the difference between what you paid to acquire the specific Contract position (Cash Required) and the current Market Value of that position.","Par":"The amount a Contract value is trading under its corresponding Asset value. For example, if a Gold $400 to $410 (2 Dec 05) Variable Long Contract is trading at $5, and Gold is trading at $407, there is a par of $2. Differences between Contract values and Asset values are created by market forces and the time-value of Contracts. ","Password":"A code that must be entered along with a username when logging into an account. Your HedgeStreet password can be between 6 and 8 alphanumeric characters (letters and/or digits), is case-sensitive, must start with a letter, and must include at least one digit (number). ","Pending Deposits":"Deposits that HedgeStreet are currently processing, but have not cleared. Most deposits take 10 business days to clear. Once deposits are cleared, they are displayed in Available Cash. ","Pending Final Result":"Contracts which have concluded trading and are pending the final expiration value to determine the payout value.","Pending Withdrawals":"Withdrawals that HedgeStreet are currently processing. After the withdrawal is processed, your Available Cash will be reduced by the amount of the withdrawal. Funds withdrawn from HedgeStreet will transfer to your bank account within approximately 2-3 business days. ","Positions":"The Contracts you currently hold. The Positions page displays your current Contract positions, plus information relating to those positions such as current price, quantity, cost basis, P&L, market value, and total portfolio value. You must be logged in to access this page. ","Potential Gain":"The maximum amount of profit a trader can make if an order is executed (completely filled) and the Contracts in the order settle at the highest possible settlement value. (For all Contract types, the highest possible settlement value is $10.) ","Potential Loss":"The maximum amount of money a trader could lose if an order is executed (completely filled) and the Contracts in the order settle at the lowest possible settlement value. (For all Contract types, the lowest possible settlement value is $0; therefore, the potential loss always equals the amount invested.) ","Premium":"The amount a Contract value is trading over its corresponding Asset value. For example, if a Gold $400 to $410 (2 Dec 05) Variable Long Contract is trading at $5, and Gold is trading at $402, there is a premium of $3. Differences between Contract values and Asset values are created by market forces and the time-value of Contracts. ","Price":"The per Contract price associated with an order.","Principal":"The total principal amount associated with a transaction.","Privacy Policy":"A legal statement indicating the conditions under which HedgeStreet will or will not reveal personal information about users. HedgeStreet only shares member information in accordance with federal and state privacy laws. To view the complete HedgeStreet Privacy Policy, click here. ","Quantity":"The number of a Contracts. Quantities associated with sells are denoted by a negative (-) number.","Quantity To Trade":"The number of Contracts you want to buy or sell.","Range":"The difference between the Cap and Floor specified for a Variable Contract. For example, the Gasoline $2.10 to $2.20 (2 Dec 05) Variable Contract has a range of 0.10 (2.20-2.10). Within the range, a trader owning a long position on a Variable Contract receives a pre-defined dollar amount for every point above the entry price the underlying moves, or loses the same amount for every point below the entry price the underlying moves. A trader with a short position on a Variable Contract receives a pre-defined dollar amount for every point below the entry price the underlying moves, or loses the same amount for every point above the entry price the underlying moves. ","Redemption (Redeem)":"Selling a Contract Pair (\"selling both\" Yes and No Contracts) to HedgeStreet for $10, less a fee. ","Redemption Fee":"The fee charged by HedgeStreet when a Binary Pair is redeemed. (For a list of current fees, please refer to the Fee Schedule). ","Refresh":"Re-displays the current page with updated content. ","Remaining":"The portion of an order which has not yet been filled, measured in the number of Contracts left to be purchased or sold.","Result":"Contracts that are pending settlement.","Running Balance":"Your available cash account balance inclusive of all executed transactions, including settled deposits, withdrawals, filled orders, interest paid to HedgeStreet members and HedgeStreet fees. The balance represents the current amount in your account that can be used for trading purposes or withdrawals. ","Sell":"The act of offering a Contract for sale. If you are logged in, this button/link directs you to the Place Order page. If you are not logged in, this link directs you to a login/open-account page. ","Sell Downside":"The maximum amout of money you could lose by selling at your entered quantity and price","Sell Order":"An offer to sell a specified quantity of Contracts at a specified price. To place a sell order for Binaries, the trader must own the specified number of Contracts. ","Sell Upside":"The maximum amout of money you could make by selling at your entered quantity and price","Seller Payout":"The amount the seller receives as a result of the expiration value of the underlying at settlement. For Binaries, the seller payout is either $0 or $10; for Futures, the seller payout is between $0 and $50 (depending on the contract size of the Futures Contract).","Settled Deposits":"Funds deposited into your HedgeStreet account that have been approved and are available for trading. ","Settlement":"The process of assigning a settlement value (a payout amount) to expired Contracts by determining whether the payout criterion of the contract has been met. During settlement, all expired Contracts are closed and payout is made to the appropriate member accounts. ","Settlement Fee":"The amount deducted by HedgeStreet as its fee for settlement services when a payout is made during settlement. ","Short":"On HedgeStreet, \"short\" refers to a Variable Contract position that increases in value as the underlying asset decreases and decreases in value as the underlying asset increases. ","Speculating":"Taking a position on an uncertain outcome in anticipation of making a profit, but with the risk of taking a loss. ","Spot Contracts":"Contracts with a short-term maturity (or lifetime) not exceeding a 48 hour period (also known as Spot \"Daily\" Contracts). ","SSN":"Social Security Number. ","Tick Size":"The increment by which order prices can be entered. For Binaries, the tick size is shown in US dollars (i.e. $.50 or $.05); for Futures, the tick size is shown in terms of the underlying asset price (i.e. .0001 for EUR/USD or $.01 for Gold).","Time Stamp":"Date and time of the content displayed on a HedgeStreet web page. Clicking the Refresh link will update this information. The time stamp is located at the top right corner of each page. ","Time Remaining":"The period of time, represented in days, hours, and minutes, left until a contract is no longer available for trading. It is calculated by comparing the Last Trading Day and time for a given Contract with the current time stamp on HedgeStreet. For example, if the current time stamp for a Contract is December 29, 2005 4:37:33 PM ET, and the last trading day is 30 Dec 05 8:00PM ET, the time remaining would be 1 day, 3 hours, 22 minutes.","Total Account Value":"The total value of the account, given current Contract positions. Total Account Value is the sum of both the Market Value and Available Cash.","Total Cost":"The total amount paid by the trader, including any applicable fees, when any portion of an order is executed.","Total Cost Basis":"The total amount a trader paid for a Contract position, calculated as the average price paid per Contract (unit cost basis) multiplied by the quantity. For Short Variable Contracts, the total cost basis is $10 - unit cost basis multiplied by the quantity. ","Trade Number":"A numerical code assigned to each executed trade on HedgeStreet. ","Traded At":"The unit price for a particular Contract (i.e. the price paid per Contract to acquire a specific Contract position). If the Contracts is acquired at different times, and therefore at different prices, the Traded At price shown is the average price paid per contract for the entire position. For Futures, the value of the underlying associated with the calculated Traded At price for the Contract is shown. HedgeStreet always displays the Traded At price for the long position. For Short positions, the Traded At price shown would be the unit price at which you sold the Contract.","Trading Fee":"A fee charged to members to trade on HedgeStreet. For a current list of fees, please refer to the Fee Schedule. ","Type":"A type of transaction or order, for example, buy or sell.","Underlying":"The last underlying value reported for the underlying asset, for example, the price of Oil.  For Currencies, this value is the midpoint (midquote) value derived from the Bid/Ask spread. The midquote is calculated by first adding the Bid & Ask prices together and then dividing the resulting number by 2 in order to derive the mean.  Using the EUR/USD as an example, if the Bid is 1.3110 and the Ask is 1.3114, the resulting midpoint is 1.3112 [(1.3110 + 1.3114)/2 = (2.6224)/2 = 1.3112].","Unit Cost Basis":"The average price a trader paid for particular Contracts. For Short Variable Contracts, the unit cost basis is ($10 - unit cost basis). ","Unrealized P&L":"An \"unrealized\" profit or loss is one that has not actually occurred, but would occur if a specified transaction were to take place. ","Username":"An alias identifying an account, chosen by the account owner. Your HedgeStreet username can be between 6 and 15 alphanumeric characters (letters and/or digits). The username cannot be changed once the account has been opened. ","Vol./Open Interest":"The Daily Volume (quantity of Contracts that have been traded in a given day) and Open Interest (the total number of outstanding Contracts that are owned by participants in the market) of a Contract.","W-9":"An IRS Form that requires you to certify under penalty of perjury that your social security number is correct and that you are not subject to backup withholding. HedgeStreet requires that each member, both individuals and entities, complete this form when opening an account. ","Wire Transfer":"An electronic transfer of funds from an account at one financial institution to an account at another financial institution. "};
if(typeof hs=="undefined"){hs={};}if(typeof hs.ui=="undefined"){hs.ui={};}hs.ui.tooltip=null;hs.ui.tooltipTarget=null;hs.ui.tooltipShadowFrame=null;hs.ui.tooltipRequests={};hs.ui.tooltipRequestsCount=0;hs.ui.tooltipInterval=400;hs.ui.linkToolTip=function(_1,_2,_3,_4){if(typeof _1=="undefined"||_1==null){return;}if(typeof _2=="undefined"||_2==null||_2.length<=0){return;}var id=_3;if(typeof id=="undefined"||id==null){id="";}if(typeof _4=="undefined"){_4=true;}_1.onmouseover=function(){hs.ui.showToolTip(this,_2,id,_4);};};hs.ui.showToolTip=function(_6,_7,_8,_9){if(!$$(_6)){return;}if(!$$s(_7)){return;}var _a=_8;if(!$$s(_a)){_a="";}var _b=hs.ui.tooltipRequestsCount++;hs.ui.tooltipRequests[_b]={target:_6,str:_7,boundingElementID:_a};setTimeout(function(){hs.ui.displayToolTip(_b,_9);},hs.ui.tooltipInterval);_6.onmouseout=function(){hs.ui.hideToolTip(_b);};};hs.ui.displayToolTip=function(id,_d){var _e=hs.ui.tooltipRequests[id];if(!$$(_e)||!$$(_e.target)||!$$(_e.str)){return;}var _f=_e.target;var str=_e.str;var _11=_e.boundingElementID;if(!$$(_f)){return;}if(!$$s(str)){return;}hs.ui.tooltipRequests[id]=null;if(hs.ui.tooltip==null){var _12=document.createElement("div");_12.style.paddingLeft="0px";_12.style.paddingRight="0px";_12.style.paddingTop="0px";_12.style.paddingBottom="0px";_12.style.display="none";_12.style.position="absolute";_12.style.height="auto";_12.style.borderLeft="1px solid black";_12.style.borderRight="1px solid black";_12.style.borderTop="1px solid black";_12.style.borderBottom="1px solid black";_12.style.paddingLeft="2px";_12.style.paddingRight="2px";_12.style.backgroundColor="white";_12.style.verticalAlign="middle";_12.style.color="black";_12.style.fontSize="12px";document.body.appendChild(_12);hs.ui.tooltip=_12;}if(hs.ui.tooltip==null){return;}if(HS_ClientBrowserIs("msie")){if(hs.ui.tooltipShadowFrame==null){hs.ui.tooltipShadowFrame=hs.ui.createFrame();}}hs.ui.tooltipTarget=_f;hs.ui.tooltip.innerHTML=str;var _13=null;if($$s(_11)){_13=$(_11);}hs.ui.tooltip.style.zIndex=-1000;hs.ui.tooltip.style.display="";HS_BoundElement(hs.ui.tooltip,_f,_13,null,[0,0,0,0],[_f.offsetHeight+4,0,0,0]);if(_d){hs.ui.tooltip.style.top=(Position.get(_f).top+_f.offsetHeight+4)+"px";hs.ui.tooltip.style.left=(Position.get(_f).left+_f.offsetWidth)+"px";}if(typeof _Dialogs!="undefined"&&_Dialogs!=null){_Dialogs.bringToTop(hs.ui.tooltip);}else{hs.ui.tooltip.style.zIndex=1000;}if(hs.ui.tooltipShadowFrame!=null){hs.ui.tooltipShadowFrame.style.top=hs.ui.tooltip.style.top;hs.ui.tooltipShadowFrame.style.left=hs.ui.tooltip.style.left;hs.ui.tooltipShadowFrame.style.width=(hs.ui.tooltip.offsetWidth+0)+"px";hs.ui.tooltipShadowFrame.style.height=(hs.ui.tooltip.offsetHeight+0)+"px";hs.ui.tooltipShadowFrame.style.zIndex=""+(parseInt(hs.ui.tooltip.style.zIndex,10)-1);hs.ui.tooltipShadowFrame.style.visibility="visible";}};hs.ui.hideToolTip=function(id){var _15=null;if($$(id)){_15=hs.ui.tooltipRequests[id];}if($$(_15)){var obj=_15.target;if($$(obj)){obj.onmouseout=null;}hs.ui.tooltipRequests[id]=null;}else{if(hs.ui.tooltip!=null){hs.ui.tooltip.style.display="none";hs.ui.tooltip.style.zIndex=-1000;}if(hs.ui.tooltipShadowFrame!=null){hs.ui.tooltipShadowFrame.style.visibility="hidden";hs.ui.tooltipShadowFrame.style.zIndex=-1000;}}hs.ui.tooltipTarget=null;};hs.ui.updateToolTip=function(obj,str){if(!$$(obj)){return;}if(!$$(str)){return;}if(!$$(hs.ui.tooltip)||hs.ui.tooltipTarget!=obj){return;}if(str.length>0){hs.ui.tooltip.innerHTML=str;}else{hs.ui.hideToolTip();}};


