var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992275&docid=69539430&x=932',
		'title': '',
		'imageId': '69539430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992275&docid=69539440&x=932',
		'title': '',
		'imageId': '69539440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992275&docid=69539437&x=932',
		'title': '',
		'imageId': '69539437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992275&docid=69539431&x=932',
		'title': '',
		'imageId': '69539431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992275&docid=69539435&x=932',
		'title': '',
		'imageId': '69539435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992275&docid=69539433&x=932',
		'title': '',
		'imageId': '69539433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992275&docid=69539438&x=932',
		'title': '',
		'imageId': '69539438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992275&docid=69539439&x=932',
		'title': '',
		'imageId': '69539439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992275&docid=69539436&x=932',
		'title': '',
		'imageId': '69539436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992275&docid=69539432&x=932',
		'title': '',
		'imageId': '69539432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992275&docid=69539434&x=932',
		'title': '',
		'imageId': '69539434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992275';

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