function hidePathway(){if(document.getElementById("ja-col1")){document.getElementById("ja-pathway").style.borderColor="#CCCCCC"}}
var index_url='/en/';
function setCookie(name,value,path,expires,domain,secure){document.cookie=name+"="+escape(value)+((expires)?"; expires="+expires.toGMTString():"")+((path)?"; path="+path:"")+((domain)?"; domain="+domain:"")+((secure)?"; secure":"")};
function getCookie(name){var dc=document.cookie;var prefix=name+"=";var begin=dc.indexOf("; "+prefix);if(begin==-1){begin=dc.indexOf(prefix);if(begin!=0)return null}else{begin+=2}var end=document.cookie.indexOf(";",begin);if(end==-1){end=dc.length}return unescape(dc.substring(begin+prefix.length,end))};
function viewSubmenu(arg,menu_id){if(navigator.appName=="Microsoft Internet Explorer"){document.getElementById(menu_id).onmouseleave=function(){hiddenSubmenu(arg)}}else{document.getElementById(menu_id).onmouseout=function(){hiddenSubmenu(arg)}}if(!document.getElementById("MenuItem"+arg+"_top"))return false;if(arg<=5)document.getElementById("navigation_submenu"+arg+"_top").style.display="block";if(document.getElementById("products"))document.getElementById("MenuItem1_top").className="";if(document.getElementById("services"))document.getElementById("MenuItem2_top").className="";if(document.getElementById("solutions"))document.getElementById("MenuItem3_top").className="";if(document.getElementById("news"))document.getElementById("MenuItem4_top").className="";if(document.getElementById("about"))document.getElementById("MenuItem5_top").className="";if(document.getElementById("contact"))document.getElementById("MenuItem6_top").className="";document.getElementById("MenuItem"+arg+"_top").className="on"}
function hiddenSubmenu(arg){if(!document.getElementById("MenuItem"+arg+"_top"))return false;if(arg<=5)document.getElementById("navigation_submenu"+arg+"_top").style.display="none";document.getElementById("MenuItem"+arg+"_top").className="";if(document.getElementById("products"))document.getElementById("MenuItem1_top").className="on";if(document.getElementById("services"))document.getElementById("MenuItem2_top").className="on";if(document.getElementById("solutions"))document.getElementById("MenuItem3_top").className="on";if(document.getElementById("news"))document.getElementById("MenuItem4_top").className="on";if(document.getElementById("about"))document.getElementById("MenuItem5_top").className="on";if(document.getElementById("contact"))document.getElementById("MenuItem6_top").className="on";return false}
function viewSubSubmenu(arg,arg1){if(!document.getElementById("navigation_submenu"+arg+"_list"+arg1))return false;document.getElementById("navigation_submenu"+arg+"_list"+arg1).style.display="block";document.getElementById('submenu_link_'+arg+'_'+arg1).className="activelink";return false}
function hiddenSubSubmenu(arg,arg1){if(!document.getElementById("navigation_submenu"+arg+"_list"+arg1))return false;document.getElementById("navigation_submenu"+arg+"_list"+arg1).style.display="none";document.getElementById('submenu_link_'+arg+'_'+arg1).className="";return false}
function hiddenSubmenuLayer(){if(!document.getElementById("header"))return false;if(document.getElementById("products"))document.getElementById("MenuItem1_top").className="on";if(document.getElementById("services"))document.getElementById("MenuItem2_top").className="on";if(document.getElementById("solutions"))document.getElementById("MenuItem3_top").className="on";if(document.getElementById("news"))document.getElementById("MenuItem4_top").className="on";if(document.getElementById("about"))document.getElementById("MenuItem5_top").className="on";if(document.getElementById("contact"))document.getElementById("MenuItem6_top").className="on"}
function createSubMenu(i,j,product1,parent_url){var str='<div class="popupShadow" id="navigation_submenu'+i+'_list'+j+'">'+'\n'+'<div class="popupMenu" id= "navigation_submenu'+i+'_list'+j+'">'+'\n';var x=0;var urlStr=index_url+parent_url.replace(/ /g,'-').toLowerCase().replace(/-+/g,'-').replace(/[,/()|]/g,'').replace('&amp;','and').replace('&','and')+'/';for(x=0;x<product1.length;x++){if(product1[x][1]!=''){str=str+'<a  href="'+index_url+product1[x][1]+'" >'+product1[x][0]+'</a>'+'\n'}else{str=str+'<a  href="'+urlStr+product1[x][0].replace(/ /g,'-').toLowerCase().replace(/-+/g,'-').replace(/[,/()|]/g,'').replace('&','and')+'.html" >'+product1[x][0]+'</a>'+'\n'}}str=str+'</div>'+'\n'+'</div>'+'\n';document.write(str)}
function createMainMenu(i,title,productMainArray,productSubArray){title_Url=index_url+title.toLowerCase().replace(/ /g,'-').replace(/-+/g,'-').replace(/[,/()|]/g,'').replace('&amp;','and');var str='<div class="navigation_submenu_set">'+'\n'+'<div class="navigation_submenu_title">'+'\n'+'<a  href="'+title_Url+'.html" >'+title+'</a></div>'+'\n'+'<ul class="navigation_submenu_list">'+'\n';document.write(str);var x=0;for(x=0;x<productMainArray.length;x++){if(navigator.appName=="Microsoft Internet Explorer"){document.write('<li onmouseover="viewSubSubmenu('+i+','+x+');" onmouseleave="hiddenSubSubmenu('+i+','+x+');">')}else{document.write('<li onmouseover="viewSubSubmenu('+i+','+x+');" onmouseout="hiddenSubSubmenu('+i+','+x+');">')}var menuUrl;var prodArray=new Array();var j=0;var prd=0;for(prd=0;prd<productSubArray.length;prd++){if(productSubArray[prd][2]==productMainArray[x][0]){prodArray[j]=new Array();prodArray[j][0]=productSubArray[prd][1];prodArray[j][1]=productSubArray[prd][3];j++}}if(i==3){if(prodArray.length!=0){document.write('<a id="submenu_link_'+i+'_'+x+'">'+productMainArray[x][1]+'</a> ');createSubMenu(i,x,prodArray,productMainArray[x][2].toLowerCase())}else if(productMainArray[x][2]!=''){menuUrl=index_url+productMainArray[x][2].toLowerCase().replace(/ /g,'-').replace(/-+/g,'-').replace(/[,/()|]/g,'').replace('&amp;','and');document.write('<a id="submenu_link_'+i+'_'+x+'" href="'+menuUrl+'.html" >'+productMainArray[x][1]+'</a> ')}else{  document.write( '<a id="submenu_link_'+ i +'_'+ x +'" href="'+productMainArray[x][3]+'">'+productMainArray[x][1]+'</a> ' );}}else{menuUrl=index_url+productMainArray[x][1].toLowerCase().replace(/ /g,'-').replace(/-+/g,'-').replace(/[,/()|]/g,'').replace('&amp;','and');document.write('<a id="submenu_link_'+i+'_'+x+'" href="'+menuUrl+'.html" >'+productMainArray[x][1]+'</a> ');if(prodArray.length!=0){createSubMenu(i,x,prodArray,productMainArray[x][1].toLowerCase())}}document.write('</li>\n')}document.write('</ul>'+'\n'+'</div>')}
function createTopMenuSS(section,topArray,mainArray,popupArray){var urlStr=index_url;for(i=0;i<topArray.length;i++){var str='<div class="navigation_submenu_set">'+'\n';document.write(str);var subArray=new Array();var j=0;for(x=0;x<mainArray.length;x++){if(mainArray[x][3]==topArray[i][0]){subArray[j]=mainArray[x];j++}}if(subArray.length>0){createMainMenuSS(i,subArray,popupArray,section)}document.write('\n</div>')}}
function createMainMenuSS(i,productMainArray,productSubArray,section){var str='<ul class="navigation_submenu_list1">'+'\n';document.write(str);var x=0;var urlStr=index_url+section.toLowerCase().replace(/ /g,'-').replace(/-+/g,'-').replace(/[,/()|]/g,'').replace('&amp;','and')+'/';if(productMainArray!=null){for(x=0;x<productMainArray.length;x++){document.write('<li>');if(section=='Services and Support'){if(productMainArray[x][4]!=''){var ss_url=index_url+'services-and-support.html';document.write('<a  href="'+ss_url+'" onclick="setCookie(\'jwts_tabjwts_tabcookie\','+productMainArray[x][4]+',\''+index_url+'\')" >'+productMainArray[x][1]+'</a> ')}else if(productMainArray[x][5]!=''){if(productMainArray[x][5].indexOf('http')!=-1){document.write('<a  href="'+productMainArray[x][5]+'" target="_blank">'+productMainArray[x][1]+'</a> ')}else if(productMainArray[x][2]=='#'){document.write('<a  href="'+productMainArray[x][5]+'" >'+productMainArray[x][1]+'</a> ')}else{document.write('<a  href="'+index_url+productMainArray[x][5]+'" >'+'<img src="'+productMainArray[x][2]+'" alt ="'+productMainArray[x][1]+'"> </img></a> ')}}else{document.write('<a  href="'+urlStr+productMainArray[x][1].toLowerCase().replace(/ /g,'-').replace(/-+/g,'-').replace(/[,/()|]/g,'').replace('&amp;','and')+'.html" >'+productMainArray[x][1]+'</a> ')}}else if(productMainArray[x][1]=='Careers'){document.write('<a  href="http://www.ge.com/careers/" target="_blank">'+productMainArray[x][1]+'</a> ')}else{document.write('<a  href="'+urlStr+productMainArray[x][1].toLowerCase().replace(/ /g,'-').replace(/-+/g,'-').replace(/[,/()|]/g,'').replace('&amp;','and')+'.html" >'+productMainArray[x][1]+'</a> ')}var prodArray=new Array();var j=0;var prd=0;for(prd=0;prd<productSubArray.length;prd++){if(productSubArray[prd][3]==productMainArray[x][0]){prodArray[j]=new Array();prodArray[j][0]=productSubArray[prd][0];prodArray[j][1]=productSubArray[prd][1];prodArray[j][2]=productSubArray[prd][2];j++}}if(prodArray.length!=0){url=section.replace(/ /g,'-').replace(/-+/g,'-').replace(/[,/()|]/g,'').replace('&','and')+'/'+productMainArray[x][1].replace(/ /g,'-').replace(/-+/g,'-').replace(/[,/()|]/g,'').replace('&amp;','and');createSubMenuSS(i,x,prodArray,url.toLowerCase())}document.write('</li>\n')}}document.write('</ul>')}
function createSubMenuSS(i,j,product1,parent_URL){document.write('<div class="submenu_list" id= "navigation_sub_menu'+i+'_list'+j+'">');var x=0;for(x=0;x<product1.length;x++){document.write('<a href="'+index_url+parent_URL+'/'+product1[x][1].toLowerCase().replace(/ /g,'-').replace(/-+/g,'-').replace(/[,/()|]/g,'').replace('&amp;','and')+'.html" >'+product1[x][1]+'</a>')}document.write('</div>')}
function createTopMenuIS(){section_url='industry-solutions/';for(i=0;i<ind_soln.length;i++){var str='<div class="navigation_submenu_set_indsol">'+'\n'+'<div class="navigation_submenu_img">'+'\n'+'<a href="'+index_url+section_url+ind_soln[i][1].toLowerCase().replace(/ /g,'-').replace(/-+/g,'-').replace(/[,/()|]/g,'').replace('&amp;','and')+'.html" > <img src="'+ind_soln[i][2]+'" alt ="'+ind_soln[i][1]+'"> </img></a></div>'+'\n</div>';document.write(str)}}
var siteurl='';
function fixIEPNG(el,bgimgdf,sizingMethod,type,offset){var objs=el;if(!objs)return;if($type(objs)!='array')objs=[objs];if(!sizingMethod)sizingMethod='crop';if(!offset)offset=0;var blankimg=siteurl+'images/blank.png';objs.each(function(obj){var bgimg=bgimgdf;if(obj.tagName=='IMG'){if(!bgimg)bgimg=obj.src;if(!(/\.png$/i).test(bgimg)||(/blank\.png$/i).test(bgimg))return;obj.setStyle('height',obj.offsetHeight);obj.setStyle('width',obj.offsetWidth);obj.src=blankimg;obj.setStyle('visibility','visible');obj.setStyle('filter',"progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+bgimg+", sizingMethod='"+sizingMethod+"')")}else{if(!bgimg)bgimg=obj.getStyle('backgroundImage');var pattern=new RegExp('url\s*[\(\"\']*([^\'\"\)]*)[\'\"\)]*');if((m=pattern.exec(bgimg)))bgimg=m[1];if(!(/\.png$/i).test(bgimg)||(/blank\.png$/i).test(bgimg))return;if(!type){obj.setStyle('background','none');if(obj.getStyle('position')!='absolute'&&obj.getStyle('position')!='relative'){obj.setStyle('position','relative')}var childnodes=obj.childNodes;for(var j=0;j<childnodes.length;j++){if((child=$(childnodes[j]))){if(child.getStyle('position')!='absolute'&&child.getStyle('position')!='relative'){child.setStyle('position','relative')}child.setStyle('z-index',2)}}var bgdiv=new Element('IMG');bgdiv.src=blankimg;bgdiv.width=obj.offsetWidth-offset;bgdiv.height=obj.offsetHeight-offset;bgdiv.setStyles({'position':'absolute','top':0,'left':0});bgdiv.className='TransBG';bgdiv.setStyle('filter',"progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+bgimg+", sizingMethod='"+sizingMethod+"')");bgdiv.inject(obj,'top')}else{obj.setStyle('filter',"progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+bgimg+", sizingMethod='"+sizingMethod+"')")}}}.bind(this))}
window.addEvent('load',function(e){if(!$('ja-botsl'))return;var divs=$ES('.moduletable',$('ja-botsl'));var maxh=0;divs.each(function(el,i){maxh<el.getStyle('height').toInt()?maxh=el.getStyle('height').toInt():''});divs.each(function(el,i){el.setStyle('height',maxh)})});
switchFontSize=function(ckname,val){var bd=$E('BODY');switch(val){case'inc':if(CurrentFontSize+1<7){bd.removeClass('fs'+CurrentFontSize);CurrentFontSize++;bd.addClass('fs'+CurrentFontSize)}break;case'dec':if(CurrentFontSize-1>0){bd.removeClass('fs'+CurrentFontSize);CurrentFontSize--;bd.addClass('fs'+CurrentFontSize)}break;default:bd.removeClass('fs'+CurrentFontSize);CurrentFontSize=val;bd.addClass('fs'+CurrentFontSize)}Cookie.set(ckname,CurrentFontSize,{duration:365})}
