var countries = new Array();

countries[0] = ' : none';
countries[1] = 'Cyprus: cy.omega-telecom.com';
countries[2] = 'International: www.omega-telecom.com';
 

function drawCountriesMenu(){
	 
	
	document.write('<select name="country" id="country" onChange="javascript:if(this.value!=\'none\'){window.location=\'https://\'+this.value;}"></select>');
	for (x = 0; x < countries.length; x++){
		
		var str = countries[x];
		str     = str.split(":");
	
		var elSel = document.getElementById('country');
		var elOptNew = document.createElement('option');
		
		var url = new String(str[1]);
	 
		
		elOptNew.text = str[0];
		elOptNew.value = url.replace(/^\s+/, '');
		elSel.add(elOptNew, null);
	}
	
	
}



function FlashFix(url,WidthAndHeight,bgcolor,transparent,altimg,alt,flashelem)
	{
		sFlash =  '<object type="application/x-shockwave-flash" data=' + url + WidthAndHeight + '>';
		sFlash += '<PARAM NAME=movie VALUE=' + url + '/>';
		if( transparent && bgcolor.length == 0 ){
			sFlash += '<PARAM NAME=wmode VALUE=transparent>'		
		} else {
			sFlash += '<PARAM NAME=bgcolor VALUE="'+bgcolor+'">'
		}
		sFlash += '<img src=' + altimg + WidthAndHeight + 'alt=' + alt + '/>';
		sFlash += '</object>';
		elem = document.getElementById(flashelem);
		elem.innerHTML = sFlash;
	}


