<!--
var CIS_TICKER_CONTENT=[
'2012-02-03 17:00:34, United Kingdom:<br /><a href=\"http://www.enterpriseeurope.se/4.62efe22412f41132d4180001481.html?url=2045606951%2Feen_public%2FTV%2FviewProfileTV.asp%3Ftype%3DOFFER%26ref%3D12%2BGB%2B47P8%2B3O0I%26css%3D&sv.url=12.62efe22412f41132d4180001486\" target=\"_blank\">Unique and world leading capabilities in natural product sourcing, genomics and target-based drug screening</a>|', 
'2012-02-03 16:37:37, Spain:<br /><a href=\"http://www.enterpriseeurope.se/4.62efe22412f41132d4180001481.html?url=2045606951%2Feen_public%2FTV%2FviewProfileTV.asp%3Ftype%3DOFFER%26ref%3D12%2BES%2B28G2%2B3NXI%26css%3D&sv.url=12.62efe22412f41132d4180001486\" target=\"_blank\">Nanostructured strontium titanate (STO) surfaces self-organized as three-dimensional islands or rings for heterogeneous integration of III-V semiconductors on Si substrate</a>|', 
'2012-02-03 16:32:23, Italy:<br /><a href=\"http://www.enterpriseeurope.se/4.62efe22412f41132d4180001481.html?url=2045606951%2Feen_public%2FTV%2FviewProfileTV.asp%3Ftype%3DOFFER%26ref%3D11%2BIT%2B52T6%2B3KYQ%26css%3D&sv.url=12.62efe22412f41132d4180001486\" target=\"_blank\">Nanofluidic devices for biomedical application</a>|', 
'2012-02-03 16:20:01, Hungary:<br /><a href=\"http://www.enterpriseeurope.se/4.62efe22412f41132d4180001481.html?url=2045606951%2Feen_public%2FTV%2FviewProfileTV.asp%3Ftype%3DOFFER%26ref%3D12%2BHU%2B5010%2B3O0S%26css%3D&sv.url=12.62efe22412f41132d4180001486\" target=\"_blank\">High-tech wireless sensor network for multi-point measurement applications (e.g. precision agriculture) with tight integration of Apple iOS devices</a>|', 
'2012-02-03 16:12:29, Spain:<br /><a href=\"http://www.enterpriseeurope.se/4.62efe22412f41132d4180001481.html?url=2045606951%2Feen_public%2FTV%2FviewProfileTV.asp%3Ftype%3DOFFER%26ref%3D12%2BES%2B28G2%2B3O0G%26css%3D&sv.url=12.62efe22412f41132d4180001486\" target=\"_blank\">Ultrasonic generator with 10 times higher flow rate</a>|', 
'2012-02-02 17:08:34, Poland:<br /><a href=\"http://www.enterpriseeurope.se/4.62efe22412f41132d4180001481.html?url=2045606951%2Feen_public%2FTV%2FviewProfileTV.asp%3Ftype%3DOFFER%26ref%3D11%2BPL%2B62AQ%2B3NOC%26css%3D&sv.url=12.62efe22412f41132d4180001486\" target=\"_blank\">Technology line for curd cheese production</a>|', 
'2012-02-02 16:57:34, Poland:<br /><a href=\"http://www.enterpriseeurope.se/4.62efe22412f41132d4180001481.html?url=2045606951%2Feen_public%2FTV%2FviewProfileTV.asp%3Ftype%3DREQUEST%26ref%3D12%2BPL%2B62AP%2B3NYM%26css%3D&sv.url=12.62efe22412f41132d4180001486\" target=\"_blank\">Tunnel furnace with forced convection for reflow soldering.</a>|', 
'2012-02-02 16:28:50, Germany:<br /><a href=\"http://www.enterpriseeurope.se/4.62efe22412f41132d4180001481.html?url=2045606951%2Feen_public%2FTV%2FviewProfileTV.asp%3Ftype%3DOFFER%26ref%3D11%2BDE%2B1377%2B3NBM%26css%3D&sv.url=12.62efe22412f41132d4180001486\" target=\"_blank\">An osmotic cartridge for intraoral drug delivery</a>|', 
'2012-02-02 16:24:55, Latvia:<br /><a href=\"http://www.enterpriseeurope.se/4.62efe22412f41132d4180001481.html?url=2045606951%2Feen_public%2FTV%2FviewProfileTV.asp%3Ftype%3DOFFER%26ref%3D11%2BLV%2B58AD%2B3NQX%26css%3D&sv.url=12.62efe22412f41132d4180001486\" target=\"_blank\">Advanced, cost-effective, precise and fast time interval measurement technology.</a>|', 
'2012-02-02 16:20:12, Estonia:<br /><a href=\"http://www.enterpriseeurope.se/4.62efe22412f41132d4180001481.html?url=2045606951%2Feen_public%2FTV%2FviewProfileTV.asp%3Ftype%3DREQUEST%26ref%3D12%2BEE%2B21C0%2B3O0O%26css%3D&sv.url=12.62efe22412f41132d4180001486\" target=\"_blank\">Garlic powder production equipment.</a>|', 
'2012-02-02 16:07:55, Netherlands:<br /><a href=\"http://www.enterpriseeurope.se/4.62efe22412f41132d4180001481.html?url=2045606951%2Feen_public%2FTV%2FviewProfileTV.asp%3Ftype%3DOFFER%26ref%3D11%2BNL%2B60FI%2B3NLV%26css%3D&sv.url=12.62efe22412f41132d4180001486\" target=\"_blank\">Water lubricated pump shaft seal solutions.</a>|', 
'2012-02-02 15:16:41, Poland:<br /><a href=\"http://www.enterpriseeurope.se/4.62efe22412f41132d4180001481.html?url=2045606951%2Feen_public%2FTV%2FviewProfileTV.asp%3Ftype%3DREQUEST%26ref%3D11%2BPL%2B61AJ%2B3NR8%26css%3D&sv.url=12.62efe22412f41132d4180001486\" target=\"_blank\">A technology of high pressure packaging of meat</a>|', 
'2012-02-02 15:07:09, Netherlands:<br /><a href=\"http://www.enterpriseeurope.se/4.62efe22412f41132d4180001481.html?url=2045606951%2Feen_public%2FTV%2FviewProfileTV.asp%3Ftype%3DOFFER%26ref%3D11%2BNL%2B60AH%2B3KDK%26css%3D&sv.url=12.62efe22412f41132d4180001486\" target=\"_blank\">Technology for automated design and robotic production of reinforced rubber products</a>|', 
'2012-02-02 14:52:53, Turkey:<br /><a href=\"http://www.enterpriseeurope.se/4.62efe22412f41132d4180001481.html?url=2045606951%2Feen_public%2FTV%2FviewProfileTV.asp%3Ftype%3DOFFER%26ref%3D12%2BTR%2B99PB%2B3O03%26css%3D&sv.url=12.62efe22412f41132d4180001486\" target=\"_blank\">Automatic Formalin Dispensing System for Laboratories</a>|', 
'2012-02-02 14:39:59, Ireland:<br /><a href=\"http://www.enterpriseeurope.se/4.62efe22412f41132d4180001481.html?url=2045606951%2Feen_public%2FTV%2FviewProfileTV.asp%3Ftype%3DOFFER%26ref%3D12%2BIE%2B51S6%2B3O01%26css%3D&sv.url=12.62efe22412f41132d4180001486\" target=\"_blank\">Lighting system to preserve properties of harvested fruit, vegetables and plant products</a>|', 
'2012-01-31, Spain:<br /><a href=\"http://www.enterpriseeurope.se/4.62efe22412f41132d4180001481.html?url=2045606951%2Feen_public%2FTV%2FviewProfileTV.asp%3Ftype%3DBCP%26ref%3D20120131010%26css%3D&sv.url=12.62efe22412f41132d4180001486\" target=\"_blank\">Catalan company (Spanish), with more than 20 years of experience, specialized in cultural heritage restoration, investigation and consultancy services and archaeological works (following the principals of the Charter of Krakow 2000). The company is looking for a partner with a similar profile for a joint venture or a reciprocal production on the sector. The company also offers its expertise in the Spanish market to become a trade intermediary or work as a subcontractor.   The partners should be from France, Austria, Belgium, Germany, Greece, Ireland, Italy, Portugal, United kingdom, Switzerland, Turkey, Russia, and Bosnia and Herzegovina.</a>|', 
'2012-01-31, Spain:<br /><a href=\"http://www.enterpriseeurope.se/4.62efe22412f41132d4180001481.html?url=2045606951%2Feen_public%2FTV%2FviewProfileTV.asp%3Ftype%3DBCP%26ref%3D20120131009%26css%3D&sv.url=12.62efe22412f41132d4180001486\" target=\"_blank\">Catalan company (Spain) with 10 years of experience specialized in manufacturing and commercialising high quality cosmetic products aimed to professionals of the sector. The company offers a wide range of products for the beauty professional, with treatments for face and body. The company is looking for distributors for their high quality, professional use cosmetic lines in Germany, France, and Italy.</a>|', 
'2012-01-29, Croatia:<br /><a href=\"http://www.enterpriseeurope.se/4.62efe22412f41132d4180001481.html?url=2045606951%2Feen_public%2FTV%2FviewProfileTV.asp%3Ftype%3DBCP%26ref%3D20120129005%26css%3D&sv.url=12.62efe22412f41132d4180001486\" target=\"_blank\">Croatian company, specialized in accomodation services (hostel), is looking for and offering trade intermediary services as well as subcontracting.</a>|', 
'2012-01-29, Croatia:<br /><a href=\"http://www.enterpriseeurope.se/4.62efe22412f41132d4180001481.html?url=2045606951%2Feen_public%2FTV%2FviewProfileTV.asp%3Ftype%3DBCP%26ref%3D20120129004%26css%3D&sv.url=12.62efe22412f41132d4180001486\" target=\"_blank\">Croatian company, specialized in manufacturing of prefabricated houses from ecological (organic) material (turnkey system) is looking for and offering trade intermediary partnership.</a>|', 
'2012-01-29, Croatia:<br /><a href=\"http://www.enterpriseeurope.se/4.62efe22412f41132d4180001481.html?url=2045606951%2Feen_public%2FTV%2FviewProfileTV.asp%3Ftype%3DBCP%26ref%3D20120129002%26css%3D&sv.url=12.62efe22412f41132d4180001486\" target=\"_blank\">Croatian company, specialized in organization of cruisings among the Croatian islands, is looking for trade intermediary partners.</a>|'
];

/*
* Ticker START
* author: Stefan Lingler, sl@pixelwings.com 2007/03/14
*/
function CIS_TICKER(config) {

	window.CIS_TICKER_CNT=window.CIS_TICKER_CNT?window.CIS_TICKER_CNT:0;
	window.CIS_TICKER_CNT++;
	
	var self=this;
	self.config=config;
	self.timer=false;
	self.message_key=0;
	self.id=window.CIS_TICKER_CNT;
	self.count=0;
	self.container_width=0;
	self.pause = true;
	
	self.setContainer=function() {
		var tag='';
		tag+='<div id="CIS_TICKER_'+self.id+'_CONT" style="position:relative;top:'+self.config.top+'px;left:'+self.config.left+'px;width:'+self.config.target_width+'px;height:'+self.config.target_height+'px;visibility:visible;overflow:hidden;"><\/div>';
		return tag;
	}
	self.init=function() {
		document.getElementById(self.config.target).innerHTML=this.setContainer();
		self.container=document.getElementById('CIS_TICKER_'+self.id+'_CONT');
		
		if (self.config.content.length>0) {
			switch (self.config.prop) {
			case 'left':
				var w = 0;
  			do {
  				self.addContainer();
  				var div=document.getElementById('CIS_TICKER_'+self.id+'_CONT_'+self.count);
  				w += div.offsetWidth+self.config.space;
  			} while ( w < self.config.target_width );
  			break;
			case 'top':
				var h = 0;
  			do {
  				self.addContainer();
  				var div=document.getElementById('CIS_TICKER_'+self.id+'_CONT_'+self.count);
  				h += div.offsetHeight+self.config.space;
  			} while ( h < self.config.target_height );
				break;
			}
						
			self.speed=(100-self.config.speed)?(100-self.config.speed):1;
			self.startScroll();
			
			
		}
	}
	self.startScroll=function() {
		if (self.pause) clearInterval(self.pause);
  	if (self.timer) clearInterval(self.timer);
		if (self.config.content.length>1 || self.message_key==0) self.timer=setInterval(self.scroll,self.speed);
	}
	self.stopScroll=function() {
  	clearInterval(self.timer);
		clearInterval(self.pause);
	}
	self.addContainer=function() {
		
		self.count++;
		var left=0;
		var top=0;
		if ( self.count > 1 ) 
		switch (self.config.prop) {
			case 'left':
				var div=document.getElementById('CIS_TICKER_'+self.id+'_CONT_'+(self.count-1) );
				left = div.offsetWidth+div.offsetLeft+self.config.space; 
				/*var left=self.config.width;
				if (self.count>1) {
    			left+=self.config.space;
  			}*/
  			break;
			case 'top':
				var div=document.getElementById('CIS_TICKER_'+self.id+'_CONT_'+(self.count-1) );
				top = div.offsetHeight+div.offsetTop+self.config.space; 
    		/*var top=self.config.height;
    		if (self.count>1) {
    			top+=self.config.space;
  			}*/
  			break;
		}
		var wrap=self.config.wrap?'normal':'nowrap';
		self.container.innerHTML+='<div onMouseOver="'+self.config.obj+'.stopScroll();" onMouseOut="'+self.config.obj+'.startScroll();" id="CIS_TICKER_'+self.id+'_CONT_'+self.count+'" style="position:absolute;border:0px solid;top:'+top+'px;left:'+left+'px;white-space:'+wrap+';width:'+self.config.wrap_at+'px;">'+self.getMessage()+'<\/div>';
	}
	self.remContainer=function() {
		self.container.removeChild(self.container.firstChild);
	}
	self.scroll=function() {
		var div=document.getElementById('CIS_TICKER_'+self.id+'_CONT_'+self.count);
		var div_width,div_left,div_height,div_top=0;
		switch (self.config.prop) {
			case 'left':
      		div_width=div.offsetWidth;
					div_left=div.offsetLeft;
  			break;
			case 'top':
      		div_height=div.offsetHeight;
					div_top=div.offsetTop;
  			break;
		}
		if (self.config.content.length>1) {
      		if (div_width+div_left==self.config.target_width-1) {
      			self.addContainer();
      		}
      		if (div_height+div_top+self.config.space==self.config.target_height-1) {
      			self.addContainer();
      		}
		}
		
		for (var i=self.count;i>0;i--) {
			var div=document.getElementById('CIS_TICKER_'+self.id+'_CONT_'+i);
  		if (div) {
  			switch (self.config.prop) {
    			case 'left':
						var position=div.offsetWidth+div.offsetLeft;
						if (position>0) {
  						if (div.offsetLeft==0) {
								self.stopScroll();
								div.style.left=div.offsetLeft-1+'px';
								self.pause = setInterval(self.startScroll,(self.config.pause*1000));
  						}
							else div.style.left=div.offsetLeft-1+'px';
						}
						else self.remContainer();
      			break;
    			case 'top':
						var position=div.offsetHeight+div.offsetTop;
						
        		if (position>0) {
							//alert(div.id+' : '+div.offsetTop)
  						if (div.offsetTop==0) {
								self.stopScroll();
								div.style.top=div.offsetTop-1+'px';
								self.pause = setInterval(self.startScroll,(self.config.pause*1000));
  						}
							else div.style.top=div.offsetTop-1+'px';
						}
						else self.remContainer();
      			break;
    		}
			}
		}
	}
	self.getMessage=function() {
		if (self.config.content[self.message_key]==undefined) self.message_key=0;
		var content=self.config.content[self.message_key].split('|');
		var message=content[0];
  	self.message_key++;
		return message;
	}
	self.init();
}
/*
* Ticker STOP
*/
//-->

