var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118579&x=033',
		'title': '',
		'imageId': '69118579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118580&x=033',
		'title': '',
		'imageId': '69118580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118581&x=033',
		'title': '',
		'imageId': '69118581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118582&x=033',
		'title': '',
		'imageId': '69118582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118583&x=033',
		'title': '',
		'imageId': '69118583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118584&x=033',
		'title': '',
		'imageId': '69118584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118585&x=033',
		'title': '',
		'imageId': '69118585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118586&x=033',
		'title': '',
		'imageId': '69118586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118587&x=033',
		'title': '',
		'imageId': '69118587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118588&x=033',
		'title': '',
		'imageId': '69118588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118589&x=033',
		'title': '',
		'imageId': '69118589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118590&x=033',
		'title': '',
		'imageId': '69118590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118591&x=033',
		'title': '',
		'imageId': '69118591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118592&x=033',
		'title': '',
		'imageId': '69118592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118593&x=033',
		'title': '',
		'imageId': '69118593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118594&x=033',
		'title': '',
		'imageId': '69118594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118595&x=033',
		'title': '',
		'imageId': '69118595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118596&x=033',
		'title': '',
		'imageId': '69118596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118597&x=033',
		'title': '',
		'imageId': '69118597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118598&x=033',
		'title': '',
		'imageId': '69118598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118599&x=033',
		'title': '',
		'imageId': '69118599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118600&x=033',
		'title': '',
		'imageId': '69118600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973849&docid=69118601&x=033',
		'title': '',
		'imageId': '69118601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973849';

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