var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3915019&docid=67768244&x=158',
		'title': '',
		'imageId': '67768244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915019&docid=67768243&x=158',
		'title': '',
		'imageId': '67768243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915019&docid=67768240&x=158',
		'title': '',
		'imageId': '67768240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915019&docid=67768242&x=158',
		'title': '',
		'imageId': '67768242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915019&docid=67768246&x=158',
		'title': '',
		'imageId': '67768246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915019&docid=67768248&x=158',
		'title': '',
		'imageId': '67768248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915019&docid=67768247&x=158',
		'title': '',
		'imageId': '67768247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915019&docid=67768249&x=158',
		'title': '',
		'imageId': '67768249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915019&docid=67768241&x=158',
		'title': '',
		'imageId': '67768241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915019&docid=67768245&x=158',
		'title': '',
		'imageId': '67768245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915019&docid=67768239&x=158',
		'title': '',
		'imageId': '67768239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3915019';

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