Please check the error below out. I tried to reinstall Excel, IExplorer, Mozilla, Zoho plug in and the error remains...
Internet explorer script error
line 1542
char 1
error invali argument
http://js.zohostatic.com/sheet/v35_11/js/sheet.js
// $Id$
/**
* IMPORTANT NOTE: This compressed javascript includes thirdparty javascripts
* listed at http://sheet.zoho.com/html/thirdparty.html
* The original javascript sources are available in the above location.
*/
if(!Array.prototype.indexOf){
Array.prototype.indexOf=function(_1){
var _2=this.length;
var _3=Number(arguments[1])||0;
_3=(_3<0)?Math.ceil(_3):Math.floor(_3);
if(_3<0){
_3+=_2;
}
for(;_3<_2;_3++){
if(_3 in this&&this[_3]===_1){
return _3;
}
}
return -1;
};
}
var is_gecko=/gecko/i.test(navigator.userAgent);
var is_ie=/MSIE/.test(navigator.userAgent);
function setSelectionRange(_4,_5,_6){
if(is_gecko){
_4.setSelectionRange(_5,_6);
}else{
var _7=_4.createTextRange();
_7.collapse(true);
_7.moveStart("character",_5);
_7.moveEnd("character",_6-_5);
_7.select();
}
}
function getSelectionStart(_8){
if(is_gecko){
return _8.selectionStart;
}
var _9=document.selection.createRange();
var _a=_9.compareEndPoints("StartToEnd",_9)==0;
if(!_a){
_9.collapse(true);
}
var b=_9.getBookmark();
return b.charCodeAt(2)-2;
}
function getSelectionEnd(_c){
if(is_gecko){
return _c.selectionEnd;
}
var _d=document.selection.createRange();
var _e=_d.compareEndPoints("StartToEnd",_d)==0;
if(!_e){
_d.collapse(false);
}
var b=_d.getBookmark();
return b.charCodeAt(2)-2;
}
var browser_ie=false;
var browser_ie6=false;
var browser_nn4=false;
var browser_nn6=false;
var browser_opera=false;
var browser_safari=false;
var browser_ff3=false;
var os_windows=false;
var os_linux=false;
var os_mac=false;
if(document.all&&window.navigator.userAgent.toUpperCase().indexOf("IE")>=0){
browser_ie=true;
if(window.navigator.appVersion.indexOf("7.0")<0){
browser_ie6=true;
}
}else{
if(document.layers){
browser_nn4=true;
}else{
if(document.layers||(!document.all&&document.getElementById)){
browser_nn6=true;
}
}
}
if(window.navigator.userAgent.toUpperCase().indexOf("OPERA")>=0){
browser_opera=true;
browser_nn6=true;
}
if(window.navigator.userAgent.toUpperCase().indexOf("SAFARI")>=0){
browser_safari=true;
}
if(window.navigator.userAgent.toUpperCase().indexOf("FIREFOX/3")>=0){
browser_ff3=true;
}
if(window.navigator.platform.toUpperCase().indexOf("WIN")>=0){
os_windows=true;
}
if(window.navigator.platform.toUpperCase().indexOf("LINUX")>=0){
os_linux=true;
}
if(window.navigator.platform.toUpperCase().indexOf("MAC")>=0){
os_mac=true;
}
function findPosX(obj){
var _11=0;
if(document.getElementById||document.all){
try{
while(obj.offsetParent){
_11+=obj.offsetLeft;
obj=obj.offsetParent;
}
}
catch(e){
return _11;
}
}else{
if(document.layers){
_11+=obj.x;
}
}
return _11;
}
function findPosY(obj){
var _13=0;
if(document.getElementById||document.all){
try{
while(obj.offsetParent){
_13+=obj.offsetTop;
obj=obj.offsetParent;
}
}
catch(e){
return _13;
}
}else{
if(document.layers){
_13+=obj.y;
}
}
return _13;
}
function findDocDim(){
if(browser_ie){
return {width:document.documentElement.offsetWidth+document.body.scrollLeft,height:document.documentElement.offsetHeight+document.body.scrollTop};
}else{
if(browser_nn4||browser_nn6){
return {width:window.innerWidth+document.body.scrollLeft,height:window.innerHeight+document.body.scrollTop};
}
}
}
function findClientDim(){
if(browser_ie){
var _14=document.body.clientWidth;
var _15=document.body.clientHeight;
}else{
if(browser_nn4||browser_nn6){
var _14=window.innerWidth;
var _15=window.innerHeight;
}
}
return {width:_14,height:_15};
}
function getCursorPos(ev){
if(browser_ie){
var x=window.event.clientX+document.documentElement.scrollLeft;
var y=window.event.clientY+document.documentElement.scrollTop;
}else{
if(browser_nn6){
var x=ev.pageX;
var y=ev.pageY;
}
}
return {x:x,y:y};
}
var scrX=0,scrY=0,pgeX=0,pgeY=0,srcElement;
if(browser_ie){
document.attachEvent("onclick",popUpListener);
}else{
if(browser_nn4||browser_nn6){
document.addEventListener("click",popUpListener,true);
}
}
function popUpListener(e){
if(browser_ie){
srcElement=window.event.srcElement;
}else{
if(browser_nn4||browser_nn6){
srcElement=e.target;
scrX=e.screenX;
scrY=e.screenY;
pgeX=e.pageX;
pgeY=e.pageY;
}
}
}
function getObj(n,d){
if(!d){
d=document;
}
return d.getElementById(n);
}
function getXmlhttp(){
if(window.XMLHttpRequest){
var _1c=new XMLHttpRequest();
}else{
try{
var _1c=new ActiveXObject("Microsoft.XMLHTTP");
}
catch(ee){
try{
var _1c=new ActiveXObject("Microsoft.XMLDOM");
}
catch(e){
var _1c=new ActiveXObject("Msxml2.XMLHTTP");
}
}
}
return _1c;
}
function getXMLHttpRequest(){
var _1d=false;
try{
_1d=new ActiveXObject("Msxml2.XMLHTTP");
}
catch(e){
try{
_1d=new ActiveXObject("Microsoft.XMLHTTP");
}
catch(E){
_1d=false;
}
}
if(!_1d&&typeof XMLHttpRequest!="undefined"){
_1d=new XMLHttpRequest();
}
return _1d;
}
function clearTextSelection(){
if(!READ_WRITE){
return;
}
if(window.getSelection){
window.getSelection().removeAllRanges();
}else{
if(document.getSelection){
var s=document.getSelection();
if(s.collapse){
s.collapse(true);
}
if(s.removeAllRanges){
s.removeAllRanges();
}
}else{
if(document.selection){
if(document.selection.type!="Text"){
document.selection.empty();
}else{
document.selection.clear();
}
}
}
}
}
String.prototype.trim=function(){
var x=this;
x=x.replace(/^\s*(.*)/,"$1");
x=x.replace(/(.*?)\s*$/,"$1");
return x;
};
String.prototype.Ltrim=function(){
var x=this;
x=x.replace(/^\s*(.*)/,"$1");
return x;
};
String.prototype.Rtrim=function(){
var x=this;
x=x.replace(/(.*?)\s*$/,"$1");
return x;
};
if(!document.all){
function getOuterHTML(_22){
var str="";
var _24=["IMG","HR","BR","INPUT"];
switch(_22.nodeType){
case 1:
str+="<"+_22.nodeName;
for(var i=0;i<_22.attributes.length;i++){
if(_22.attributes.item(i).nodeValue!=null){
str+=" ";
str+=_22.attributes.item(i).nodeName;
str+="=\"";
str+=_22.attributes.item(i).nodeValue;
str+="\"";
}
}
if(_22.childNodes.length==0&&_24.getIndexOf(_22.nodeName)>0){
str+=">";
}else{
str+=">";
str+=_22.innerHTML;
str+="</"+_22.nodeName+">";
}
break;
case 3:
str+=_22.nodeValue;
break;
case 4:
str+="<![CDATA["+_22.nodeValue+"]]>";
break;
case 5:
str+="&"+_22.nodeName+";";
break;
case 8:
str+="<!--"+_22.nodeValue+"-->";
break;
}
return str;
}
function Array_getIndexOf(el){
var _27=-1;
for(var i=0;i<this.length;i++){
if(this[i]==el){
_27=i;
break;
}
}
return _27;
}
Array.prototype.getIndexOf=Array_getIndexOf;
}
function MM_openBrWindow(_29,_2a,_2b){
if(document.all){
left=(screen.width/2)-200;
atop=(screen.height/2)-200;
var ft="width=400,height=360"+",left="+left+",top="+atop+",resizable=yes";
win=window.open(_29,_2a,ft);
win.focus();
}else{
if(document.getElementById){
win=window.open(_29,_2a,"width=400,height=360,resizable=yes");
win.focus();
win.moveTo((document.width/2)-235,(document.height/2)-130);
}
}
}
var scrollConst=0;
function isCapsLockOn(_2d,_2e){
return ((_2d>=65&&_2d<=90&&!_2e)||(_2d>=95&&_2d<=123&&_2e))?true:false;
}
function get_cookie(_2f){
var arg=_2f+"=";
var _31=arg.length;
var _32=document.cookie.length;
var i=0;
while(i<_32){
var j=i+_31;
if(document.cookie.substring(i,j)==arg){
return get_cookie_val(j);
}
i=document.cookie.indexOf(" ",i)+1;
if(i==0){
break;
}
}
return null;
}
function get_cookie_val(_35){
var _36=document.cookie.indexOf(";",_35);
if(_36==-1){
_36=document.cookie.length;
}
return unescape(document.cookie.substring(_35,_36));
}
function set_cookie(_37,_38){
var _39=set_cookie.arguments;
var _3a=set_cookie.arguments.length;
var _3b=(_3a>2)?_39[2]:null;
var _3c=(_3a>3)?_39[3]:null;
var _3d=(_3a>4)?_39[4]:null;
var _3e=(_3a>5)?_39[5]:false;
document.cookie=_37+"="+escape(_38)+((_3b==null)?"":("; expires="+_3b.toGMTString()))+((_3c==null)?"":("; path="+_3c))+((_3d==null)?"":("; domain="+_3d))+((_3e==true)?"; secure":"");
}
function del_cookie(_3f){
var exp=new Date();
exp.setTime(exp.getTime()-1);
var _41=get_cookie(_3f);
document.cookie=_3f+"="+_41+"; expires="+exp.toGMTString();
}
function getCaretPos(_42){
var txt=_42.value;
var len=txt.length;
var pos=-1;
if((typeof document.selection!="undefined")&&(!browser_opera)){
var _46=document.selection.createRange();
if(_42.tagName.toUpperCase()!="INPUT"){
var _47=_46.duplicate();
_47.moveToElementText(_42);
_47.setEndPoint("EndToEnd",_46);
_42.selectionStart=_47.text.length-_46.text.length;
_42.selectionEnd=_42.selectionStart+_46.text.length;
pos=_42.selectionStart;
}else{
if(_42.tagName.toUpperCase()=="INPUT"){
pos=getFormInputCaretPos(_42,_46);
}
}
}else{
if(typeof _42.selectionStart!="undefined"){
pos=_42.selectionStart;
}
}
return pos;
}
function getCaretPosByLine(_48){
var txt=_48.value;
var len=txt.length;
var erg=txt.split("\n");
var pos=-1;
if(typeof document.selection!="undefined"&&!browser_opera){
range_sel=document.selection.createRange();
range_obj=_48.createTextRange();
range_obj.moveToBookmark(range_sel.getBookmark());
range_obj.moveEnd("character",_48.value.length);
pos=len-range_obj.text.length;
}else{
if(browser_opera||typeof _48.selectionStart!="undefined"){
pos=_48.selectionStart;
}
}
if(pos!=-1){
var ind=0;
for(ind;erg.length;ind++){
len=erg[ind].length+1;
if(pos<len){
break;
}
pos-=len;
}
ind++;
pos++;
return [ind,pos];
}
}
function setCaretPos(_4e,pos){
_4e.focus();
if(!isNaN(pos)){
setSelectionRange(_4e,pos,pos);
}else{
if(pos=="START"){
setSelectionRange(_4e,0,0);
}else{
if(pos=="END"){
setSelectionRange(_4e,_4e.value.length,_4e.value.length);
}
}
}
}
function getSelectedText(el){
if(is_ie&&!browser_opera){
if(document.selection){
var _51=document.selection.createRange();
if(el.tagName=="TEXTAREA"){
var _52=_51.duplicate();
_52.moveToElementText(el);
_52.setEndPoint("EndToEnd",_51);
el.selectionStart=_52.text.length-_51.text.length;
el.selectionEnd=el.selectionStart+_51.text.length;
}else{
if(el.tagName.toUpperCase()=="INPUT"){
el.selectionStart=getFormInputCaretPos(el,_51);
el.selectionEnd=getSelectionEnd(el,_51);
}
}
}
return el.value.substring(el.selectionStart,el.selectionEnd);
}else{
return el.value.substring(getSelectionStart(el),getSelectionEnd(el));
}
}
function selectText(_53,_54,end){
_53.focus();
setSelectionRange(_53,_54,end);
}
function insertText(_56,val){
var _58=getCaretPos(_56);
var _59=_56.value.substring(0,getSelectionStart(_56));
var _5a=_56.value.substr(getSelectionEnd(_56),_56.value.length);
_56.value=_59+val+_5a;
setCaretPos(_56,(_58+val.length));
return _58;
}
function getText(el,_5c,end){
return el.value.substr(_5c,end);
}
function getTextByLine(_5e,_5f,_60,end){
var txt=_5e.value;
var len=txt.length;
var erg=txt.split("\n");
if(erg[_5f-1]){
return erg[_5f-1].substr(_60,end);
}else{
return "";
}
}
function getCurrentStyle(el,_66){
if(browser_ie||browser_opera){
return el.currentStyle[_66];
}else{
if(browser_nn6){
return document.defaultView.getComputedStyle(el,"")[_66];
}
}
}
function getCurrentStyles(el){
if(browser_ie||browser_opera){
return el.currentStyle;
}else{
if(browser_nn6){
return document.defaultView.getComputedStyle(el,"");
}
}
}
function getSelectionStart(_68){
var txt=_68.value;
var len=txt.length;
var _6b=-1;
if(typeof document.selection!="undefined"&&!browser_opera){
var _6c=document.selection.createRange();
if(_68.tagName.toUpperCase()!="INPUT"){
var _6d=_6c.duplicate();
_6d.moveToElementText(_68);
_6d.setEndPoint("EndToEnd",_6c);
_68.selectionStart=_6d.text.length-_6c.text.length;
_68.selectionEnd=_68.selectionStart+_6c.text.length;
_6b=_68.selectionStart;
}else{
_6b=getFormInputCaretPos(_68,_6c);
}
}else{
if(typeof _68.selectionStart!="undefined"){
_6b=_68.selectionStart;
}
}
return _6b;
}
function getSelectionEnd(_6e){
var _6f=-1;
if(typeof document.selection!="undefined"&&!browser_opera){
_6f=getSelectionStart(_6e)+document.selection.createRange().text.length;
}else{
if(typeof _6e.selectionStart!="undefined"){
_6f=_6e.selectionEnd;
}
}
return _6f;
}
function getFormInputCaretPos(_70,_71){
var pos,_73,_74;
if(_70.tagName.toUpperCase()=="INPUT"){
_73=_71.compareEndPoints("StartToEnd",_71)==0;
if(!_73){
_71.collapse(true);
}
_74=_71.getBookmark();
pos=_74.charCodeAt(2)-2;
return pos;
}
}
function LightenColor(_75,_76){
var r,g,b,txt;
r=parseInt(_75.substr(1,2),16),g=parseInt(_75.substr(3,2),16),b=parseInt(_75.substr(5,2),16),r+=_76;
if(r>255){
r=255;
}
if(r<0){
r=0;
}
g+=_76;
if(g>255){
g=255;
}
if(g<0){
g=0;
}
b+=_76;
if(b>255){
b=255;
}
if(b<0){
b=0;
}
txt=b.toString(16);
if(txt.length<2){
txt="0"+txt;
}
txt=g.toString(16)+txt;
if(txt.length<4){
txt="0"+txt;
}
txt=r.toString(16)+txt;
if(txt.length<6){
txt="0"+txt;
}
return "#"+txt.toUpperCase();
}
function DarkenColor(_7b,_7c){
return LightenColor(_7b,_7c*-1);
}
function isChild(_7d,_7e){
try{
if(_7d==_7e){
return false;
}
while(_7d.parentNode!=_7e){
if(_7d.parentNode==document.body){
return false;
}else{
_7d=_7d.parentNode;
}
}
return true;
}
catch(e){
return false;
}
}
function escapeSpecialChar(_7f){
var _80=arguments[1];
_7f=encodeURIComponent(escape(_7f));
if(_80!="no"){
if(arguments[0].indexOf(".")!=-1){
_7f=_7f.replace(/\./g,"\\.");
}
if(arguments[0].indexOf("*")!=-1){
_7f=_7f.replace(/\*/g,"\\*");
}
if(arguments[0].indexOf("_")!=-1){
_7f=_7f.replace(/\_/g,"\\_");
}
if(arguments[0].indexOf("-")!=-1){
_7f=_7f.replace(/\-/g,"\\-");
}
}
return _7f;
}
function unescapeSpecialChar(_81){
var _82=arguments[1];
if(_82!="no"){
if(arguments[0].indexOf(".")!=-1){
_81=_81.replace(/\\\./g,".");
}
if(arguments[0].indexOf("*")!=-1){
_81=_81.replace(/\\\*/g,"*");
}
if(arguments[0].indexOf("_")!=-1){
_81=_81.replace(/\\\_/g,"_");
}
if(arguments[0].indexOf("-")!=-1){
_81=_81.replace(/\\\-/g,"-");
}
}
_81=unescape(decodeURIComponent(_81));
return _81;
}
function setSelectionRange(_83,_84,end){
try{
if(_83.setSelectionRange){
_83.setSelectionRange(_84,end);
}else{
if(_83.createTextRange){
var _86=_83.createTextRange();
_86.collapse(true);
if(_84!=end){
_86.moveStart("character",_84);
_86.moveEnd("character",end);
}else{
_86.moveStart("character",_84);
}
_86.select();
}
}
}
catch(e){
}
}
function getCountOfOccrnceOfCharInStr(_87,_88){
return (_87.split(_88).length-1);
}
getMaxLengthOfAnElemInAnArr=function(arr){
var _8a=0;
var _8b=0;
for(_8b in arr){
_8a=(arr[_8b].length>_8a)?arr[_8b].length:_8a;
}
return _8a;
};
function stopEvt(ev){
if(browser_ie){
window.event.cancelBubble=true;
}else{
if(browser_nn6){
ev.stopPropagation();
}
}
}
function matchString(str,_8e){
var _8f=[];
var _90=10;
if(isNaN(str)&&(new RegExp("[a-z].*","gi")).exec(str)!=null){
str=escapeSpecialChar(str);
for(var _91=0;_91<_8e.length;_91+=1){
tmp=escapeSpecialChar(_8e[_91],"no");
var re=new RegExp("^"+str+"[^$].*?","gi");
var m=re.exec(tmp);
if(m&&m.index==0){
_8f[_8f.length]=unescapeSpecialChar(tmp);
if(_90&&_8f.length==_90){
break;
}
}
}
}
return _8f;
}
function isCaretPosAtEnd(_94){
return (_94.value.length==getSelectionEnd(_94))?true:false;
}
function isTextSelected(_95){
return (getSelectedText(_95).length>0)?true:false;
}
function restrictTextSelection(el){
el.onselectstart=new Function("return false");
(browser_ie)?el.attachEvent("onmousedown",function(){
el.onmousedown=new Function("return false");
}):el.addEventListener("mousedown",function(){
el.onmousedown=new Function("return false");
},false);
}
function resumeTextSelection(el){
el.onselectstart=new Function("return true");
}
function isNumber(obj){
return (typeof (obj)=="number")?true:false;
}
function isObject(obj){
return (typeof (obj)=="object")?true:false;
}
function isStr(obj){
return (typeof (obj)=="string")?true:false;
}
function isBoolean(obj){
return (typeof (obj)=="boolean")?true:false;
}
function getMouseWheelData(ev){
var _9d=ev.detail?ev.detail*-1:ev.wheelDelta/40;
return _9d;
}
function callIamDialog(_9e,_9f,_a0,_a1){
if(typeof _a0=="undefined"&&_a0==""){
_a0="100%";
}
if(typeof _9f=="undefined"){
_9f="";
}
if(typeof _a1=="undefined"){
_a1="";
}else{
_9f="split="+_9f+"&";
}
if(!_a2){
var _a2="/";
}
showURLInDialog(_a2+"copysignin.jsp?"+_9f+"src="+_9e,"position=absmiddle,modal=yes,title="+_a1);
return false;
}
function isUndefined(obj){
return (typeof (obj)=="undefined")?true:false;
}
function isDialogHidden(){
if(dialogHidden==true){
return true;
}else{
return false;
}
}
function isElement(obj){
if(obj!=null&&isObject(obj)){
return (typeof obj.tagName=="string");
}else{
return false;
}
}
function getPrintableCharacterKeyCodes(){
return [8,32,46,48,49,50,51,52,53,54,55,56,57,59,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,107,109,188,190,191,192,219,220,221,222];
}
var csrfParamName="csrfParam";
var csrfToken="";
function sendXMLHTTPRequest(_a5,_a6,_a7,_a8,_a9,_aa){
if(_a7){
var _ab,_ac;
if(_aa){
_ab=parent.csrfParamName;
_ac=parent.csrfToken;
}else{
_ab=csrfParamName;
_ac=csrfToken;
}
if(typeof _a6!="undefined"){
if(_a6.lastIndexOf("&")==_a6.length-1){
_a6+=_ab+"="+_ac;
}else{
_a6+="&"+_ab+"="+_ac;
}
}else{
_a6=_ab+"="+_ac;
}
}
if(_a8&&typeof _a9!="undefined"){
if(_aa){
parent.postAjax(_a5,_a9,_a6);
}else{
postAjax(_a5,_a9,_a6);
}
}else{
_a5.send(_a6);
}
}
function appendCSRFToURL(url){
if(typeof url!="undefined"){
if(url.lastIndexOf("&")==url.length-1){
url+=csrfParamName+"="+csrfToken;
}else{
url+="&"+csrfParamName+"="+csrfToken;
}
}else{
url=csrfParamName+"="+csrfToken;
}
return url;
}
var isExportEvent=false;
var ie=false;
var DOCUMENT_ID="doc_id";
var DOCUMENTSHEET_ID="docsheet_id";
var DOCUMENTSHEET_NAME="docsheet_name";
var DOCUMENT_VIEW="NEW_VIEW";
var SIDEBAR_VIEW="mydocs";
var COLOR_DIV_ID="bg_fill_div";
var DOCUMENT_NAME="";
var DOC_NAME="";
var NEWDOCNAME="";
var DEFAULT_FILENAME_FLAG=false;
var jsNEW_DOC_VIEW=false;
var jsOPEN_DOC_VIEW=false;
var jsSHARE_VIEW=false;
var jsTRASH_VIEW=false;
var jsGUEST_VIEW=false;
var jsPUBLIC_VIEW=false;
var jsTHROWAWAY_VIEW=false;
var jsGADGET_VIEW=false;
var jsREMOTE_VIEW=false;
var jsVERSION_VIEW=false;
var jsREMOTE_SAVE_VIEW=false;
var DOCUMENT_LOCKED=false;
var READ_WRITE=false;
var IPHONE_VIEW=false;
var isDocumentPublic=false;
var isDocumentSemiPublic=false;
var isStockConfigured=false;
var SAVED=true;
var OOLOADED=true;
var ENTEREDPERFCHECK=false;
var CANREADWRITE=true;
var ACCOUNT_ID=0;
var AUTO_SAVED=null;
var SERVERPORT="";
var SERVERNAME="";
var TAGLIST="";
var TOTALSHEETS=0;
var CURRSHEETNAME="Sheet1";
var CURRSHEETINDEX=0;
var SAVEPARAM="";
var ISPRINTDIALOGOPENED=false;
var IMAGE_PATH="";
var LOCKED_USER="";
var SAVECHART="false";
var IMPORTDOC="IMPORTDOC";
var ERRORIMPORT=false;
var CURRENTTIME="CURRENTTIME";
var IMPORTACC="0";
var IMPORTTIME="IMPORTTIME";
var LOGINNAME="";
var isEdit=false;
var ENABLECACHE=true;
var ENABLERTC=true;
var HTMLVIEW=false;
var HTMLCHARTINFO=new Array();
var DELETEHTML=false;
var STYLE_PATH="";
var USE_COMPRESSION="";
var BUILD_VERSION="";
var ssServer="";
var initSSWidth="";
var initSSHeight="";
var initColHeadHeight="";
var initRowHeadWidth="";
var initCols="";
var initRows="";
var initColWidth="";
var initRowHeight="";
var defCellStyleStr="";
var defCellStyle="";
var defCellFormat="";
var defCellHolderProp="";
var tablewidth="";
var tableheight="";
var bridgeNumber="-1";
var saveForward="";
var commentCnt=0;
var guestId="";
var versionDetailsNo=0;
var IS_UNSAVED_SHEET=false;
var IS_REVERT_ALLOWED=false;
var ALL_SHEET_SHARED=false;
var IS_WHOLE_DOCUMENT_SHARED_IN_READ_WRITE=false;
var INSERT_SHEET_ALLOWED=false;
var DOCUMENT_VERSION="";
var isVersionPending=false;
if(document.all){
ie=true;
}
var isRangeDialog=false;
var CURR_DOC_OWNERNAME="";
var isPublished=false;
var commentString="";
var isRangeEdit=false;
var SHAREDUSERS="";
var NOTIFY="false";
var COLLAB_ID="";
var ISSAMESHEET="true";
var RTCSHEETNAME="";
var SAVEDOC="false";
var C_STARTROW="";
var C_ENDROW="";
var C_STARTCOL="";
var C_ENDCOL="";
var RTC_DOCID="";
var RTC_DOCNAME="";
var RTC_EXISTS="false";
var COLLABORATIVE_EDITING="OFF";
var SHAREDUSERSLIST=new Array();
var ISCOLLAB="false";
var CURRENTUSER="";
var documentOpened="false";
var LISTOFCOLLABIDS="";
var BACKUPCOLLABID="";
var DONTNOTIFY=false;
var INSERTIMAGE=false;
var IMAGEOBJECT=null;
var XPOSITION=null;
var YPOSITION=null;
var UPDATEIMAGEINOO=true;
var oFCKeditorforDoc=null;
var oFCKeditorforSheet=null;
var doAutoSave=false;
var usedCursCol=0;
var usedCursRow=0;
var publicURL="";
var sbWidth=200;
var MKIMODE=false;
var MKIEXPORT=false;
var BAIHUIMODE=false;
var NTTMODE=false;
var NOPDF=false;
var NTTCALLID="";
var NTTCOMPANYID="";
var NTTFILEPATH="";
var USERCURRENCY="DOLLAR";
var CURRENCYSYMBOLS=["$","€","£","¥","Rs","¥"];
var savedFlag=true;
var DO_INDEX_SEARCH=false;
var DOCUMENT_NAME_URL="";
var BACKGROUNDCOLOR="";
var FONTCOLOR="";
var sbDocId="";
var mysheetSort="modifydes";
var sharesheetSort="asc";
var mysheetFilter="all";
var sharesheetFilter="all";