var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123413&x=3823',
		'title': '',
		'imageId': '71123413',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123400&x=3823',
		'title': '',
		'imageId': '71123400',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123420&x=3823',
		'title': '',
		'imageId': '71123420',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123418&x=3823',
		'title': '',
		'imageId': '71123418',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123405&x=3823',
		'title': '',
		'imageId': '71123405',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123407&x=3823',
		'title': '',
		'imageId': '71123407',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123422&x=3823',
		'title': '',
		'imageId': '71123422',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123417&x=3823',
		'title': '',
		'imageId': '71123417',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123426&x=3823',
		'title': '',
		'imageId': '71123426',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123421&x=3823',
		'title': '',
		'imageId': '71123421',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123409&x=3823',
		'title': '',
		'imageId': '71123409',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123402&x=3823',
		'title': '',
		'imageId': '71123402',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123406&x=3823',
		'title': '',
		'imageId': '71123406',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123416&x=3823',
		'title': '',
		'imageId': '71123416',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123410&x=3823',
		'title': '',
		'imageId': '71123410',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123427&x=3823',
		'title': '',
		'imageId': '71123427',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123423&x=3823',
		'title': '',
		'imageId': '71123423',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123403&x=3823',
		'title': '',
		'imageId': '71123403',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123412&x=3823',
		'title': '',
		'imageId': '71123412',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123428&x=3823',
		'title': '',
		'imageId': '71123428',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123424&x=3823',
		'title': '',
		'imageId': '71123424',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123414&x=3823',
		'title': '',
		'imageId': '71123414',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123401&x=3823',
		'title': '',
		'imageId': '71123401',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123408&x=3823',
		'title': '',
		'imageId': '71123408',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123425&x=3823',
		'title': '',
		'imageId': '71123425',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123415&x=3823',
		'title': '',
		'imageId': '71123415',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123419&x=3823',
		'title': '',
		'imageId': '71123419',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123404&x=3823',
		'title': '',
		'imageId': '71123404',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051513&docid=71123411&x=3823',
		'title': '',
		'imageId': '71123411',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4051513';

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";
	})
}
