var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998402&x=5927',
		'title': '',
		'imageId': '70998402',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998401&x=5927',
		'title': '',
		'imageId': '70998401',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998403&x=5927',
		'title': '',
		'imageId': '70998403',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998404&x=5927',
		'title': '',
		'imageId': '70998404',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998407&x=5927',
		'title': '',
		'imageId': '70998407',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998405&x=5927',
		'title': '',
		'imageId': '70998405',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998409&x=5927',
		'title': '',
		'imageId': '70998409',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998406&x=5927',
		'title': '',
		'imageId': '70998406',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998410&x=5927',
		'title': '',
		'imageId': '70998410',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998414&x=5927',
		'title': '',
		'imageId': '70998414',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998408&x=5927',
		'title': '',
		'imageId': '70998408',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998417&x=5927',
		'title': '',
		'imageId': '70998417',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998420&x=5927',
		'title': '',
		'imageId': '70998420',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998422&x=5927',
		'title': '',
		'imageId': '70998422',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998411&x=5927',
		'title': '',
		'imageId': '70998411',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998421&x=5927',
		'title': '',
		'imageId': '70998421',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998412&x=5927',
		'title': '',
		'imageId': '70998412',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998424&x=5927',
		'title': '',
		'imageId': '70998424',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998413&x=5927',
		'title': '',
		'imageId': '70998413',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998425&x=5927',
		'title': '',
		'imageId': '70998425',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998428&x=5927',
		'title': '',
		'imageId': '70998428',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998415&x=5927',
		'title': '',
		'imageId': '70998415',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998416&x=5927',
		'title': '',
		'imageId': '70998416',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998418&x=5927',
		'title': '',
		'imageId': '70998418',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998419&x=5927',
		'title': '',
		'imageId': '70998419',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998423&x=5927',
		'title': '',
		'imageId': '70998423',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998426&x=5927',
		'title': '',
		'imageId': '70998426',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050101&docid=70998427&x=5927',
		'title': '',
		'imageId': '70998427',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4050101';

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