// JavaScript Document


/*

Random Image Link Script

By Website Abstraction (http://www.wsabstract.com)

and Java-scripts.net (http://www.java-scripts.net)

*/



function random_imglink(){

  var myimages=new Array()

  //specify random images below. You can have as many as you wish

  myimages[1]="images/banners/entrepreneurs_banner.jpg"

  myimages[2]="images/banners/investors_banner.jpg"

  myimages[3]="images/banners/offshore_banner.jpg"

  myimages[4]="images/banners/resources.jpg"

  myimages[5]="images/banners/ABIA_HomeBanner_Entrpreneurs.jpg"

  myimages[6]="images/banners/ABIA_HomeBanner_Investors.jpg"

  myimages[7]="images/banners/ABIA_HomeBanner_Resources.jpg"



  //specify corresponding links below

  var imagelinks=new Array()

  imagelinks[1]="http://www.investantiguabarbuda.org/abia/entrepreneurs"

  imagelinks[2]="http://www.investantiguabarbuda.org/abia/investors"

  imagelinks[3]="http://www.investantiguabarbuda.org/abia/offshore"

  imagelinks[4]="http://www.investantiguabarbuda.org/abia/resources"

  imagelinks[5]="http://www.investantiguabarbuda.org/abia/entrepreneurs"

  imagelinks[6]="http://www.investantiguabarbuda.org/abia/investors"

  imagelinks[7]="http://www.investantiguabarbuda.org/abia/resources"

  var ry=Math.floor(Math.random()*myimages.length)



  if (ry==0)

     ry=1

     document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" width=907 height=197 border=0></a>')

}





function random_imglink2(){

  var myimages=new Array()

  //specify random images below. You can have as many as you wish

  myimages[1]="../images/fastfacts/ff_image1.jpg"

  myimages[2]="../images/fastfacts/ff_image2.jpg"

  myimages[3]="../images/fastfacts/ff_image3.jpg"

  myimages[4]="../images/fastfacts/ff_image4.jpg"

  myimages[5]="../images/fastfacts/ff_image5.jpg"

  myimages[6]="../images/fastfacts/ff_image6.jpg"

  myimages[7]="../images/fastfacts/ff_image7.jpg"

  myimages[8]="../images/fastfacts/ff_image8.jpg"

  myimages[9]="../images/fastfacts/ff_image9.jpg"

  myimages[10]="../images/fastfacts/ff_image10.jpg"

  myimages[11]="../images/fastfacts/ff_image11.jpg"

  myimages[12]="../images/fastfacts/ff_image12.jpg"

  //specify corresponding links below

  var imagelinks=new Array()

  imagelinks[1]="http://www.investantiguabarbuda.org"

  imagelinks[2]="http://www.investantiguabarbuda.org/investors"

  imagelinks[3]="http://www.investantiguabarbuda.org"

  imagelinks[4]="http://www.investantiguabarbuda.org"

  imagelinks[5]="http://www.investantiguabarbuda.org"

  imagelinks[6]="http://www.investantiguabarbuda.org/investors"

  imagelinks[7]="http://www.investantiguabarbuda.org"

  imagelinks[8]="http://www.investantiguabarbuda.org"

  imagelinks[9]="http://www.investantiguabarbuda.org"

  imagelinks[10]="http://www.investantiguabarbuda.org/investors"

  imagelinks[11]="http://www.investantiguabarbuda.org"

  imagelinks[12]="http://www.investantiguabarbuda.org"


  var ry=Math.floor(Math.random()*myimages.length)



  if (ry==0)

     ry=1

     document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" width=227 height=84 border=0></a>')

}

function random_imglink3(){

  var myimages=new Array()

  //specify random images below. You can have as many as you wish

  myimages[1]="images/fastfacts/ff_image1.jpg"

  myimages[2]="images/fastfacts/ff_image2.jpg"

  myimages[3]="images/fastfacts/ff_image3.jpg"

  myimages[4]="images/fastfacts/ff_image4.jpg"

  myimages[5]="images/fastfacts/ff_image5.jpg"

  myimages[6]="images/fastfacts/ff_image6.jpg"

  myimages[7]="images/fastfacts/ff_image7.jpg"

  myimages[8]="images/fastfacts/ff_image8.jpg"

  myimages[9]="images/fastfacts/ff_image9.jpg"

  myimages[10]="images/fastfacts/ff_image10.jpg"

  myimages[11]="images/fastfacts/ff_image11.jpg"

  myimages[12]="images/fastfacts/ff_image12.jpg"

  //specify corresponding links below

  var imagelinks=new Array()

  imagelinks[1]="http://www.investantiguabarbuda.org"

  imagelinks[2]="http://www.investantiguabarbuda.org/investors"

  imagelinks[3]="http://www.investantiguabarbuda.org"

  imagelinks[4]="http://www.investantiguabarbuda.org"

  imagelinks[5]="http://www.investantiguabarbuda.org"

  imagelinks[6]="http://www.investantiguabarbuda.org/investors"

  imagelinks[7]="http://www.investantiguabarbuda.org"

  imagelinks[8]="http://www.investantiguabarbuda.org"

  imagelinks[9]="http://www.investantiguabarbuda.org"

  imagelinks[10]="http://www.investantiguabarbuda.org/investors"

  imagelinks[11]="http://www.investantiguabarbuda.org"

  imagelinks[12]="http://www.investantiguabarbuda.org"


  var ry=Math.floor(Math.random()*myimages.length)



  if (ry==0)

     ry=1

     document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" width=227 height=84 border=0></a>')

}


function random_text(){

  var myimages=new Array()

  //specify random images below. You can have as many as you wish

myimages[1]="Antigua and Barbuda is one of the few places in the world where natural beauty and a thriving business environment are combined in a mutually beneficial manner."
  
myimages[2]="Corporations registered and operating in Antigua and Barbuda benefit from a tax rate that is 39% less than that of the U.S. A. and 7.7% less than that of Canada."

myimages[3]="Under the Antigua and Barbuda Investment Authority Act, investors can access exemption or reduction in customs duties, income tax, reduction in property tax and stamp duty on non-citizens Land Holding License."

//myimages[3]="Under the Aid to Pioneer Industries Act, certain manufacturing companies doing business in Antigua and Barbuda may be granted exemption from corporation tax for a period of time and losses incurred during this period can be carried forward for a further period of time."
  
myimages[4]="Offshore services is one of the fastest growing industries in offering a stable political climate and a strong track record of confidentiality of information."
 
myimages[5]="Under the International Business Corporation Act 1982 and the Anti-Money Laundering Act 1996, a number of provisions were enacted to attract new businesses to Antigua and Barbuda and to comply with the requirements of the World Trade Organization."
  
myimages[6]="Favourable legislation has made Antigua and Barbuda one of the most enticing Caribbean jurisdictions in which to establish an international business corporation."

myimages[7]="Antigua and Barbuda will be sure to delight you with its sparkling shoreline, rich cultural events, 365 gorgeous beaches and our Caribbean hospitality. Visit <a href=http://www.antigua-barbuda.org target=_blank> www.anitgua-barbuda.org</a> and <a href=http://www.antiguahotels.org target=_blank>www.antiguahotels.org</a> for more information."

myimages[8]="Antigua and Barbuda has a wide variety of accommodations, from luxury resorts to smaller, more intimate hotels."

myimages[9]="<p>Visitors from many nations do not require visas to enter Antigua and Barbuda. Visit <a href=http://www.antigua-barbuda.com/travel_tourism/information/passport_visa.asp>www.antigua-barbuda.com/travel_tourism/information/passport_visa.asp</a>to determine whether a visa will be required.</p>"

myimages[10]="Antigua and Barbuda has one of the strongest economies in the Caribbean region."

myimages[11]="Antigua and Barbuda is classified by the United Nations as a high &#8220;human development&#8221; country."

myimages[12]="Antigua and Barbuda ranks as one of the leading countries for the ease of establishing a new business."

myimages[13]="<p><strong>Area of Antigua and Barbuda:</strong></p><ul><li><strong>total:</strong> 442.6 sq km (Antigua 280 sq km; Barbuda 161 sq km)</li><li><strong>land:</strong> 442.6 sq km </li><li><strong>water:</strong> 0 sq km</li><li><strong>note:</strong> includes Redonda, 1.6 sq km</li></ul><p><strong>Area comparative:</strong></p><ul><li>2.5 times the size of Washington, DC</li></ul>"

myimages[14]="<p><strong>Climate:</strong> tropical maritime; little seasonal temperature variation</p><p><strong>Terrain:</strong> mostly low-lying limestone and coral islands, with some higher volcanic areas</p>"

myimages[15]="<p><strong>Population:</strong>  84,522 (July 2008 est.)</p><p><strong>Age structure: </strong></p><ul><li>0-14 years: 27.2% (male 11,670/female 11,318)</li><li>15-64 years: 66.3% (male 26,138/female 29,859)</li><li>65 years and over: 6.6% (male 2,408/female 3,129) (2008 est.)</li></ul>"

myimages[16]=" <p><strong>Languages:</strong> English (official), local dialects</p>"

myimages[17]=" <p>The menu of offshore financial services products available in Antigua and Barbuda includes IBCs, offshore banks, gaming, international foundations, trusts, insurances and limited liability companies."

myimages[18]="Remote gaming operators can enhance the expansion of their operations as they can now advertise in the United Kingdom."

myimages[17]="Antigua and Barbuda is the only non-EU country, other than Tasmania, to have achieved white listing certification from the UK Department of Culture, Media and Sport."

myimages[17]="Antigua is ideal for Greenfield ecotourism projects with its vast tracts of undisturbed and lush vegetation suitable for customized rehabilitation facilities."

  //specify corresponding links below

  var imagelinks=new Array()

  imagelinks[1]="http://www.investantiguabarbuda.org"

  imagelinks[2]="http://www.investantiguabarbuda.org"

  imagelinks[3]="http://www.investantiguabarbuda.org"

  imagelinks[4]="http://www.investantiguabarbuda.org"

  imagelinks[5]="http://www.investantiguabarbuda.org"

  imagelinks[6]="http://www.investantiguabarbuda.org"

  imagelinks[7]="http://www.investantiguabarbuda.org"

  imagelinks[8]="http://www.investantiguabarbuda.org"

  imagelinks[9]="http://www.investantiguabarbuda.org"

  imagelinks[10]="http://www.investantiguabarbuda.org"

  imagelinks[11]="http://www.investantiguabarbuda.org"

  imagelinks[12]="http://www.investantiguabarbuda.org"


  var ry=Math.floor(Math.random()*myimages.length)



  if (ry==0)

     ry=1

     document.write(myimages[ry])

}


// Menubar preload. Pretty standard stuff.


function newImage(arg) {
     if (document.images) {
          rslt = new Image();
          rslt.src = arg;
          return rslt;
     }
}

function changeImages() {
     if (document.images && (preloadFlag == true)) {
          for (var i=0; i<changeImages.arguments.length; i+=2) {
               document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
          }
     }
}

var preloadFlag = false;
function preloadImages() {
     if (document.images) {
          logoover = newImage("/i/nulay/logohomeo.gif");
		  comingover = newImage("/i/nulay/glareon.gif");
          preloadFlag = true;
     }
}

// toggle visibility 
function hide(targetId)
{
target =document.getElementById(targetId);
target.style.display="none";	
}

function show(targetId)
{
target =document.getElementById(targetId);
target.style.display="block";
}

function toggle( targetId ){
  if (document.getElementById){
  		target = document.getElementById( targetId );
  			if (target.style.display == "none"){
  				target.style.display = "";
  			} else {
  				target.style.display = "none";
  			}
  	}
}


function on( targetId ){
  if (document.getElementById){
  		target = document.getElementById( targetId );
  				target.style.display = "visible";
  			}
}


function off( targetId ){
  if (document.getElementById){
  		target = document.getElementById( targetId );
  				target.style.display = "none";
		  	}
		}


