/**
 * @author martin.dilg
 */

function VideoObject(previewImage,flvSrc,wmvSrc,aspectRatio,type,elementID){
		
		this.previewImage = previewImage;
		this.wmvSrc = wmvSrc;
		this.flvSrc = flvSrc;
		this.aspectRatio =  aspectRatio;
		this.type = type;
		this.elementID = elementID;
		
	}
	
function getParameter(param){
		
		var url = document.location.href;
		
		if( url.indexOf(param)!= -1){
			
			var start = url.indexOf(param) + 8;
			var value = url.substring(start,url.length);
			
			return value;
			
		}else{
			
			return -1;
			
		}
		
	}
