var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3935396&docid=68256213&x=1519',
		'title': '',
		'imageId': '68256213',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935396&docid=68256214&x=1519',
		'title': '',
		'imageId': '68256214',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935396&docid=68256215&x=1519',
		'title': '',
		'imageId': '68256215',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935396&docid=68256216&x=1519',
		'title': '',
		'imageId': '68256216',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935396&docid=68256217&x=1519',
		'title': '',
		'imageId': '68256217',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935396&docid=68256218&x=1519',
		'title': '',
		'imageId': '68256218',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935396&docid=68256219&x=1519',
		'title': '',
		'imageId': '68256219',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935396&docid=68256220&x=1519',
		'title': '',
		'imageId': '68256220',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935396&docid=68256221&x=1519',
		'title': '',
		'imageId': '68256221',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935396&docid=68256222&x=1519',
		'title': '',
		'imageId': '68256222',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935396&docid=68256223&x=1519',
		'title': '',
		'imageId': '68256223',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935396&docid=68256224&x=1519',
		'title': '',
		'imageId': '68256224',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935396&docid=68256225&x=1519',
		'title': '',
		'imageId': '68256225',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935396&docid=68256226&x=1519',
		'title': '',
		'imageId': '68256226',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935396&docid=68256227&x=1519',
		'title': '',
		'imageId': '68256227',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935396&docid=68256228&x=1519',
		'title': '',
		'imageId': '68256228',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935396&docid=68256229&x=1519',
		'title': '',
		'imageId': '68256229',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935396&docid=68256230&x=1519',
		'title': '',
		'imageId': '68256230',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935396&docid=68256231&x=1519',
		'title': '',
		'imageId': '68256231',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935396&docid=68594713&x=1519',
		'title': '',
		'imageId': '68594713',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3935396';

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