/* SCRIPTS */

// pre-load images
function pageInit(){
	loadImgs();
}
// function to load main rollover images
var loaded = 0;

function loadImgs(){
	var n1Imgs    = new Array();
		n1Imgs[0] = 'home';
		n1Imgs[1] = 'strategy';
		n1Imgs[2] = 'funds';
		n1Imgs[3] = 'portfolio';
		n1Imgs[4] = 'faqs';
		n1Imgs[5] = 'team';
		n1Imgs[6] = 'contact';
		
	var loadedImgs = new Array();
	// declare n1 Imgs
	for (i=0; i < n1Imgs.length; i++ ) {
	  	loadedImgs[i] = new Image();
	  	loadedImgs[i].src = '/images/n1_'+n1Imgs[i]+'_on.gif';
	}
	// set variable
	loaded = 1;
}
// function to do rollovers
function roll(img,state){
	if (loaded > 0){
		document.images[img].src = state ? '/images/'+img+'_on.gif':'/images/'+img+'_off.gif';
	}
}

// function to open map popups
function openMap(img){
	var url = "../contact_zoom.htm"+img;
	var wOpts = 'height=680,width=836,directories=no,location=no,menubar=no,resizable=yes,scrollbars=yes,toolbar=no,screenX=50,screenY=50,left=50,top=50';
	var pWin = window.open(url,'mapWin',wOpts);
	if (window.focus) pWin.focus();
}

// utility function to set style properties
function setIdProperty(id, property, value){
	if (document.all){
		document.all[id].style[property] = value;
   	} else if (document.layers){
        document[id][property] = value;
	} else if (document.getElementById){
        var styleObject = document.getElementById(id);
        if (styleObject != null){
            styleObject = styleObject.style;
            styleObject[property] = value;
		}
	}
}



function pickTeam(member){
	// replace image
	document.images['pic'].src = '/images/pic_team_'+member+'.jpg';
	// turn off color/bolding for all links
	for (i=0; i<teamArray.length; i++){
		setIdProperty(teamArray[i], 'color', '#778a90');
		setIdProperty(teamArray[i], 'fontWeight', 'normal');
	}
	// bold/color selected link
	setIdProperty(member, 'color', '#a0635e');
	setIdProperty(member, 'fontWeight', 'bold');
	// replace bio
	if (document.all){
		document.all['team_bio'].innerHTML = teamBio[member];
	} else if (document.getElementById){
		document.getElementById('team_bio').innerHTML = teamBio[member];
	}
}
// team array
var teamArray = new Array('bfaber','jhornthal','gpetracek','rpyne','jrattner','cheivly','bshaw','jhyrne');
// bio array
var teamBio = new Array();
	teamBio['bfaber'] = 'Glenn McDougall has been involved in the ownership and management of firms in Ottawa since 1980. He has been a member of several boards and advisory committees including a New Ventures Advisory Board in Cornwall, the Goulbourn Economic Development Commission, the Kingston Technology Council, TravelPod, Algonquin College, the Ottawa Presidents Club, and was a member of the Information Technology Association of Canada (ITAC) Board of Directors. He has twenty years of consulting experience in business and economic development and in strategic technology development in both established and embryonic companies. He has strong project managment skills; he can integrate all aspects of a project, ensure that the proper knowledge and resources are available when and where needed, and above all, ensure that the expected results are produced in a timely, cost-efficient manner. He has extensive international consulting experience including a series of change management workshops in India, several national technology and economic development projects in Trinidad and Tobago, and various other assignments in the United States and India. As Doyletech Managing Partner, he has managed and delivered on projects in various industries including the ICT and technology industries, the economic development and commercialization sectors, and all levels of government. As a project consultant, he has focused on organizational restructuring, investment analysis, participant recruitment and selection, business process re-engineering, and a variety of workshop facilitation activities. He is a founding partner and president of Green Avenue Ventures Inc. (GAVI), an Ottawa-based firm that invests in early-stage technology companies and provides advice to those requiring management and board advisory assistance.';
	teamBio['jhornthal'] = 'As Senior ICT Technical Consultant of Doyletech Corporation, Mery Perry plays a key role in ICT strategic planning and implementation projects, many of which have been in the Caribbean and South America. For the Government of Trinidad and Tobago, he developed a best practices document for deployment of ICT and community access centres across the country which helped to define the national broadband policy. He has also completed several projects for e TecK in Trinidad and Tobago helping to define their near-term and long-term networking requirements, technology and operating practices. For the Trinidad and Tobago Ministry of Public Administration and Information (MPAI), he designed a $9mil wireless mesh network. He is also an expert in the area of public-private partnerships for ICT development in developing economies. Merv Perry also develops quantitative models as part of economic impact assessments; he developed the Doyletech biofuels employment impact model which is now used by APEC member countries for policy planning purposes and, for Boeing, he developed a model assessing employment from IRB procurements.';
	teamBio['gpetracek'] = 'Jeffrey Doyle has a diversified consulting and research background. He has conducted primary and secondary research for economic development agencies, technology start-ups, multinationals, incubators and business parks, federal and provincial research laboratories, trade associations, land developers, homebuilders, commercial real state development companies, provincial and federal government departments and crown corporations, transportation firms, and hotel chains. These programs have included statistical analysis and forecasting, focus groups, structured in-person interviews using survey questionnaires, non-structured in-person interviews, intercept and exit interviews, web-based survey programs, gap analyses, mystery shopping, and Delphi surveys. He has a strong interest and background in all aspects of research as well as technology transfer and commercialization, economic impact assessment, and economic development. He holds a Bachelor of Commerce (Honours) in Market Research and Economic Geography. Prior to joining Doyletech in 1999, he managed research services for several companies including The Business Consulting Group, the Canadian Research and Consulting Group, Brethour Research Associates, and Royal LePage Commercial Inc. Strategic Advisory Services. He is also a partner in Green Avenue Ventures Inc. (GAVI), an Ottawa-based firm that invests in early-stage technology companies.';
	teamBio['rpyne'] = 'Denzil Doyle has been involved in research and development, sales and marketing, corporate management, angel and venture capital investing across Canada. He was the founding president of Digital Equipment Canada and during the eighteen years that he directed it, it evolved into a multi-faceted company with annual sales in excess of 160 million dollars. Following that career, he established Doyletech Corporation in 1982 for the purpose of assisting Canadian enterprises (both private and public) in the building of a stronger high technology indusry in Canada. In 1982, he also co-founded Instantel Inc., a supplier of electronic instrumentation. From 1995 to 2005, as Chairman of Capital Alliance Ventures Inc., an Ottawa-based venture capital firm, he led investments in technology companies in Ottawa and elsewhere in Ontario. He has served on the board of directors of Med-Eng Systems, Newbridge Networks, Mitel, Leigh Instruments, GEAC Computer, Cadabra Design Libraries, TalentMap, Rockcliffe Research, BTI Bubble Technologies, CAL Corporation, West End Systems, Mobile Data International, Instantel Incorporated, Gennum Corporation, International Datacasting Corporation, Vitana, among many others. In recognition of his pioneering efforts in the development of the Ottawa-Gatineau technology community, he received an Honorary Doctorate of Engineering from Carleton University at its 1981 spring convocation. In 2001, he was granted fellowship in the Engineering Institute of Canada. In 2002, he was awared the Lifetime Achievement Award for Innovation at the NRC Regional Innovation Awards. In 2005, he was invested as an Officer of the Order of Canada.';
	teamBio['jrattner'] = 'With more than thirty years of consulting and policy experience, Rick Clayton is a recognized Canadian expert in economic impact assessment, policy evaluation, and industrial/industry analysis. As Doyletech Partner in charge of the Economic Impact Assessment and International Economic Development Practice, he has conducted assignments across Canada, the United States, India, Asia, South America, and the Caribbean. Previously, he was a prinicpal consultant at IBM Canada and before that at PricewaterhouseCoopers Consulting and prior to that the Nordicity Group. Before becoming a consultant, he developed science and industrial policy at the Ministry of State for Science and Technology (MOSST), Industry Canada, and the former Science Council of Canada. In 1989, at the late Science Council of Canada, he was the very first public servant to apply the "Porter Methodology" to the Canadian economy (for an analysis of the steel industry). This was the first time that the expression "industrial clustering" appeared in Canadian public policy research. Recently, he completed the first-ever economic impact assessment on all operating biofuels facilities across Canada, and developed a go-forward strategy for the Northern Ontario mining supply and services sector. He has a M.A. from the Carleton University School of International Affairs and a B.A. from the University of Manitoba. He is fully bilingual (written and spoken).';
	teamBio['cheivly'] = 'As Entrepreneur-in-Residence for Doyletech Corporation, Neil Knudsen plays a key role in technology, management, and business evaluations. He has also been called apon to lead several industry validation activities given his strong workshop management skills. Such facilitation has occurred for recent roadmapping exercises for Boeing, Autoskill International, the Canadian Printing Sector Council, the Sustainable Housing Roadmapping Steering Committee, the Information and Communications Technology Council, the Canadian Space Agency, and the Electric Vehicle Roadmap. Neil Knudsen is a proven senior executive with twenty-five years experience in the technology sector. A business leader with exposure to annual revenues ranging from $2mil to $1bn, he melds a large company discipline with the flexibility needed to make small and medium sized enterprises succeed. As a consultant, he advises companies and government departments on product and market evolution, internal change management, and long term strategic planning. Previously, he was the President of Vistar Communications, a $20-million manufacturer and service provider of global satellite-based communication systems, and before that, he was the President of the Network Access Division of Spirent Communications, a $1 billion communications test equipment manufacturer.';
	teamBio['bshaw'] = 'As Chief Technology Strategist of Doyletech Corporation, Dennis Senik leads and/or develops S&T evaluations, technology roadmaps, facilitation and survey programs, and R&D analysis. His recent work has included several national technology roadmaps for Canadian public sector groups such as the wireless roadmap for the Information and Communications Technology Council of Canada, and the printing industries roadmap for the Canadian Printing Industries Council, as well as the electric vehicle roadmap for Natural Resources Canada. He also completed a recent business case for the Canadian Space Agency which examined how the proposed billion-dollar investment by the federal government could translate into economic benefits. He has developed his own proprietary models and techniques for assessing how new technologies lead to new products and markets. These tools are helpful not only for technology roadmapping assignments but also for industrial analysis. Previously, while a director at the Centre for Technological Initiative (CITec) in Montreal, he led a major regional economic development initiative founded by the Chairman of BCE and the Principals of six Montreal-area universities. He led this industry-university-government initiative to plan and realize the largest-ever strategic analysis of the Montreal science and technology base. He chaired the subsequent four-year effort to implement the findings and recommendations of the strategy. He is a Professional Engineer (Queens) and an MBA graduate (McGill). He is fully bilingual (written and spoken).';
	teamBio['jhyrne'] = 'Christine Clayton has fifteen years of consulting experience in the areas of program management, change management, and communications. She is engaged in business process re-engineering and change management assignments for Doyletech Corporation. Her prior experience included six years with PricewaterhouseCoopers/IBM Consulting working with the Federal Public Sector, followed by two years managing a national investment campaign for the British Government. She has excellent project and people management skills, is a trained facilitator, and is very strong at building and maintaining stakeholder endorsement and consensus. Christine Clayton recently led a comprehensive global change management program for one of the leading oil and gas producers in support of a worldwide system implementation to enable consistent and efficient operations. For a large multinational financial institution that was undergoing a major divestiture, she was responsible for managing all global communications and change efforts related to the divestiture.';

