var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3937849&docid=68316834&x=580',
		'title': '',
		'imageId': '68316834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937849&docid=68316820&x=580',
		'title': '',
		'imageId': '68316820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937849&docid=68316810&x=580',
		'title': '',
		'imageId': '68316810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937849&docid=68316813&x=580',
		'title': '',
		'imageId': '68316813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937849&docid=68316832&x=580',
		'title': '',
		'imageId': '68316832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937849&docid=68316812&x=580',
		'title': '',
		'imageId': '68316812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937849&docid=68316816&x=580',
		'title': '',
		'imageId': '68316816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937849&docid=68316811&x=580',
		'title': '',
		'imageId': '68316811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937849&docid=68316815&x=580',
		'title': '',
		'imageId': '68316815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937849&docid=68316817&x=580',
		'title': '',
		'imageId': '68316817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937849&docid=68316814&x=580',
		'title': '',
		'imageId': '68316814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937849&docid=68316818&x=580',
		'title': '',
		'imageId': '68316818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937849&docid=68316822&x=580',
		'title': '',
		'imageId': '68316822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937849&docid=68316823&x=580',
		'title': '',
		'imageId': '68316823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937849&docid=68316819&x=580',
		'title': '',
		'imageId': '68316819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937849&docid=68316821&x=580',
		'title': '',
		'imageId': '68316821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937849&docid=68316827&x=580',
		'title': '',
		'imageId': '68316827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937849&docid=68316828&x=580',
		'title': '',
		'imageId': '68316828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937849&docid=68316829&x=580',
		'title': '',
		'imageId': '68316829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937849&docid=68316830&x=580',
		'title': '',
		'imageId': '68316830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937849&docid=68316831&x=580',
		'title': '',
		'imageId': '68316831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937849&docid=68316833&x=580',
		'title': '',
		'imageId': '68316833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3937849';

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