var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839638&x=2923',
		'title': '',
		'imageId': '69839638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839651&x=2923',
		'title': '',
		'imageId': '69839651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839654&x=2923',
		'title': '',
		'imageId': '69839654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839658&x=2923',
		'title': '',
		'imageId': '69839658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839671&x=2923',
		'title': '',
		'imageId': '69839671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839677&x=2923',
		'title': '',
		'imageId': '69839677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839691&x=2923',
		'title': '',
		'imageId': '69839691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839710&x=2923',
		'title': '',
		'imageId': '69839710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839808&x=2923',
		'title': '',
		'imageId': '69839808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839734&x=2923',
		'title': '',
		'imageId': '69839734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839738&x=2923',
		'title': '',
		'imageId': '69839738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839743&x=2923',
		'title': '',
		'imageId': '69839743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839757&x=2923',
		'title': '',
		'imageId': '69839757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839794&x=2923',
		'title': '',
		'imageId': '69839794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839801&x=2923',
		'title': '',
		'imageId': '69839801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839814&x=2923',
		'title': '',
		'imageId': '69839814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839817&x=2923',
		'title': '',
		'imageId': '69839817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839823&x=2923',
		'title': '',
		'imageId': '69839823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839825&x=2923',
		'title': '',
		'imageId': '69839825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839928&x=2923',
		'title': '',
		'imageId': '69839928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839830&x=2923',
		'title': '',
		'imageId': '69839830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839831&x=2923',
		'title': '',
		'imageId': '69839831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011286&docid=69839836&x=2923',
		'title': 'Note: the 1 (number 1) at the first of the VIN is not showing.',
		'imageId': '69839836',
		'alt' : 'Note: the 1 (number 1) at the first of the VIN is not showing.',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011286';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
