var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3979797&docid=69256761&x=559',
		'title': '',
		'imageId': '69256761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979797&docid=69256758&x=559',
		'title': '',
		'imageId': '69256758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979797&docid=69256767&x=559',
		'title': '',
		'imageId': '69256767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979797&docid=69256760&x=559',
		'title': '',
		'imageId': '69256760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979797&docid=69256763&x=559',
		'title': '',
		'imageId': '69256763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979797&docid=69256766&x=559',
		'title': '',
		'imageId': '69256766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979797&docid=69256762&x=559',
		'title': '',
		'imageId': '69256762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979797&docid=69256764&x=559',
		'title': '',
		'imageId': '69256764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979797&docid=69256765&x=559',
		'title': '',
		'imageId': '69256765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979797&docid=69256759&x=559',
		'title': '',
		'imageId': '69256759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3979797';

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