var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970398&docid=69028333&x=2337',
		'title': '',
		'imageId': '69028333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970398&docid=69028331&x=2337',
		'title': '',
		'imageId': '69028331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970398&docid=69028330&x=2337',
		'title': '',
		'imageId': '69028330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970398&docid=69028328&x=2337',
		'title': '',
		'imageId': '69028328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970398&docid=69028334&x=2337',
		'title': '',
		'imageId': '69028334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970398&docid=69028329&x=2337',
		'title': '',
		'imageId': '69028329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970398&docid=69028332&x=2337',
		'title': '',
		'imageId': '69028332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970398&docid=69028335&x=2337',
		'title': '',
		'imageId': '69028335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970398&docid=69028336&x=2337',
		'title': '',
		'imageId': '69028336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970398&docid=69105011&x=2337',
		'title': '',
		'imageId': '69105011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970398';

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