var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922185&docid=59028793&x=3729',
		'title': '',
		'imageId': '59028793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922185&docid=59028795&x=3729',
		'title': '',
		'imageId': '59028795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922185&docid=59028796&x=3729',
		'title': '',
		'imageId': '59028796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922185&docid=59028797&x=3729',
		'title': '',
		'imageId': '59028797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922185&docid=59028798&x=3729',
		'title': '',
		'imageId': '59028798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922185&docid=59028799&x=3729',
		'title': '',
		'imageId': '59028799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922185&docid=59028800&x=3729',
		'title': '',
		'imageId': '59028800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922185&docid=59028801&x=3729',
		'title': '',
		'imageId': '59028801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922185&docid=59028802&x=3729',
		'title': '',
		'imageId': '59028802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922185&docid=59028803&x=3729',
		'title': '',
		'imageId': '59028803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922185&docid=59028804&x=3729',
		'title': '',
		'imageId': '59028804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922185&docid=59028805&x=3729',
		'title': '',
		'imageId': '59028805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922185&docid=59028806&x=3729',
		'title': '',
		'imageId': '59028806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922185&docid=59028807&x=3729',
		'title': '',
		'imageId': '59028807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922185&docid=59028808&x=3729',
		'title': '',
		'imageId': '59028808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922185&docid=59028809&x=3729',
		'title': '',
		'imageId': '59028809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922185&docid=59028810&x=3729',
		'title': '',
		'imageId': '59028810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922185&docid=59028811&x=3729',
		'title': '',
		'imageId': '59028811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922185&docid=59028812&x=3729',
		'title': '',
		'imageId': '59028812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922185&docid=59028813&x=3729',
		'title': '',
		'imageId': '59028813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922185';

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