var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3933673&docid=68221470&x=515',
		'title': '',
		'imageId': '68221470',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933673&docid=68221471&x=515',
		'title': '',
		'imageId': '68221471',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933673&docid=68221472&x=515',
		'title': '',
		'imageId': '68221472',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933673&docid=68221473&x=515',
		'title': '',
		'imageId': '68221473',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933673&docid=68221474&x=515',
		'title': '',
		'imageId': '68221474',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933673&docid=68221475&x=515',
		'title': '',
		'imageId': '68221475',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933673&docid=68221476&x=515',
		'title': '',
		'imageId': '68221476',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933673&docid=68221477&x=515',
		'title': '',
		'imageId': '68221477',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933673&docid=68221478&x=515',
		'title': '',
		'imageId': '68221478',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933673&docid=68221479&x=515',
		'title': '',
		'imageId': '68221479',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933673&docid=68221481&x=515',
		'title': '',
		'imageId': '68221481',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933673&docid=68221482&x=515',
		'title': '',
		'imageId': '68221482',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933673&docid=68221483&x=515',
		'title': '',
		'imageId': '68221483',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933673&docid=68221486&x=515',
		'title': '',
		'imageId': '68221486',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933673&docid=68221487&x=515',
		'title': '',
		'imageId': '68221487',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933673&docid=68221488&x=515',
		'title': '',
		'imageId': '68221488',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933673&docid=68221489&x=515',
		'title': '',
		'imageId': '68221489',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3933673';

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