var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3913602&docid=67727972&x=3525',
		'title': '',
		'imageId': '67727972',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913602&docid=67727973&x=3525',
		'title': '',
		'imageId': '67727973',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913602&docid=67727974&x=3525',
		'title': '',
		'imageId': '67727974',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913602&docid=67727975&x=3525',
		'title': '',
		'imageId': '67727975',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913602&docid=67727976&x=3525',
		'title': '',
		'imageId': '67727976',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913602&docid=67727977&x=3525',
		'title': '',
		'imageId': '67727977',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913602&docid=67727978&x=3525',
		'title': '',
		'imageId': '67727978',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913602&docid=67727979&x=3525',
		'title': '',
		'imageId': '67727979',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913602&docid=67727980&x=3525',
		'title': '',
		'imageId': '67727980',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913602&docid=67727982&x=3525',
		'title': '',
		'imageId': '67727982',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913602&docid=67727981&x=3525',
		'title': '',
		'imageId': '67727981',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3913602';

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