﻿

 function closeLightviewWindow()
 {
  Lightview.hide();
 }
 
 function showBikeProfile(bikeId)
 {
 var link = 'BikeProfile.aspx?bikeID='+ bikeId;
 Lightview.show({
		href: link,
		rel: 'iframe',
		title: '',
		options: 
			{
			    fullscreen:true,
			    scrolling:true, 
			    topclose: false
				
			}
	}
	);
 }
 
  function showEvent(eventID)
 {
 var link = 'EventProfile.aspx?eventID='+ eventID;
 Lightview.show({
		href: link,
		rel: 'iframe',
		title: '',
		options: 
			{
			    fullscreen:false,
			    scrolling:true, 
			    topclose: true, 
			    autosize: true,
				topclose: true,
				width:850, 
			    height:630
				
			}
	}
	);
 }
 
 
 function showResetPassword(userName)
 {
 var link = 'ResetPassword.aspx?user='+ userName;
 Lightview.show({
		href: link,
		rel: 'iframe',
		title: '',
		options: 
			{
			    fullscreen:false,
			    scrolling:true, 
			    topclose: true, 
			    autosize: true,
				topclose: true,
				width: 350, 
				height: 110
		    }
	}
	);
 }
