var sta_pf=new Array();sta_pf['E']='I';sta_pf['I']='E';sta_pf['S']='N';sta_pf['N']='S';sta_pf['F']='T';sta_pf['T']='F';sta_pf['J']='P';sta_pf['P']='J';sta_tn=sta_types_are.split(',');sta_info_text[3]+=sta_Compat(sta_res_var_nrc);function sta_Compat(sta_c_types){if(sta_c_types.length==4&&sta_c_types.indexOf('x')<0&&sta_combined_off==0){dcl="NOTE: Intertype compatibility only shows the compatibility between the psychological types of people. The compatibility between actual individuals however, consists of many different factors, including the intertype compatibility. The best compatibility does not necessarily imply mutual attraction.";dgr="*&nbsp;&nbsp;*&nbsp;&nbsp;*&nbsp;&nbsp;*<br>*&nbsp;&nbsp;*&nbsp;&nbsp;*<br>*&nbsp;&nbsp;*<br>*";r4st="*&nbsp;&nbsp;*&nbsp;&nbsp;*&nbsp;&nbsp;*&nbsp; - \"Relations of Duality\". The partners usually appear to be very different in every respect and yet have almost ungraspable similarity, as if they were the two opposite sides of the same coin. These relations can provide a complete psychological supplement and could easily be the most favourable and comfortable of all intertype relations.<br><br>";r3st="*&nbsp;&nbsp;*&nbsp;&nbsp;*&nbsp; - \"Identical Relations\". The partners usually appear to be very similar in every respect, having similar perceptions, views and often even tastes. These relations can offer the partners much deeper understanding of each other's hopes and intentions but may be of little help when the partners have to deal with the similar problems they have.<br><br>";r2st="*&nbsp;&nbsp;*&nbsp; - \"Relations of Activity\". The partners are naturally able to fire up and motivate each other into mutual activity, which with prolonged interaction may over-stimulate and drain the partners. These relations are usually an easy starter and could be very pleasant and fun, best suitable for short leisure breaks and undemanding relationships.<br><br>";r1st="*&nbsp; - \"Mirror Relations\". The partners can often amaze and surprise each other with an interesting and unexpectedly original way of thinking or dealing with things. However, the surprises can be as amazing as they can be bewildering. These relations can often help the partners to realise their creative potential, but not without the cost of a good argument.<br><br>";t1=sta_Rel(1,sta_c_types);t2=sta_c_types;t3=sta_Rel(3,sta_c_types);t4=sta_Rel(4,sta_c_types);c_types="<b>"+t1+"</b> - \""+sta_ExN(t1)+"\"<br><b>"+t2+"</b> - \""+sta_ExN(t2)+"\"<br><b>"+t3+"</b> - \""+sta_ExN(t3)+"\"<br><b>"+t4+"</b> - \""+sta_ExN(t4)+"\"";return MK_Tab(2,"<b><u>Compatibility</u></b> (marriage, family, friendship, partnership, etc.)",c_types,dgr,"",0,(r4st+r3st+r2st+r1st+dcl),"Types best suitable for <b>"+sta_c_types+"</b>","Degree of psychological comfort","")+'<br>';}else{return '';}}function sta_Rel(r,t){ta=t.split('');if(r==1){return sta_pf[ta[0]]+sta_pf[ta[1]]+sta_pf[ta[2]]+ta[3];}if(r==3){return ta[0]+sta_pf[ta[1]]+sta_pf[ta[2]]+sta_pf[ta[3]];}if(r==4){return sta_pf[ta[0]]+ta[1]+ta[2]+sta_pf[ta[3]];}}function sta_ExN(tx){tn_r='';for(h=0;h<16;h++){if(sta_tn[h].substring(3,7)==tx){tn_r=sta_tn[h].split('"')[1];break;}}return tn_r;}
