var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974473&docid=68845392&x=2536',
		'title': '',
		'imageId': '68845392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974473&docid=68845393&x=2536',
		'title': '',
		'imageId': '68845393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974473&docid=68845387&x=2536',
		'title': '',
		'imageId': '68845387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974473&docid=68845391&x=2536',
		'title': '',
		'imageId': '68845391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974473&docid=68845384&x=2536',
		'title': '',
		'imageId': '68845384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974473&docid=68845388&x=2536',
		'title': '',
		'imageId': '68845388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974473&docid=68845389&x=2536',
		'title': '',
		'imageId': '68845389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974473&docid=68845390&x=2536',
		'title': '',
		'imageId': '68845390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974473&docid=68845386&x=2536',
		'title': '',
		'imageId': '68845386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974473&docid=68845385&x=2536',
		'title': '',
		'imageId': '68845385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974473';

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