var menu1=new Array() //Business in Thailand
menu1[0]='<a href="http://www.siam-legal.com/Business-in-Thailand/thailand-company.php">&bull; Company Registration</a>'
menu1[1]='<a href="http://www.siam-legal.com/Business-in-Thailand/thailand-company-all-structures.php"> &nbsp;&nbsp;&nbsp;- All Structures</a>'
menu1[2]='<a href="http://www.siam-legal.com/Business-in-Thailand/thailand-limited-company.php"> &nbsp;&nbsp;&nbsp;- Limited Company</a>'
menu1[3]='<a href="http://www.siam-legal.com/Business-in-Thailand/thailand-partnership.php"> &nbsp;&nbsp;&nbsp;- Partnership</a>'
menu1[4]='<a href="http://www.siam-legal.com/Business-in-Thailand/thailand-representative-office.php"> &nbsp;&nbsp;&nbsp;- Representative office</a>'
menu1[5]='<a href="http://www.siam-legal.com/Business-in-Thailand/US-Thai Amity.php"> &nbsp;&nbsp;&nbsp;- US Amity</a>'
menu1[6]='<a href="http://www.siam-legal.com/Business-in-Thailand/thailand-set-up-an-association.php">&bull; Set up an association </a>'
menu1[7]='<a href="http://www.siam-legal.com/Business-in-Thailand/thailand-foundation.php">&bull; Establish a Thailand Foundation </a>'
menu1[8]='<a href="http://www.siam-legal.com/Business-in-Thailand/thailand-work-permit.php">&bull; Work Permit </a>'
menu1[9]='<a href="http://www.siam-legal.com/Business-in-Thailand/thailand-boi-services.php">&bull; BOI Service</a>'
menu1[10]='<a href="http://www.siam-legal.com/Business-in-Thailand/thailand-offshore-structure.php"> &bull;Why Offshore?</a>'
menu1[11]='<a href="http://www.siam-legal.com/Business-in-Thailand/thailand-accounting.php"> &bull; Accounting & Tax</a>'


var menu2=new Array()//Legal Services
menu2[0]='<a href="http://www.siam-legal.com/realestate/">&bull; Real estate in Thailand</a>'
menu2[1]='<a href="http://www.siam-legal.com/legal_services/thailand-prenuptial-agreement.php"> &bull; Prenuptial Agreement</a>'
menu2[2]='<a href="http://www.siam-legal.com//Thailand_Service/thailand-marriage-laws.php"> &bull; Marriage Registration</a>'
menu2[3]='<a href="http://www.siam-legal.com/legal_services/thailand-divorce.php">&bull; Divorce</a>'
menu2[4]='<a href="#">&bull; Litigation </a>'
menu2[5]='<a href="http://www.siam-legal.com/legal_services/intellectual-property-thailand.php">&bull; Intellectual Property</a>'
menu2[6]='<a href="http://www.siam-legal.com/legal_services/thailand-will.php"> &bull; Will</a>'
menu2[7]='<a href="http://www.siam-legal.com/legal_services/thailand-adoption.php">&bull; Adoption</a>'


var menu3=new Array() //Thailand Visa
menu3[0]='<a href="http://www.siam-legal.com/Thailand_Service/thailand-retirement.php"> &bull; Retirement Visa</a>'
menu3[1]='<a href="http://www.siam-legal.com/Thailand_Service/inter-country-adoption-in-thailand.php"> &bull; Inter-Country Adoption in Thailand</a>'
menu3[2]='<a href="http://www.siam-legal.com/Thailand_Service/thailand-one-year-visa.php"> &bull; One Year Visa</a>'
menu3[3]='<a href="http://www.siam-legal.com/Thailand_Service/thailand-marriage.php">&bull; Marriage in Thai</a>'

var menu4=new Array()//USA Visa
menu4[0]='<a href="http://www.siam-legal.com/US_Visa/k1-adjustment-status.php"> &bull; Adjustment of Status</a>'
menu4[1]='<a href="http://www.siam-legal.com/US_Visa/us-visa-tourist.php"> &bull; Tourist Visa</a>'
menu4[2]='<a href="http://www.siam-legal.com/US_Visa/us-visa-business.php"> &bull; Business Visa</a>'
menu4[3]='<a href="http://www.siam-legal.com/US_Visa/k1-visa-thailand.php">&bull; K-1 Fiance Visa</a>'
menu4[4]='<a href="http://www.siam-legal.com/US_Visa/k3-marriage-thailand.php">&bull; K-3 Marriage Visa</a>'

var menu5=new Array()//Ek Visa
menu5[0]='<a href="http://www.siam-legal.com/UK_Visa/uk-visa-visitor.php"> &bull; Visitor Visa</a>'
menu5[1]='<a href="http://www.siam-legal.com/UK_Visa/uk-visa-fiance.php"> &bull; Fiance / UK Fiance Visa</a>'
menu5[2]='<a href="http://www.siam-legal.com/UK_Visa/uk-visa-unmarried-partners.php"> &bull; Unmarried Partners</a>'
menu5[3]='<a href="http://www.siam-legal.com/UK_Visa/uk-visa-spouse.php"> &bull; Spouses Partners</a>'
menu5[4]='<a href="http://www.siam-legal.com/UK_Visa/uk-visa-business.php">&bull; Business Visa</a>'
menu5[5]='<a href="http://www.siam-legal.com/UK_Visa/uk-visa-student.php"> &bull; Student Visa</a>' 
menu5[6]='<a href="http://www.siam-legal.com/UK_Visa/uk-visa-family.php">&bull; Family Members Visa</a>'
menu5[7]='<a href="http://www.siam-legal.com/UK_Visa/uk-visa-retirement.php"> &bull; Retirement Visa</a>'
menu5[8]='<a href="http://www.siam-legal.com/FAQ/thailand-legal-faq.php"> &bull; FAQ</a>'

var menu6=new Array()//Properties Services
menu6[0]='<a href="http://www.siam-legal.com/realestate/">&bull; Real estate in Thailand</a>'
menu6[1]='<a href="http://www.siam-legal.com/Properties-Services/property-legal-service-package.php"> &bull; Property Package</a>'
menu6[2]='<a href="http://www.siam-legal.com/Properties-Services/thailand-pre-construction-investments.php"> &bull; Pre-construction Investment</a>'
menu6[3]='<a href="http://www.siam-legal.com/Properties-Services/thailand-buy-land.php"> &bull; Buy Land</a>'
menu6[4]='<a href="http://www.siam-legal.com/Properties-Services/thailand-buy-condo.php"> &bull; Buy Condo</a>'
menu6[5]='<a href="http://www.siam-legal.com/Properties-Services/thailand-property-finance.php"> &bull; Foreigner Financing</a>'
menu6[6]='<a href="http://www.siam-legal.com/Properties-Services/thailand-property-tax.php"> &bull; Tax</a>'
menu6[7]='<a href="http://www.siam-legal.com/FAQ/thailand-property-questions.php">&bull; FAQ</a>'

var menu15=new Array()//Litigation
menu15[0]='<a href="http://www.siam-legal.com/litigation/adoption-in-thailand.php">&bull; Adoption in Thailand</a>'
menu15[1]='<a href="http://www.siam-legal.com/litigation/criminal-defence-drug-offences-in-thailand.php"> &bull; Criminal Defence - Drug offences in Thailand</a>'
menu15[2]='<a href="http://www.siam-legal.com/litigation/debt-recovery-in-thailand.php"> &bull; Debt Recovery in Thailand</a>'
menu15[3]='<a href="http://www.siam-legal.com/litigation/divorce-in-thailand.php"> &bull; Divorce in Thailand</a>'
menu15[4]='<a href="http://www.siam-legal.com/litigation/employment-in-thailand.php"> &bull; Employment Disputes in Thailand</a>'
menu15[5]='<a href="http://www.siam-legal.com/litigation/anti-money-laundering-law-in-thailand.php"> &bull; Anti-Money Laundering Law in Thailand</a>'
menu15[6]='<a href="http://www.siam-legal.com/litigation/extradition-from-thailand.php"> &bull; Extradition From Thailand</a>'
menu15[7]='<a href="http://www.siam-legal.com/litigation/ip-disputes-in-thailand.php">&bull; Intellectual Property Disputes in Thailand</a>'
menu15[8]='<a href="http://www.siam-legal.com/litigation/medical-malpractice-in-thailand.php"> &bull; Medical Malpractice in Thailand</a>'
menu15[9]='<a href="http://www.siam-legal.com/litigation/personal-injury-claims-in-thailand.php"> &bull; Personal Injury Claims in Thailand</a>'
menu15[10]='<a href="http://www.siam-legal.com/litigation/trade-disputes-in-thailand.php">&bull; Trade Disputes and Litigation in Thailand</a>'

var menu7=new Array()//Ek Citizens
menu7[0]='<a href="http://www.siam-legal.com/UK-Citizens/thailand-tourist-visa-uk.php"> Tourist</a>'
menu7[1]='<a href="http://www.siam-legal.com/UK-Citizens/thailand-Non-immigrant-visa-uk.php"> Non-Immigrant Visa</a>'
menu7[2]='<a href="http://www.siam-legal.com/UK-Citizens/thailand-one-year-visa-uk.php"> One Year Non-Immigrant</a>'
menu7[3]='<a href="http://www.siam-legal.com/UK-Citizens/thailand-business-visa-uk.php"> Business</a>'
menu7[4]='<a href="http://www.siam-legal.com/UK-Citizens/thailand-marriaget-visa-uk.php"> Marriage</a>'
menu7[5]='<a href="http://www.siam-legal.com/UK-Citizens/thailand-retirement-visa-uk.php"> Retirement</a>'
menu7[6]='<a href="http://www.siam-legal.com/UK-Citizens/thailand-education-visa-uk.php"> Education</a>'
menu7[7]='<a href="http://www.siam-legal.com/Foreign-Citizens/thailand-permanent-residence.php"> Permanent Residence</a>'

var menu8=new Array()//US Citizens
menu8[0]='<a href="http://www.siam-legal.com/US-Citizens/thailand-tourist-visa-us.php"> Tourist</a>'
menu8[1]='<a href="http://www.siam-legal.com/US-Citizens/thailand-Non-immigrant-visa-us.php"> Non-Immigrant Visa</a>'
menu8[2]='<a href="http://www.siam-legal.com/US-Citizens/thailand-one-year-visa-us.php"> One Year Non-Immigrant</a>'
menu8[3]='<a href="http://www.siam-legal.com/US-Citizens/thailand-business-visa-us.php"> Business</a>'
menu8[4]='<a href="http://www.siam-legal.com/US-Citizens/thailand-marriage-visa-us.php"> Marriage</a>'
menu8[5]='<a href="http://www.siam-legal.com/US-Citizens/thailand-retirement-visa-us.php"> Retirement</a>'
menu8[6]='<a href="http://www.siam-legal.com/US-Citizens/thailand-education-visa-us.php"> Education</a>'
menu8[7]='<a href="http://www.siam-legal.com/Foreign-Citizens/thailand-permanent-residence.php"> Permanent Residence</a>'

var menu9=new Array()//Au
menu9[0]='<a href="http://www.siam-legal.com/Australian-Citizens/thailand-tourist-visa-australian.php"> Tourist</a>'
menu9[1]='<a href="http://www.siam-legal.com/Australian-Citizens/thailand-Non-immigrant-visa-australian.php"> Non-Immigrant Visa</a>'
menu9[2]='<a href="http://www.siam-legal.com/Australian-Citizens/thailand-one-year-visa-australian.php"> One Year Non-Immigrant</a>'
menu9[3]='<a href="http://www.siam-legal.com/Australian-Citizens/thailand-business-visa-australian.php"> Business</a>'
menu9[4]='<a href="http://www.siam-legal.com/Australian-Citizens/thailand-marriage-visa-australian.php"> Marriage</a>'
menu9[5]='<a href="http://www.siam-legal.com/Australian-Citizens/thailand-retirement-visa-australian.php"> Retirement</a>'
menu9[6]='<a href="http://www.siam-legal.com/Australian-Citizens/thailand-education-visa-australian.php"> Education</a>'
menu9[7]='<a href="http://www.siam-legal.com/Foreign-Citizens/thailand-permanent-residence.php"> Permanent Residence</a>'

var menu10=new Array()//Sw
menu10[0]='<a href="http://www.siam-legal.com/swiss-Citizens/thailand-tourist-visum-swiss.php"> Tourist</a>'
menu10[1]='<a href="http://www.siam-legal.com/swiss-Citizens/thailand-Non-immigrant-visum-swiss.php"> Non-Immigrant Visa</a>'
menu10[2]='<a href="http://www.siam-legal.com/swiss-Citizens/swiss-one-year-visa-thailand.php"> One Year Non-Immigrant</a>'
menu10[3]='<a href="http://www.siam-legal.com/swiss-Citizens/thailand-marriage-visum-swiss.php"> Marriage</a>'
menu10[4]='<a href="http://www.siam-legal.com/swiss-Citizens/thailand-retirement-visa-swiss.php"> Retirement</a>'
menu10[5]='<a href="http://www.siam-legal.com/swiss-Citizens/thailand-education-visum-swiss.php"> Education</a>'

var menu11=new Array()//Gm
menu11[0]='<a href="http://www.siam-legal.com/German-Citizens/thailand-tourist-visum-deutsch.php"> Tourist</a>'
menu11[1]='<a href="http://www.siam-legal.com/German-Citizens/thailand-Non-immigrant-visum-deutsch.php"> Non-Immigrant Visa</a>'
menu11[2]='<a href="http://www.siam-legal.com/German-Citizens/thailand-one-year-visum-deutsch.php"> One Year Non-Immigrant</a>'
menu11[3]='<a href="http://www.siam-legal.com/German-Citizens/thailand-marriage-visum-deutsch.php"> Marriage</a>'
menu11[4]='<a href="http://www.siam-legal.com/German-Citizens/thailand-retirement-visa-deutsch.php"> Retirement</a>'
menu11[5]='<a href="http://www.siam-legal.com/German-Citizens/thailand-education-visum-deutsch.php"> Education</a>'

var menu12=new Array()//Fr
menu12[0]='<a href="http://www.siam-legal.com/Foreign-Citizens/thailand-tourist-visa-foreign.php"> Tourist</a>'
menu12[1]='<a href="http://www.siam-legal.com/Foreign-Citizens/thailand-Non-immigrant-visa-foreign.php"> Non-Immigrant Visa</a>'
menu12[2]='<a href="http://www.siam-legal.com/Foreign-Citizens/thailand-one-year-visa-foreign.php"> One Year Non-Immigrant</a>'
menu12[3]='<a href="http://www.siam-legal.com/Foreign-Citizens/thailand-business-visa-foreign.php"> Business</a>'
menu12[4]='<a href="http://www.siam-legal.com/Foreign-Citizens/thailand-marriage-visa-foreign.php"> Marriage</a>'
menu12[5]='<a href="http://www.siam-legal.com/Foreign-Citizens/thailand-retirement-visa-foreign.php"> Retirement</a>'
menu12[6]='<a href="http://www.siam-legal.com/Foreign-Citizens/thailand-education-visa-foreign.php"> Education</a>'
menu12[7]='<a href="http://www.siam-legal.com/Foreign-Citizens/thailand-permanent-residence.php"> Permanent Residence</a>'

var menu13=new Array()//EU Visa
menu13[0]='<a href="http://www.siam-legal.com/EU-Visa/thailand-tourist-visa-eu.php"> Tourist</a>'
menu13[1]='<a href="http://www.siam-legal.com/EU-Visa/thailand-Non-immigrant-visa-eu.php"> Non-Immigrant Visa</a>'
menu13[2]='<a href="http://www.siam-legal.com/EU-Visa/thailand-one-year-visa-eu.php"> One Year Non-Immigrant</a>'
menu13[3]='<a href="http://www.siam-legal.com/EU-Visa/thailand-business-visa-eu.php"> Business</a>'
menu13[4]='<a href="http://www.siam-legal.com/EU-Visa/thailand-marriage-visa-eu.php"> Marriage</a>'
menu13[5]='<a href="http://www.siam-legal.com/EU-Visa/thailand-retirement-visa-eu.php"> Retirement</a>'
menu13[6]='<a href="http://www.siam-legal.com/EU-Visa/thailand-education-visa-eu.php"> Education</a>'
menu13[7]='<a href="http://www.siam-legal.com/Foreign-Citizens/thailand-permanent-residence.php"> Permanent Residence</a>'

var menu14=new Array()//EU Visa
menu14[0]='<a href="http://www.siam-legal.com/foreign-visas/australia-visitor-visa.php"> &bull; Australia</a>'
menu14[1]='<a href="http://www.siam-legal.com/foreign-visas/foreign-canada-visitor-visa.php"> &bull; Canada</a>'
menu14[2]='<a href="http://www.siam-legal.com/foreign-visas/foreign-german-tourist-visa.php"> &bull; Germany</a>'
menu14[3]='<a href="http://www.siam-legal.com/foreign-visas/foreign-french-tourist-visa.php"> &bull; France</a>'
menu14[4]='<a href="http://www.siam-legal.com/foreign-visas/foreign-italian-tourist-visa.php"> &bull; Italy</a>'
menu14[5]='<a href="http://www.siam-legal.com/foreign-visas/foreign-spanish-tourist-visa.php"> &bull; Spain</a>'
menu14[6]='<a href="#"> &bull; Others</a>'



var disappeardelay=600  //menu disappear speed onMouseout (in miliseconds)
var horizontaloffset=0 //horizontal offset of menu from default location. (0-5 is a good value)

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width: 160px" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x-obj.offsetWidth < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move menu up?
edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either? (position at top of viewable window then)
edgeoffset=dropmenuobj.y
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+horizontaloffset+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}
